forked from equinor/webviz-archived
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
51 lines (50 loc) · 1.06 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
---
extends:
- "airbnb-base"
env:
mocha: true
browser: true
parser: "babel-eslint"
plugins:
- "chai-expect"
settings:
import/resolver:
node:
extensions:
- ".js"
moduleDirectory:
- "src"
- "node_modules"
rules:
indent:
- "warn"
- 4
- SwitchCase: 1
max-len:
- "warn"
- "code": 120
no-underscore-dangle: "off"
semi:
- "warn"
- "never"
class-methods-use-this: 0
import/no-extraneous-dependencies:
- "warn":
packageDir: "./"
linebreak-style: 0
import/no-named-as-default: 0
arrow-parens: "off"
no-param-reassign: 0
no-plusplus: 1
no-unused-vars:
- "warn"
- "vars": "all"
"args": "after-used"
"ignoreRestSiblings": false
overrides:
files: '*.spec.js'
rules:
no-unused-expressions: 'off'
chai-expect/missing-assertion: 2
chai-expect/terminating-properties: 1
chai-expect/no-inner-compare: 1