-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yml
41 lines (41 loc) · 877 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
root: true
env:
es2022: true
node: true
# parser: '@babel/eslint-parser'
parserOptions:
ecmaVersion: 13
sourceType: module
extends:
- xo
- plugin:unicorn/recommended
rules:
indent: [error, tab]
linebreak-style: [error, unix]
quotes: [error, single]
semi: [error, never]
semi-spacing:
- error
-
before: false
after: true
no-console: off
no-debugger: off
no-unused-expressions:
- error
-
allowShortCircuit: true
allowTernary: true
allowTaggedTemplates: true
camelcase: off
capitalized-comments: off
spaced-comment: off
padding-line-between-statements: off
no-undef-init: off
unicorn/filename-case: off
unicorn/prevent-abbreviations: off
unicorn/no-reduce: off
unicorn/no-array-reduce: off
# unicorn/no-abusive-eslint-disable: off
# Bug no ctx.body Koa
require-atomic-updates: off