forked from jacekwasowski/licenses-list-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
29 lines (29 loc) · 839 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
extends: airbnb-base
env:
node: true
jest: true
es6: true
plugins:
- unicorn
rules:
arrow-body-style: [2, 'as-needed']
handle-callback-err: 2
no-console: 2
no-multiple-empty-lines: [2, { max: 2, maxEOF: 1, maxBOF: 0 }]
no-param-reassign: 2
no-path-concat: 2
no-underscore-dangle: [2, { allow: ['__Rewire__', '__ResetDependency__', '__GetDependency__'] }]
unicorn/catch-error-name: [2, { name: err }]
unicorn/explicit-length-check: 2
unicorn/filename-case: [2, { case: kebabCase }]
unicorn/no-abusive-eslint-disable: 2
unicorn/no-process-exit: 2
unicorn/throw-new-error: 2
unicorn/number-literal-case: 2
unicorn/escape-case: 2
unicorn/no-array-instanceof: 2
unicorn/no-new-buffer: 2
unicorn/custom-error-definition: 2
unicorn/prefer-starts-ends-with: 2
unicorn/prefer-type-error: 2
yoda: 2