control-center/tslint.json
Denis Ezhov 8afdf6b64a
angular 10 (#170)
* add postinstall ngcc

* update angular core

* update angular material

* some fixes

* keycloak 8

* fixes
2020-08-21 15:15:41 +03:00

35 lines
1.2 KiB
JSON

{
"extends": ["./tslint.angular.json", "tslint-config-prettier"],
"rules": {
"deprecation": {
"severity": "warning"
},
"directive-selector": [true, ["attribute", "element"], "cc", ["camelCase", "kebab-case"]],
"component-selector": [true, ["attribute", "element"], "cc", "kebab-case"],
"template-no-negated-async": false,
"import-blacklist": [true, "rxjs/Rx", "lodash", "lodash-es"],
"no-unused-variable": [true, { "ignore-pattern": "^_" }],
"variable-name": {
"options": [
"allow-leading-underscore",
"ban-keywords",
"check-format",
"allow-pascal-case",
"allow-snake-case"
]
},
"ordered-imports": [
true,
{
"grouped-imports": true,
"groups": [
{ "name": "node_modules", "match": "^(?![.]|@cc/)", "order": 10 },
{ "name": "project", "match": "^@cc/", "order": 20 },
{ "name": "current", "match": "^[.]", "order": 30 }
]
}
],
"no-duplicate-imports": [true, { "allow-namespace-imports": true }]
}
}