fraudbusters-ui/tslint.json

52 lines
1.8 KiB
JSON
Raw Permalink Normal View History

2020-09-29 20:31:57 +00:00
{
2020-12-25 03:12:54 +00:00
"extends": ["./tslint.angular.json", "tslint-config-prettier"],
2020-10-06 06:19:04 +00:00
"rules": {
2020-12-25 03:12:54 +00:00
"ban": [
2020-10-06 06:19:04 +00:00
true,
2020-12-25 03:12:54 +00:00
"eval",
"debugger",
{
"name": "fdescribe",
"message": "Do not focus tests."
},
2020-10-06 06:19:04 +00:00
{
2020-12-25 03:12:54 +00:00
"name": "fit",
"message": "Do not focus tests."
},
{
"name": "xdescribe",
"message": "Do not exclude tests."
},
{
"name": "xit",
"message": "Do not exclude tests."
2020-10-06 06:19:04 +00:00
}
],
2020-12-25 03:12:54 +00:00
"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": "^_" }],
2020-10-06 06:19:04 +00:00
"variable-name": {
2020-12-25 03:12:54 +00:00
"options": ["allow-leading-underscore", "ban-keywords", "check-format", "allow-pascal-case"]
2020-10-06 06:19:04 +00:00
},
2020-12-25 03:12:54 +00:00
"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
2021-07-29 11:19:15 +00:00
},
"linterOptions": {
"exclude": ["src/app/api/fb-management/swagger-codegen/**"]
2020-10-06 06:19:04 +00:00
}
2020-09-29 20:31:57 +00:00
}