nimbus-gui/.eslintrc.cjs

16 lines
450 B
JavaScript
Raw Normal View History

2023-07-13 11:09:45 +00:00
module.exports = {
2023-08-03 06:20:54 +00:00
root: true,
env: {
browser: true,
es2020: true
},
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended', 'plugin:storybook/recommended'],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
2023-07-13 11:09:45 +00:00
plugins: ['react-refresh'],
rules: {
2023-08-03 06:20:54 +00:00
'react-refresh/only-export-components': ['warn', {
allowConstantExport: true
}]
}
};