-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
43 lines (43 loc) · 1.02 KB
/
.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
{
ignorePatterns: ["node_modules/"],
parserOptions: {
ecmaVersion: 12,
sourceType: "module",
ecmaFeatures: {}
},
extends: ["standard"],
parser: "@typescript-eslint/parser",
overrides: [
{
files: ["*.spec.ts"],
rules: {
"no-unused-expressions": "off"
}
}
],
rules: {
indent: ["error", 4],
quotes: ["error", "double", { allowTemplateLiterals: true }],
semi: [0, "always"],
camelcase: [0, {properties: "never", ignoreDestructuring: true}],
"no-unused-vars": "off",
"no-use-before-define": "off",
"no-useless-constructor": "off",
"no-prototype-builtins": "off"
},
plugins: [
"@typescript-eslint"
],
env: {
node: true,
es6: true
},
globals: {
jest: "writable",
expect: "writable",
describe: "writable",
beforeEach: "writable",
afterEach: "writable",
it: "writable"
},
}