-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.eslintrc.js
74 lines (73 loc) · 1.94 KB
/
.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
module.exports = {
env: {
browser: true,
es6: true,
node: true,
'jest/globals': true,
'cypress/globals': true,
},
extends: [
'@ridi/eslint-config/react',
'@ridi/eslint-config/typescript',
'plugin:jsx-a11y/recommended',
'plugin:import/errors',
'plugin:import/typescript',
'plugin:cypress/recommended',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
plugins: [
'jest',
'cypress',
],
rules: {
camelcase: 0,
'class-methods-use-this': 0,
'require-unicode-regexp': 0,
'max-len': 0,
'no-useless-concat': 0,
'no-plusplus': 0,
'no-param-reassign': 0,
'no-restricted-globals': 0,
'no-underscore-dangle': 0,
'no-useless-constructor': 0,
'no-unused-expressions': 0,
'consistent-return': 0,
'import/prefer-default-export': 0,
'import/no-cycle': 0,
'import/no-named-as-default': 0,
'import/no-extraneous-dependencies': 0,
'react/destructuring-assignment': 0,
'react/prop-types': 0,
'react/state-in-constructor': 0,
'react/no-array-index-key': 0,
'react/button-has-type': 0,
'react/jsx-props-no-spreading': 0,
'react/react-in-jsx-scope': 0,
'react/jsx-pascal-case': 0,
'react/jsx-no-target-blank': 0,
'react-hooks/exhaustive-deps': 0,
'jsx-a11y/anchor-is-valid': 0,
'jsx-a11y/label-has-associated-control': 0,
'@typescript-eslint/camelcase': 0,
'@typescript-eslint/require-await': 0,
'@typescript-eslint/ban-ts-ignore': 0,
'@typescript-eslint/no-var-requires': 0,
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/unbound-method': 0,
'@typescript-eslint/prefer-regexp-exec': 0,
'@typescript-eslint/await-thenable': 0,
'@typescript-eslint/explicit-function-return-type': 0,
'import/extensions': [1, {
ts: 'never',
tsx: 'never',
}],
},
settings: {
'import/resolver': {
'babel-module': {},
},
},
};