2024-08-26 15:24:13 +09:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: { browser: true, es2020: true },
|
2024-08-26 16:54:45 +09:00
|
|
|
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended', 'prettier', 'plugin:storybook/recommended'],
|
2024-08-26 15:24:13 +09:00
|
|
|
ignorePatterns: ['dist', '.eslintrc.cjs'],
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
plugins: ['react-refresh'],
|
|
|
|
rules: {
|
|
|
|
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
|
|
|
|
},
|
|
|
|
};
|