-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
63 lines (52 loc) · 998 Bytes
/
.eslintrc
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
52
53
54
55
56
57
58
59
60
61
62
63
# yaml-language-server: $schema=https://json.schemastore.org/eslintrc.json
---
env:
browser: false
node: true
es2021: true
nova/nova: true
parserOptions:
ecmaVersion: latest
sourceType: module
extends: "eslint:recommended"
plugins:
- nova
ignorePatterns:
- "**/node_modules/*"
- "**/*.dist.js"
- "**/*.json"
- "**/*.md"
rules:
indent:
- error
- 4
- SwitchCase: 1
ignoreComments: true
linebreak-style:
- error
- unix
quotes:
- error
- double
- avoidEscape: true
semi:
- error
- always
no-promise-executor-return: warn
no-async-promise-executor: warn
arrow-parens:
- warn
- as-needed
array-element-newline:
- warn
- consistent
comma-dangle:
- warn
- never
computed-property-spacing:
- error
- never
no-unused-vars: off
array-bracket-spacing: off
no-empty: off
no-useless-escape: off