um-react/.eslintrc.cjs

19 lines
445 B
JavaScript
Raw Normal View History

2023-05-07 19:11:16 +00:00
/* eslint-env node */
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
2023-05-15 20:04:45 +00:00
'prettier',
2023-05-07 19:11:16 +00:00
],
parser: '@typescript-eslint/parser',
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': 'warn',
},
2023-05-15 20:04:45 +00:00
};