This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
forked from cabify/better-crowdin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
53 lines (53 loc) · 1.42 KB
/
.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
48
49
50
51
52
53
{
"env": {
"browser": true,
"node": true,
"jest/globals": true
},
"plugins": ["jest", "prettier"],
"extends": [
"airbnb",
"plugin:jest/recommended",
"plugin:prettier/recommended"
],
"rules": {
"no-unused-vars": ["error"],
"react/jsx-filename-extension": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"jsx-a11y/no-noninteractive-tabindex": 0,
"jsx-a11y/no-static-element-interactions": 0,
"arrow-parens": 0,
"class-methods-use-this": 0,
"no-mixed-operators": 0,
"no-plusplus": 0,
"no-extra-boolean-cast": 0,
"react/jsx-closing-bracket-location": 0,
"react/jsx-curly-spacing": 0,
"react/jsx-equals-spacing": 0,
"react/jsx-first-prop-new-line": 0,
"react/jsx-indent": 0,
"react/jsx-indent-props": 0,
"react/jsx-max-props-per-line": 0,
"react/jsx-tag-spacing": 0,
"react/jsx-wrap-multilines": 0,
"prefer-destructuring": 1,
"jsx-a11y/anchor-is-valid": 1,
"react/no-unused-state": 1,
"react/default-props-match-prop-types": 1,
"no-restricted-globals": 1,
"jsx-a11y/click-events-have-key-events": 0,
"react/jsx-closing-tag-location": 1,
"jsx-a11y/label-has-for": 1,
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"jest/setup.js",
"**/testSetup.js",
"rollupConfigBase.js",
"test/**/*.js"
]
}
]
}
}