-
Notifications
You must be signed in to change notification settings - Fork 17
/
.eslintrc.yml
38 lines (33 loc) · 938 Bytes
/
.eslintrc.yml
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
plugins:
- prettier
- sonarjs # https://github.com/SonarSource/eslint-plugin-sonarjs
- standard
- jsx-a11y
extends:
- "plugin:import/errors"
- "plugin:sonarjs/recommended"
- "plugin:jsx-a11y/recommended"
- "standard"
- "standard-jsx"
- "prettier"
env:
browser: true
es6: true
node: true
rules:
react/react-in-jsx-scope: 0
react/jsx-indent: 0 # ignore, handled by prettier
react/jsx-indent-props: 0 # ignore, handled by prettier
react/jsx-closing-bracket-location: 0 # ignore, handled by prettier
react/jsx-curly-newline: 0 # ignore, handled by prettier
no-undef: 0
no-extend-native: 0
parser: babel-eslint
settings:
import/resolver:
alias:
- ["store", "./src/store"]
- ["settings", "./src/settings"]
- ["services", "./src/services"]
- ["utils", "./src/utils"]
- ["ui", "./src/ui"]