|
|
|
@@ -1,13 +1,21 @@ |
|
|
|
{ |
|
|
|
"extends": "tslint:recommended", |
|
|
|
"rules": { |
|
|
|
"align": { |
|
|
|
"options": [ |
|
|
|
"parameters", |
|
|
|
"statements" |
|
|
|
] |
|
|
|
}, |
|
|
|
"array-type": false, |
|
|
|
"arrow-parens": false, |
|
|
|
"arrow-return-shorthand": true, |
|
|
|
"deprecation": { |
|
|
|
"severity": "warning" |
|
|
|
}, |
|
|
|
"component-class-suffix": true, |
|
|
|
"contextual-lifecycle": true, |
|
|
|
"curly": true, |
|
|
|
"directive-class-suffix": true, |
|
|
|
"directive-selector": [ |
|
|
|
true, |
|
|
|
@@ -21,10 +29,17 @@ |
|
|
|
"app", |
|
|
|
"kebab-case" |
|
|
|
], |
|
|
|
"eofline": true, |
|
|
|
"import-blacklist": [ |
|
|
|
true, |
|
|
|
"rxjs/Rx" |
|
|
|
], |
|
|
|
"import-spacing": true, |
|
|
|
"indent": { |
|
|
|
"options": [ |
|
|
|
"spaces" |
|
|
|
] |
|
|
|
}, |
|
|
|
"interface-name": false, |
|
|
|
"max-classes-per-file": false, |
|
|
|
"max-line-length": [ |
|
|
|
@@ -60,7 +75,6 @@ |
|
|
|
"no-non-null-assertion": true, |
|
|
|
"no-redundant-jsdoc": true, |
|
|
|
"no-switch-case-fall-through": true, |
|
|
|
"no-use-before-declare": true, |
|
|
|
"no-var-requires": false, |
|
|
|
"object-literal-key-quotes": [ |
|
|
|
true, |
|
|
|
@@ -80,11 +94,60 @@ |
|
|
|
"no-output-native": true, |
|
|
|
"no-output-on-prefix": true, |
|
|
|
"no-output-rename": true, |
|
|
|
"semicolon": { |
|
|
|
"options": [ |
|
|
|
"always" |
|
|
|
] |
|
|
|
}, |
|
|
|
"space-before-function-paren": { |
|
|
|
"options": { |
|
|
|
"anonymous": "never", |
|
|
|
"asyncArrow": "always", |
|
|
|
"constructor": "never", |
|
|
|
"method": "never", |
|
|
|
"named": "never" |
|
|
|
} |
|
|
|
}, |
|
|
|
"no-outputs-metadata-property": true, |
|
|
|
"template-banana-in-box": true, |
|
|
|
"template-no-negated-async": true, |
|
|
|
"typedef-whitespace": { |
|
|
|
"options": [ |
|
|
|
{ |
|
|
|
"call-signature": "nospace", |
|
|
|
"index-signature": "nospace", |
|
|
|
"parameter": "nospace", |
|
|
|
"property-declaration": "nospace", |
|
|
|
"variable-declaration": "nospace" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"call-signature": "onespace", |
|
|
|
"index-signature": "onespace", |
|
|
|
"parameter": "onespace", |
|
|
|
"property-declaration": "onespace", |
|
|
|
"variable-declaration": "onespace" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
"use-lifecycle-interface": true, |
|
|
|
"use-pipe-transform-interface": true |
|
|
|
"use-pipe-transform-interface": true, |
|
|
|
"variable-name": { |
|
|
|
"options": [ |
|
|
|
"ban-keywords", |
|
|
|
"check-format", |
|
|
|
"allow-pascal-case" |
|
|
|
] |
|
|
|
}, |
|
|
|
"whitespace": { |
|
|
|
"options": [ |
|
|
|
"check-branch", |
|
|
|
"check-decl", |
|
|
|
"check-operator", |
|
|
|
"check-separator", |
|
|
|
"check-type", |
|
|
|
"check-typecast" |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
"rulesDirectory": [ |
|
|
|
"codelyzer" |
|
|
|
|