-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
31 lines (31 loc) · 931 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./packages/*/tsconfig.json'],
},
plugins: ['@typescript-eslint'],
extends: ['prettier', 'next'],
rules: {
'jsx-a11y/click-events-have-key-events': 0,
'jsx-a11y/no-static-element-interactions': 0,
'jsx-a11y/anchor-is-valid': 0,
'jsx-a11y/control-has-associated-label': 0,
'jsx-a11y/role-supports-aria-props': 0,
'jsx-a11y/no-redundant-roles': 0,
'jsx-a11y/anchor-has-content': 0,
'no-plusplus': 0,
'no-nested-ternary': 0,
'no-alert': 0,
'import/no-extraneous-dependencies': 0,
'react/no-array-index-key': 0,
'react/react-in-jsx-scope': 0,
'react/no-unused-prop-types': 0,
'react/require-default-props': 0,
'react/prop-types': 0,
'no-console': 1,
'class-methods-use-this': 0,
'no-restricted-syntax': 0,
},
};