mirror of
https://github.com/valitydev/fraudbusters-ui.git
synced 2024-11-06 16:45:19 +00:00
52 lines
1.8 KiB
JSON
52 lines
1.8 KiB
JSON
{
|
|
"extends": ["./tslint.angular.json", "tslint-config-prettier"],
|
|
"rules": {
|
|
"ban": [
|
|
true,
|
|
"eval",
|
|
"debugger",
|
|
{
|
|
"name": "fdescribe",
|
|
"message": "Do not focus tests."
|
|
},
|
|
{
|
|
"name": "fit",
|
|
"message": "Do not focus tests."
|
|
},
|
|
{
|
|
"name": "xdescribe",
|
|
"message": "Do not exclude tests."
|
|
},
|
|
{
|
|
"name": "xit",
|
|
"message": "Do not exclude tests."
|
|
}
|
|
],
|
|
"directive-selector": [true, ["attribute", "element"], "fb", ["camelCase", "kebab-case"]],
|
|
"component-selector": [true, ["attribute", "element"], "fb", "kebab-case"],
|
|
"template-no-negated-async": false,
|
|
"import-blacklist": [true, "rxjs/Rx", "lodash", "lodash-es", ".", "src/.+"],
|
|
"no-unused-variable": [true, { "ignore-pattern": "^_" }],
|
|
"variable-name": {
|
|
"options": ["allow-leading-underscore", "ban-keywords", "check-format", "allow-pascal-case"]
|
|
},
|
|
"ordered-imports": [
|
|
true,
|
|
{
|
|
"grouped-imports": true,
|
|
"groups": [
|
|
{ "name": "node_modules", "match": "^(?![.]|@fb/)", "order": 10 },
|
|
{ "name": "project", "match": "^@fb/", "order": 20 },
|
|
{ "name": "current", "match": "^[.]", "order": 30 }
|
|
]
|
|
}
|
|
],
|
|
"no-console": [true, "log", "dir"],
|
|
"no-duplicate-imports": [true, { "allow-namespace-imports": true }],
|
|
"increment-decrement": true
|
|
},
|
|
"linterOptions": {
|
|
"exclude": ["src/app/api/fb-management/swagger-codegen/**"]
|
|
}
|
|
}
|