-
Notifications
You must be signed in to change notification settings - Fork 383
/
.eslintrc
47 lines (39 loc) · 977 Bytes
/
.eslintrc
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
extends:
- eslint-config-shakacode
- plugin:react/recommended
- plugin:prettier/recommended
- plugin:jsx-a11y/recommended
- prettier
plugins:
- react
- jsx-a11y
- jest
- prettier
globals:
__DEBUG_SERVER_ERRORS__: true
__SERVER_ERRORS__: true
env:
browser: true
node: true
jest: true
rules:
no-shadow: 0
no-console: 0
function-paren-newline: 0
object-curly-newline: 0
no-restricted-syntax: ["error", "SequenceExpression"]
# https://stackoverflow.com/a/59268871/5241481
import/extensions: 0
# https://github.com/benmosher/eslint-plugin-import/issues/340
import/no-extraneous-dependencies: 0
prettier/prettier: "error"
# currently deprecated https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-onchange.md
jsx-a11y/no-onchange: 0
settings:
import/core-modules:
- react-redux
import/resolver:
node:
extensions: [".js"]
webpack:
config: 'config/webpack/development.js'