forked from internetarchive/dweb-transports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
51 lines (51 loc) · 1.34 KB
/
.eslintrc.json
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
{
"env": {
"browser": true,
"jest/globals": true
},
"extends": "airbnb",
"plugins": [
"babel",
"eslint-plugin-import",
"eslint-plugin-react",
"jest",
"jsx-a11y"
],
"rules": {
"arrow-parens": 0,
"babel/semi": 2,
"camelcase": 0,
"class-methods-use-this": 0,
"comma-dangle": 0,
"import/no-extraneous-dependencies": [
"error", {
"devDependencies": ["**/*.test.js", "**/*.stories.js"],
"optionalDependencies": false,
"peerDependencies": false
}
],
"jsx-a11y/label-has-for": 0,
"jsx-a11y/label-has-associated-control": 2,
"max-len": 1,
"no-else-return": 0,
"no-multi-assign": 0,
"no-multi-spaces": 0,
"no-nested-ternary": 1,
"no-param-reassign": 1,
"no-return-assign": 1,
"no-plusplus": 0,
"no-underscore-dangle": 0,
"object-property-newline": 1,
"prefer-destructuring": 0,
"prefer-object-spread": 0,
"prefer-template": 0,
"quote-props": 1,
"react/jsx-filename-extension": [
1, {
"extensions": [".js", ".jsx"]
}
],
"react/prefer-stateless-function": 1,
"semi": 2
}
}