-
Notifications
You must be signed in to change notification settings - Fork 9
/
.eslintrc.json
28 lines (28 loc) · 885 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
{
"root": true,
"ignorePatterns": ["**/dist/**/*", "**/node_modules/**/*","**/coverage/**/*", "**/*config*", "packages/create-jitar/templates/*"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./packages/**/tsconfig.json"
},
"plugins": [
"@typescript-eslint",
"eslint-plugin-jitar",
"sonarjs"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:sonarjs/recommended-legacy"
],
"rules":
{
"@typescript-eslint/ban-types": "off",
"no-return-await": "error",
"semi": ["error", "always"],
"eol-last": ["error", "always"],
"brace-style": ["error", "allman", { "allowSingleLine": true }],
"jitar/empty-first-line": "error"
}
}