|
|
|
@ -3,10 +3,7 @@
|
|
|
|
|
"rulesDirectory": ["node_modules/codelyzer"],
|
|
|
|
|
"rules": {
|
|
|
|
|
"align": {
|
|
|
|
|
"options": [
|
|
|
|
|
"parameters",
|
|
|
|
|
"statements"
|
|
|
|
|
]
|
|
|
|
|
"options": ["parameters", "statements"]
|
|
|
|
|
},
|
|
|
|
|
"array-type": false,
|
|
|
|
|
"contextual-lifecycle": true,
|
|
|
|
@ -15,9 +12,7 @@
|
|
|
|
|
"eofline": true,
|
|
|
|
|
"import-spacing": true,
|
|
|
|
|
"indent": {
|
|
|
|
|
"options": [
|
|
|
|
|
"spaces"
|
|
|
|
|
]
|
|
|
|
|
"options": ["spaces"]
|
|
|
|
|
},
|
|
|
|
|
"max-line-length": [true, 140],
|
|
|
|
|
"no-consecutive-blank-lines": false,
|
|
|
|
@ -77,13 +72,8 @@
|
|
|
|
|
"import-blacklist": [true, "rxjs/Rx"],
|
|
|
|
|
"interface-over-type-literal": true,
|
|
|
|
|
"interface-name": [true, "never-prefix"],
|
|
|
|
|
"member-access": [false],
|
|
|
|
|
"member-ordering": [
|
|
|
|
|
true,
|
|
|
|
|
{
|
|
|
|
|
"order": ["static-field", "instance-field", "static-method", "instance-method"]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"member-access": false,
|
|
|
|
|
"member-ordering": false,
|
|
|
|
|
"no-arg": true,
|
|
|
|
|
"no-bitwise": true,
|
|
|
|
|
"no-conflicting-lifecycle": true,
|
|
|
|
@ -134,9 +124,17 @@
|
|
|
|
|
"unified-signatures": true,
|
|
|
|
|
"use-lifecycle-interface": true,
|
|
|
|
|
"use-pipe-transform-interface": true,
|
|
|
|
|
"variable-name": false,
|
|
|
|
|
"prefer-for-of": false
|
|
|
|
|
, "whitespace": {
|
|
|
|
|
"variable-name": {
|
|
|
|
|
"options": [
|
|
|
|
|
"ban-keywords",
|
|
|
|
|
"check-format",
|
|
|
|
|
"allow-leading-underscore",
|
|
|
|
|
"allow-pascal-case",
|
|
|
|
|
"allow-snake-case"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"prefer-for-of": true,
|
|
|
|
|
"whitespace": {
|
|
|
|
|
"options": [
|
|
|
|
|
"check-branch",
|
|
|
|
|
"check-decl",
|
|
|
|
@ -146,5 +144,5 @@
|
|
|
|
|
"check-typecast"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|