-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc.js
42 lines (40 loc) · 1.08 KB
/
.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
32
33
34
35
36
37
38
39
40
41
42
/* !minOnSave */
/* global module */
module.exports = {
root: true,
parserOptions: {
project: ["./tsconfig.json"]
},
plugins: [
"@typescript-eslint"
],
extends: "standard-with-typescript",
rules: {
"no-multiple-empty-lines": ["error", {
max: 2,
maxEOF: 1
}],
"no-prototype-builtins": "off",
"padded-blocks": "off",
quotes: ["error", "double"],
semi: ["error", "always"],
"quote-props": ["error", "always"],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/member-delimiter-style": ["error", {
multiline: {
delimiter: "semi",
requireLast: true
},
singleline: {
delimiter: "semi",
requireLast: false
}
}],
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/semi": ["error", "always"],
"@typescript-eslint/space-before-function-paren": ["error", "never"],
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/quotes": ["error", "double"]
}
};