-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
29 lines (29 loc) · 814 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
{
"env": {
"node": true,
"browser": true,
"es6": true,
"jest": true
},
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"plugins": ["unused-imports", "prettier", "react", "jsx-a11y", "import"],
"rules": {
"comma-dangle": ["warn", "always-multiline"],
"no-unused-vars": 1,
"no-unreachable": 1,
"react/jsx-uses-vars": 1,
"react/no-unknown-property": 0,
"react/no-deprecated": 0,
"semi": ["error", "always"],
"semi-spacing": ["error", { "before": false, "after": true }]
},
"ignorePatterns": ["/node_modules/**/*", "/example/**/*"]
}