12345678910111213141516171819202122232425262728293031323334 |
- module.exports = {
- env: {
- es6: true
- },
- globals: {
- Atomics: 'readonly',
- SharedArrayBuffer: 'readonly'
- },
- parser: '@typescript-eslint/parser',
- parserOptions: {
- ecmaFeatures: {
- jsx: true
- },
- ecmaVersion: 2019,
- sourceType: 'module'
- },
- extends: [
- 'plugin:react/recommended',
- 'standard',
- 'plugin:jsx-a11y/recommended',
- // Disable eslint formatting related es-linting rules
- 'plugin:prettier/recommended',
- 'prettier/react',
- 'prettier/standard'
- ],
- plugins: ['react', 'react-hooks'],
- rules: {
- 'react-hooks/rules-of-hooks': 'error',
- 'react-hooks/exhaustive-deps': 'warn'
- },
- settings: {
- version: 'detect'
- }
- }
|