-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.js
31 lines (31 loc) · 907 Bytes
/
.eslintrc.js
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
// eslint-disable-next-line no-undef
module.exports = {
root: true,
extends: ["eslint:recommended"],
plugins: ["@typescript-eslint"],
rules: {
"no-console": "error",
"no-debugger": "error",
"indent": ["error", 4],
"max-len": ["warn", { "code": 120 }],
"object-curly-spacing": ["error", "always"],
"quotes": ["error", "double"],
"space-before-function-paren": ["error", "never"],
"no-inner-declarations": "off",
"brace-style": ["error", "1tbs"],
"keyword-spacing": "error",
"no-async-promise-executor": "off",
"require-atomic-updates": "off",
"no-unused-vars": "off"
},
parser: "@typescript-eslint/parser",
parserOptions: {
"ecmaVersion": 6,
"sourceType": "module",
},
env: {
"browser": true,
"node": true,
"jest": true
}
}