@@ -31,7 +31,7 @@ these rules with new insights, experiences and remarks in alignment with the upd
3131
3232** Note** : The following set of rules depend on:
3333- [ TSLint] v5.12.0
34- - [ codelyzer] v4.5 .0
34+ - [ codelyzer] ^5.0 .0
3535
3636## Table of contents:
3737- [ Getting started] ( #getting-started )
@@ -306,11 +306,6 @@ them is allowed by TypeScript*).
306306```
307307
308308### <a name =" variable-design " ></a > Variable design
309- - * Do not use* a ** variable** before declaring.
310- ``` json
311- "no-use-before-declare" : true
312- ```
313-
314309- * Always prefer* ** ` const ` ** keyword ** where appropriate** , for values that should never change.
315310- * Avoid using* ** ` let ` ** (* maintain immutability* ).
316311``` json
@@ -1005,42 +1000,36 @@ attacks*).
10051000
10061001### <a name =" codelyzer-rules " ></a > Codelyzer rules
10071002``` json
1008- "banana-in-box" : true ,
1009- "contextual-life-cycle" : true ,
1010- "decorator-not-allowed" : true ,
1011- "pipe-impure" : true ,
1012- "templates-no-negated-async" : true ,
1013- "trackBy-function" : true ,
1014- "i18n" : [
1003+ "template-banana-in-box" : true ,
1004+ "contextual-lifecycle" : true ,
1005+ "contextual-decorator" : true ,
1006+ "no-pipe-impure" : true ,
1007+ "template-no-negated-async" : true ,
1008+ "template-i18n" : [
10151009 true ,
10161010 " check-id" ,
10171011 " check-text"
10181012],
1019- "no-attribute-parameter-decorator" : true ,
1013+ "component-max-inline-declarations" : true ,
1014+ "no-attribute-decorator" : true ,
1015+ "no-conflicting-lifecycle" : true ,
10201016"no-forward-ref" : true ,
10211017"no-input-rename" : true ,
1022- "no-life-cycle -call" : true ,
1023- "no-output-named-after-standard-event " : true ,
1018+ "no-lifecycle -call" : true ,
1019+ "no-output-native " : true ,
10241020"no-output-on-prefix" : true ,
10251021"no-output-rename" : true ,
1026- "no-queries-parameter" : true ,
1027- "no-template-call-expression" : true ,
1022+ "template-no-call-expression" : true ,
10281023"no-unused-css" : true ,
1029- "prefer-inline-decorator" : true ,
10301024"prefer-output-readonly" : true ,
1031- "use-life-cycle-interface" : true ,
1025+ "template-conditional-complexity" : true ,
1026+ "template-cyclomatic-complexity" : true ,
1027+ "template-use-track-by-function" : true ,
1028+ "use-lifecycle-interface" : true ,
10321029"use-pipe-decorator" : true ,
10331030"use-pipe-transform-interface" : true ,
1034- "use-view-encapsulation" : true ,
1035- "angular-whitespace" : [
1036- true ,
1037- " check-interpolation" ,
1038- " check-semicolon"
1039- ],
1040- "component-class-suffix" : [
1041- true ,
1042- " Component"
1043- ],
1031+ "use-component-view-encapsulation" : true ,
1032+ "component-class-suffix" : true ,
10441033"component-selector" : [
10451034 true ,
10461035 " element" ,
@@ -1050,10 +1039,7 @@ attacks*).
10501039 ],
10511040 " kebab-case"
10521041],
1053- "directive-class-suffix" : [
1054- true ,
1055- " Directive"
1056- ],
1042+ "directive-class-suffix" : true ,
10571043"directive-selector" : [
10581044 true ,
10591045 " attribute" ,
@@ -1064,9 +1050,11 @@ attacks*).
10641050 " camelCase"
10651051],
10661052"import-destructuring-spacing" : true ,
1067- "use-host-property-decorator" : true ,
1068- "use-input-property-decorator" : true ,
1069- "use-output-property-decorator" : true
1053+ "no-queries-metadata-property" : true ,
1054+ "prefer-inline-decorator" : true ,
1055+ "no-host-metadata-property" : true ,
1056+ "no-inputs-metadata-property" : true ,
1057+ "no-outputs-metadata-property" : true
10701058```
10711059
10721060## <a name =" contributing " ></a > Contributing
0 commit comments