Skip to content

Commit ffb4459

Browse files
committed
feat(@schematics/angular): activate recommended tslint rules
1 parent 63748ab commit ffb4459

File tree

1 file changed

+3
-47
lines changed

1 file changed

+3
-47
lines changed

packages/schematics/angular/workspace/files/tslint.json

+3-47
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,16 @@
44
"codelyzer"
55
],
66
"rules": {
7-
"adjacent-overload-signatures": false,
8-
"align": false,
97
"array-type": false,
108
"arrow-parens": false,
11-
"ban-types": false,
129
"deprecation": {
1310
"severity": "warn"
1411
},
15-
"function-constructor": false,
1612
"import-blacklist": [
1713
true,
1814
"rxjs/Rx"
1915
],
2016
"interface-name": false,
21-
"jsdoc-format": false,
22-
"max-classes-per-file": false,
2317
"max-line-length": [
2418
true,
2519
140
@@ -36,9 +30,6 @@
3630
]
3731
}
3832
],
39-
"new-parens": false,
40-
"no-angle-bracket-type-assertion": false,
41-
"no-conditional-assignment": false,
4233
"no-consecutive-blank-lines": false,
4334
"no-console": [
4435
true,
@@ -53,56 +44,21 @@
5344
true,
5445
"ignore-params"
5546
],
56-
"no-namespace": false,
5747
"no-non-null-assertion": true,
5848
"no-redundant-jsdoc": true,
59-
"no-reference": false,
60-
"no-reference-import": false,
61-
"no-string-literal": false,
6249
"no-switch-case-fall-through": true,
63-
"no-unsafe-finally": false,
6450
"no-use-before-declare": true,
65-
"no-var-requires": false,
66-
"object-literal-key-quotes": false,
67-
"object-literal-shorthand": false,
68-
"object-literal-sort-keys": false,
69-
"one-line": [
51+
"object-literal-key-quotes": [
7052
true,
71-
"check-open-brace",
72-
"check-catch",
73-
"check-else",
74-
"check-whitespace"
53+
"as-needed"
7554
],
76-
"one-variable-per-declaration": false,
77-
"only-arrow-functions": false,
55+
"object-literal-sort-keys": false,
7856
"ordered-imports": false,
79-
"prefer-for-of": false,
8057
"quotemark": [
8158
true,
8259
"single"
8360
],
84-
"space-before-function-paren": false,
8561
"trailing-comma": false,
86-
"typedef-whitespace": [
87-
true,
88-
{
89-
"call-signature": "nospace",
90-
"index-signature": "nospace",
91-
"parameter": "nospace",
92-
"property-declaration": "nospace",
93-
"variable-declaration": "nospace"
94-
}
95-
],
96-
"use-isnan": false,
97-
"variable-name": false,
98-
"whitespace": [
99-
true,
100-
"check-branch",
101-
"check-decl",
102-
"check-operator",
103-
"check-separator",
104-
"check-type"
105-
],
10662
"no-output-on-prefix": true,
10763
"use-input-property-decorator": true,
10864
"use-output-property-decorator": true,

0 commit comments

Comments
 (0)