-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (32 loc) · 618 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
{
"env": {
"node": true,
"es6": true
},
"extends": [
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"ignorePatterns": [
".github/**/*",
".vscode/**/*",
"node_modules/**/*",
"tests/**/*",
"tmp/**/*",
".editorconfig",
".gitignore",
".npmignore",
".nvmrc",
"package-lock.json",
"README.md"
],
"rules": {
"indent": ["error", "tab", { "SwitchCase": 1 }],
"eol-last": ["error", "always"],
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"no-console": ["error", { "allow": ["info", "warn", "error", "clear"] }]
}
}