worlabel/frontend/.eslintrc.cjs

18 lines
470 B
JavaScript
Raw Permalink Normal View History

module.exports = {
root: true,
env: { browser: true, es2020: true },
2024-08-27 09:46:39 +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 }],
},
};