dashboard/tslint.json
2020-05-08 18:19:45 +03:00

26 lines
1.1 KiB
JSON

{
"extends": ["./tslint.angular.json", "tslint-config-prettier"],
"rules": {
"directive-selector": [true, ["attribute", "element"], "dsh", ["camelCase", "kebab-case"]],
"component-selector": [true, ["attribute", "element"], "dsh", "kebab-case"],
"template-no-negated-async": false,
"import-blacklist": [true, "rxjs/Rx", "lodash", "lodash-es", ".", [".*\\./components/.*", "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": "^(?![.]|@dsh/)", "order": 10 },
{ "name": "project", "match": "^@dsh/", "order": 20 },
{ "name": "current", "match": "^[.]", "order": 30 }
]
}
],
"no-duplicate-imports": [true, { "allow-namespace-imports": true }]
}
}