-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
29 lines (29 loc) · 960 Bytes
/
.eslintrc.json
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
{
"env": {
"es6": true,
"node": true
// "jest/globals": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/strict-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
// "plugin:jest/all",
"plugin:prettier/recommended" //comment this if you want to enable prettier.
// "prettier" //comment this if you want to enable prettier. useful for example when using vscode prettier or trunk.io
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": ["tsconfig.json", "test/tsconfig.json"]
},
// "plugins": ["@typescript-eslint", "jest"],
"plugins": ["@typescript-eslint"],
"rules": {
"no-console": ["warn", { "allow": ["info", "warn", "error"] }],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/member-ordering": "warn"
},
"ignorePatterns": ["*.js", "**/gen"]
}