-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
32 lines (32 loc) · 909 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
32
module.exports = {
extends: 'get-off-my-lawn',
rules: {
'react/prop-types': 0,
'react/jsx-sort-props': 0,
'react/jsx-no-literals': 0,
'react/display-name': 0,
'react/no-unescaped-entities': 0,
'sort-keys': 0,
'objects/no-object-properties-one-line': 0,
'node/no-unpublished-require': 0,
'no-await-in-loop': 0,
'require-await': 0,
camelcase: 0,
'default-case': 0,
'require-unicode-regexp': 0,
'no-nested-ternary': 0,
'no-alert': 0,
'jsx-a11y/anchor-is-valid': ['error', {
'components': ['Link'],
'specialLink': ['hrefLeft', 'hrefRight'],
'aspects': ['invalidHref', 'preferButton']
}]
},
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
ecmaFeatures: {
jsx: true
}
}
};