macmeals / todo_context_typescript

TodoリストのTypeScript化
0 stars 0 forks source link

各コンポーネントのtypeの名前がキャメルケースになっているものをパスカルケースに修正しました。 #16

Closed macmeals closed 2 years ago

macmeals commented 2 years ago

Issue

型定義の命名規則について#6

内容

❶パスカルケースになっていないTypeの名前をEslintで検出するため、.eslintrc.jsonに以下のルールを追加。 変更したファイル 「.eslintrc.json」 "rules": { // Typeはパスカルケースでないとエラーを出す。 "@typescript-eslint/naming-convention": [ "error", { "selector": "typeAlias", "format": ["PascalCase"] } ] }

❷以下のComponetの中にあったキャメルケースの(パスカルケースになっていない)Typeの名前をパスカルケースに変更

macmeals commented 2 years ago

グッドルッキングな猫のLGTM &ご確認ありがとうございます〜こちらでマージしますね!