-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
42 lines (42 loc) · 1013 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
39
40
41
42
---
extends: [airbnb, plugin:import/recommended, plugin:mocha/recommended]
root: true
env:
node: true
es6: true
parserOptions:
sourceType: module
ecmaVersion: 2018
plugins: [mocha, import]
globals:
describe: true
it: true
before: true
after: true
beforeEach: true
afterEach: true
rules:
max-len: [1, 200, 2, {"ignoreUrls":true}]
curly: [2, "multi-line"]
comma-dangle: [0, always-multiline]
no-plusplus: 0
eqeqeq: [2, "allow-null"]
global-require: 0
no-shadow: 1
no-param-reassign: [2, { "props": false }]
indent: [2, 4, { "SwitchCase": 1 }]
padded-blocks: [2, { "switches": "always", "classes": "always" }]
quotes:
- 2
- single
- allowTemplateLiterals: true
no-underscore-dangle: ["error", { "allow": ["_id"] }]
import/no-extraneous-dependencies: ["error", { devDependencies: ['app/test/**']}]
no-await-in-loop: off
mocha/no-mocha-arrows: [0]
mocha/no-hooks-for-single-case: [0]
settings:
import/resolver:
node:
paths:
- app/src