mirror of
https://github.com/stCarolas/setup-maven.git
synced 2025-02-26 01:25:43 +00:00
47 lines
928 B
JSON
47 lines
928 B
JSON
![]() |
{
|
||
|
"env": {
|
||
|
"es6": true,
|
||
|
"node": true
|
||
|
},
|
||
|
"plugins": ["@typescript-eslint"],
|
||
|
"extends": [
|
||
|
"eslint:recommended", // all
|
||
|
"plugin:@typescript-eslint/all",
|
||
|
"prettier"
|
||
|
],
|
||
|
"overrides": [
|
||
|
{
|
||
|
"files": ["**/*.test.ts"],
|
||
|
"env": {
|
||
|
"jest/globals": true
|
||
|
},
|
||
|
"plugins": ["jest"],
|
||
|
"extends": ["plugin:jest/all"],
|
||
|
"rules": {
|
||
|
"jest/prefer-expect-assertions": "off"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": {
|
||
|
"ecmaVersion": 9,
|
||
|
"sourceType": "module",
|
||
|
"project": "./tsconfig.eslint.json"
|
||
|
},
|
||
|
"rules": {
|
||
|
"@typescript-eslint/no-implicit-any-catch": "off",
|
||
|
"@typescript-eslint/no-magic-numbers": [
|
||
|
"error",
|
||
|
{
|
||
|
"ignoreArrayIndexes": true
|
||
|
}
|
||
|
],
|
||
|
"@typescript-eslint/strict-boolean-expressions": [
|
||
|
"error",
|
||
|
{
|
||
|
"allowNullableString": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|