forked from kirbydesign/designsystem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
30 lines (28 loc) · 936 Bytes
/
tslint.json
File metadata and controls
30 lines (28 loc) · 936 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"extends": ["tslint-plugin-prettier"],
"rulesDirectory": [
"node_modules/codelyzer",
"node_modules/tslint-plugin-prettier",
"./tools/tslint-rules/dist"
],
"rules": {
"prettier": true,
// Custom rules:
// NOTE: Custom rule file names must consist of the rule’s name in camel case
// https://hackernoon.com/custom-tslint-rules-easier-than-you-think-1bd9c361d70c
"disallow-http-client-module-import-in-specs": true,
"disallow-specific-environment-import": true,
"import-line-spacing": true,
// Codelyzer rules:
"no-output-on-prefix": true,
"no-inputs-metadata-property": true,
"no-outputs-metadata-property": true,
"no-host-metadata-property": true,
"no-input-rename": true,
"no-output-rename": true,
"use-lifecycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true
}
}