.eslintrc.json•1.14 kB
{
"plugins": ["@typescript-eslint", "jest", "prettier", "import"],
"extends": [
"plugin:github/recommended",
"plugin:prettier/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:@typescript-eslint/strict"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"jest": true,
"node": true
},
"rules": {
"@typescript-eslint/no-floating-promises": "warn",
"prettier/prettier": "warn",
"no-console": "off",
"no-unused-vars": "off",
"github/array-foreach": "off",
"i18n-text/no-en": "off",
"github/no-then": "off",
"filenames/match-regex": "off", // introduced by github/recommended, only allows one hump for camelCase in test file names ?!
"import/no-namespace": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off"
},
"settings": {
"import/resolver": {
"typescript": {
"project": "./tsconfig.json"
},
"node": true
},
"import/parsers": {
"@typescript-eslint/parser": [".ts"]
}
}
}