Debian Codegraph @

.eslintrc

raw
1 parser: "@babel/eslint-parser"
2 // parserOptions:
3 // requireConfigFile: false
4 extends:
5 - airbnb
6 - prettier
7
8 rules:
9 max-len: [0, 100]
10 no-constant-condition: 0
11 arrow-body-style: [1, "as-needed"]
12 padded-blocks: [0, "never"]
13 no-unused-vars: [2, {vars: all, args: none}]
14 prefer-arrow-callback: 1
15 no-plusplus: 0
16 no-param-reassign: 0
17 no-unused-expressions: 1
18 import/extensions: 0
19 comma-dangle: 0
20 prefer-destructuring: 0
21 default-param-last: 0
22 prefer-spread: 0
23 no-continue: 0
24 no-constructor-return: 0
25 consistent-return: 0
26 no-nested-ternary: 0
27 react/prop-types:
28 - 0
29 - ignore: #coming from hoc
30 - location
31 - fields
32 - handleSubmit
33
34 globals:
35 expect: true
36 describe: true
37 it: true
38 before: true
39 beforeEach: true
40 after: true
41 window: true
42 sinon: true