worlabel/frontend/.eslintrc.cjs

12 lines
445 B
JavaScript
Raw Normal View History

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'],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
},
};