-
Notifications
You must be signed in to change notification settings - Fork 42
/
.eslintrc.yaml
54 lines (54 loc) · 1.46 KB
/
.eslintrc.yaml
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
54
parser: babel-eslint
extends: airbnb
rules:
eqeqeq: ['error', 'allow-null']
no-unused-expressions:
- error
- allowShortCircuit: true
no-use-before-define: off
no-multi-spaces: off
no-nested-ternary: off
no-cond-assign: ['error', 'except-parens']
no-underscore-dangle: off
comma-dangle:
- error
- arrays: always-multiline
objects: always-multiline
imports: always-multiline
exports: always-multiline
functions: ignore
no-plusplus:
- error
- allowForLoopAfterthoughts: true
no-continue: off
key-spacing:
- warn
- beforeColon: false
afterColon: true
mode: 'minimum'
object-property-newline: off
class-methods-use-this: off
arrow-parens: ['error', 'always']
react/sort-comp: off
react/jsx-first-prop-new-line: off
react/jsx-indent: off
react/jsx-indent-props: off
react/jsx-closing-bracket-location: off
react/jsx-filename-extension: off
react/jsx-wrap-multilines: off
react/jsx-max-props-per-line: off
react/forbid-prop-types: off
react/prop-types: off
react/require-extension: off
react/require-default-props: off
import/no-extraneous-dependencies:
- error
- devDependencies: true
peerDependencies: true
optionalDependencies: false
import/prefer-default-export: off
jsx-a11y/no-static-element-interactions: off
jsx-a11y/href-no-hash: off
jsx-a11y/label-has-for: off
globals:
chrome: false