-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc.yml
33 lines (28 loc) · 821 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
---
root: true
parserOptions:
ecmaVersion: 2019
env:
node: true
es6: true
jest: true
plugins:
- 'jsdoc'
- 'node'
extends:
- 'xo-space'
- 'plugin:jsdoc/recommended'
- 'plugin:node/recommended'
rules:
array-element-newline: off
capitalized-comments: off
curly: ['error', 'multi-line']
comma-dangle: ['error', 'never']
object-curly-spacing: ['error', 'always']
operator-linebreak: ['error', 'after']
no-multiple-empty-lines: ['error', { max: 2, maxEOF: 1, maxBOF: 0 }]
no-negated-condition: off
keyword-spacing: ['error', { overrides: { if: { after: false }, for: { after: false }, while: { after: false }, catch: { after: false } } }]
jsdoc/newline-after-description: off
node/no-unsupported-features/es-syntax: ['error', { version: '>=10.0.0' }]
node/no-missing-require: off