Comparing version 0.0.16 to 0.0.17
{ | ||
"name": "codelyzer", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "A set of linters for Angular 2 applications, following https://github.com/mgechev/angular2-style-guide.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -13,3 +13,3 @@ # Codelyzer | ||
"rulesDirectory": [ | ||
"node_modules/codelyzer" | ||
"node_modules/codelyzer/dist/src" | ||
], | ||
@@ -35,14 +35,12 @@ "rules":{ | ||
"component-selector-prefix": [true, "sg"], | ||
"use-input-property-decorator": true, | ||
"use-output-property-decorator": true, | ||
"use-host-property-decorator": true, | ||
"no-attribute-parameter-decorator": true, | ||
"no-input-rename": true, | ||
"no-output-rename": true, | ||
"no-forward-ref" :true, | ||
"use-life-cycle-interface": true, | ||
"use-pipe-transform-interface": true, | ||
"pipe-naming": [true, "camelCase", "sg"], | ||
"component-class-suffix": true, | ||
"directive-class-suffix": true | ||
"host-parameter-decorator": true, | ||
"input-parameter-decorator": true, | ||
"output-parameter-decorator": true, | ||
"attribute-parameter-decorator": true, | ||
"input-property-directive": true, | ||
"output-property-directive": true, | ||
"call-forward-ref" :true, | ||
"life-cycle-hook": true, | ||
"pipe-transform-interface": true, | ||
"pipe-naming": [true, "kebab-case","sg"] | ||
} | ||
@@ -62,12 +60,8 @@ ``` | ||
- [x] Use `@HostListeners` and `@HostBindings` instead of `host` decorator property. | ||
- [x] Implement life-cycle hooks explicitly. | ||
- [x] Implement Pipe transform interface for pipes. | ||
- [x] Proper naming for pipes (kebab-case, optionally prefixed). | ||
- [ ] Do not use `nativeElement` injected with `ElementRef`. | ||
- [x] Do not rename inputs. | ||
- [x] Do not rename outputs. | ||
- [x] Do not rename inputs. | ||
- [ ] Externalize template above *n* lines of code. | ||
- [x] Do not use the `@Attribute` decorator. | ||
- [x] Do not use `forwardRef`. | ||
- [x] Do not use the `@Attribute` decorator. | ||
- [x] Proper naming of directives and components (name plus `(Directive|Component)` suffix). | ||
- [ ] Do not use `nativeElement` injected with `ElementRef`. | ||
- [ ] Externalize template above *n* lines of code. | ||
- [ ] Rise a warning for impure pipes. | ||
@@ -81,2 +75,3 @@ - [ ] Do not declare global providers. | ||
- [ ] Verify that property or method used in the template exists in the current context. | ||
- [ ] Proper naming of directives and components (name plus `(Directive|Component)` suffix). | ||
- [ ] Locate component templates in the same directory. | ||
@@ -86,2 +81,5 @@ - [ ] Locate tests in the same directory (rise optional warning when no test file is found). | ||
- [ ] Do not manipulate elements referenced within the template. | ||
- [x] Implement life-cycle hooks explicitly. | ||
- [x] Implement Pipe transform interface for pipes. | ||
- [x] Proper naming for pipes (kebab-case, optionally prefixed). | ||
@@ -88,0 +86,0 @@ ## License |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
110820
38
2871
84