Newer
Older
"parser": "@typescript-eslint/parser",
"plugins": ["@angular-eslint/eslint-plugin", "@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@angular-eslint/recommended",
"prettier",
"eslint-config-prettier"
],
"env": {
"browser": true,
"es6": true,
"commonjs": true
},
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
"ignorePatterns": [
"**/bootstrap4.5.2.min.js",
"**/prism-java.min.js",
"**/prism*.js",
"**/jquery*.js",
"**/popper*.js",
"**/joypixels.min.js",
"**/katex.min.js",
"src/main/resources/keycloak-theme/*"
{
"type": "element",
"prefix": "jhi",
"style": "kebab-case"
}
],
"@angular-eslint/directive-selector": [
"type": "attribute",
"prefix": "jhi",
"style": "camelCase"
"@angular-eslint/relative-url-prefix": "off",
{
"extendDefaults": true,
"types": {
"{}": false
}
}
],
"@typescript-eslint/explicit-function-return-type": ["off", { "allowExpressions": true }],
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/member-ordering": [
"default": [
"public-static-field",
"protected-static-field",
"private-static-field",
"public-instance-field",
"protected-instance-field",
"private-instance-field",
"constructor",
"public-static-method",
"protected-static-method",
"private-static-method",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-parameter-properties": ["warn", { "allows": ["public", "private", "protected"] }],
"@typescript-eslint/no-shadow": ["off"],
"@typescript-eslint/no-unnecessary-condition": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/prefer-optional-chain": "off",
"arrow-body-style": "off",
"curly": "off",
"eqeqeq": ["off", "always", { "null": "ignore" }],
"guard-for-in": "off",
"no-bitwise": "off",
"no-caller": "off",
"no-console": ["off", { "allow": ["warn", "off"] }],
"no-eval": "off",
"no-labels": "off",
"no-new": "off",
"no-new-wrappers": "off",
"object-shorthand": ["off", "always", { "avoidExplicitReturnArrows": true }],
"radix": "off",
"spaced-comment": ["warn", "always"],
"@angular-eslint/no-empty-lifecycle-method": "off"