diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-07-22 04:44:31 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-07-22 04:44:31 +0900 |
| commit | 14bbc483fdb338c8e55e77f267ecf0d51415549b (patch) | |
| tree | 6e9130c2c1f76da25c825090bb59220ecf60d971 /frontend/.eslintrc.cjs | |
| parent | d3107cdf9bafbebc4a9cdd6ab91869f8086b3246 (diff) | |
| download | phperkaigi-2025-albatross-14bbc483fdb338c8e55e77f267ecf0d51415549b.tar.gz phperkaigi-2025-albatross-14bbc483fdb338c8e55e77f267ecf0d51415549b.tar.zst phperkaigi-2025-albatross-14bbc483fdb338c8e55e77f267ecf0d51415549b.zip | |
prettier
Diffstat (limited to 'frontend/.eslintrc.cjs')
| -rw-r--r-- | frontend/.eslintrc.cjs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/frontend/.eslintrc.cjs b/frontend/.eslintrc.cjs index d6c9537..6e8698b 100644 --- a/frontend/.eslintrc.cjs +++ b/frontend/.eslintrc.cjs @@ -2,17 +2,17 @@ module.exports = { root: true, env: { browser: true, es2020: true }, extends: [ - 'eslint:recommended', - 'plugin:@typescript-eslint/recommended', - 'plugin:react-hooks/recommended', + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "plugin:react-hooks/recommended", ], - ignorePatterns: ['dist', '.eslintrc.cjs'], - parser: '@typescript-eslint/parser', - plugins: ['react-refresh'], + ignorePatterns: ["dist", ".eslintrc.cjs"], + parser: "@typescript-eslint/parser", + plugins: ["react-refresh"], rules: { - 'react-refresh/only-export-components': [ - 'warn', + "react-refresh/only-export-components": [ + "warn", { allowConstantExport: true }, ], }, -} +}; |
