snowballtools-base/packages/frontend/.eslintrc.cjs

20 lines
473 B
JavaScript
Raw Normal View History

2024-04-11 21:40:22 +00:00
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
2024-05-06 20:16:29 +00:00
'plugin:storybook/recommended',
2024-04-11 21:40:22 +00:00
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
2024-04-11 23:10:39 +00:00
};