Update dependency codelyzer to v4
This PR contains the following updates:
| Package | Type | Update | Change | References |
|---|---|---|---|---|
| codelyzer | devDependencies | major | 2.1.1 -> 4.5.0 |
source |
Release Notes
mgechev/codelyzer
v4.5.0
Bug Fixes
- assertFailure catch exception throw by assert (#β703) (#β704) (0bac287)
- no-unused-css: blank lines being left after fixing (#β701) (c69e2ae)
Features
4.4.4 (2018-08-13)
Bug Fixes
4.4.3 (2018-08-06)
Bug Fixes
- url not passed to transformStyle when using styleUrls (#β686) (5a84041)
- templates-no-negated-async: not reporting failures for some cases (#β694) (2ffe2ea)
4.4.2 (2018-06-25)
Bug Fixes
v4.4.4
Bug Fixes
- assertFailure catch exception throw by assert (#β703) (#β704) (0bac287)
- no-unused-css: blank lines being left after fixing (#β701) (c69e2ae)
Features
4.4.4 (2018-08-13)
Bug Fixes
4.4.3 (2018-08-06)
Bug Fixes
- url not passed to transformStyle when using styleUrls (#β686) (5a84041)
- templates-no-negated-async: not reporting failures for some cases (#β694) (2ffe2ea)
4.4.2 (2018-06-25)
Bug Fixes
v4.4.3
Bug Fixes
v4.4.2
Bug Fixes
- url not passed to transformStyle when using styleUrls (#β686) (5a84041)
- templates-no-negated-async: not reporting failures for some cases (#β694) (2ffe2ea)
v4.4.1
Bug Fixes
v4.4.0
Bug Fixes
v4.3.0
Bug Fixes
- no-input-prefix: exact strings not being reported (#β597) (1ed8d8c)
- no-input-rename: aria attributes not being allowed to be renamed (#β665) (2c905ab), closes #β663
- no-input-rename: fix bugs (#β585) (75f9de6), closes #β580
- no-template-call-expression: not being exported (#β582) (ad57552), closes #β577
- no-life-cycle-call: fix bugs (#β575) (4415cc2), closes #β573
- no-input-prefix: not being able to check for multiple concurrent prefixes (#β590) (43d415a), closes #β589
- no-output-rename: not being reported for some cases (#β614) (5e34f41), closes #β613
- template-conditional-complexity: not reporting failures for '[ngIf]' (#β611) (7fc3b09), closes #β607
- template-cyclomatic-complexity: not reporting failures for '[ngForOf]' and '[ngIf]' (#β612) (fedd331), closes #β609
- trackBy-function: not reporting failures for '[ngForOf]' (#β610) (af52912), closes #β608
- some rules not considering options correctly (#β617) (bce0026)
Features
- import-destructuring-spacing: add fixer (#β595) (2acc27b)
- max-inline-declarations: add option to limit animations lines (#β569) (25f3e16), closes #β568
- rule: add no-queries-parameter rule (#β571) (e9f4d23)
- rule: add prefer-inline-decorator rule (#β586) (5d5e21d), closes #β549
- build scripts are not cross-platform #β581 204c8ef, closes #β454
- upgrade TypeScript dependency to 2.7.2 #β584 d4bf62d, closes #β583
- turn on strict TS compilation mode (#β631) (da0f553), closes #β629
- externalizing template, css visitor abstractions and NgWalker (#β658) (b79ea58)
Credits to the codelyzer's maintainers and contributors.
v4.2.1
Bug Fixes
- Improved
peerDependenciesrange.
v4.2.0
New Rules
template-cyclomatic-complexitywhich limits the estimated Cyclomatic complexity in your templates. Credits to wKoza.template-conditional-complexitywhich limits the complexity of boolean expressions inside of your templates. Credits to wKoza.
Features
- Support for Angular version 6 #β524 50fa2d6
- Cyclomatic complexity rule
template-cyclomatic-complexity#β514 3221330 - Limiting template condition complexity (rule
template-conditional-complexity) #β508 bb86295 - Complete Rules Status section in README and complete Rules Page #β501 1fe9d22
Bug Fixes
- "extends": ["codelyzer"] is broken #β505 7b76dfa
- Message for 'use-host-property-decorator' includes invalid link to Angular style docs #β510 5fc77c9
v4.1.0
Features
- Feature request: no output named after a standard DOM event #β473 ae3f07b
- Support for Angular Compiler 5.2 #β496 6a6b3de
Bug Fixes
- i18n check-text edge cases #β442 4c1c8d4
- Codelyzer hanging for "styles" attribute in Angular component #β446 a31c6d2 and 9c90ac3
- no-output-on-prefix incorrectly throws error if output property name starts with "one" #β480 9b844cc
Thanks to @βgbilodeau for NoOutputNamedAfterStandardEventRule and wKoza for the code reviews!
v4.0.2
Bug Fixes
- Two issues in
angular-whitespacerelated tocheck-semicolonandcheck-interpolation#β469 2ef7438 - Check multiple semicolons inside the directive expressions #β472 e6036d2
Thanks to @βsagittarius-rev for the bug fixes!
v4.0.1
Bug Fixes
-
Fix
noOutputOnPrefixRuleand rename it tono-output-on-prefix. You can now enable it with:"no-output-on-prefix": true
-
Fix broken tests for
noOutputOnPrefixRule.
v4.0.0
Features
- Support for Angular version 5 #β409 0217e2d
- Rule for checking the name events without the prefix on https://angular.io/guide/styleguide#dont-prefix-output-properties #β449 8f2b4e7.
Enable the new rule by adding the following line in your tslint.json config file:
"no-output-on-prefix-name": true
Thanks to @βeromano for the rule implementation!
Breaking Changes
- The rules
templates-use-public,no-access-missing-member,invoke-injectableandtemplate-to-ng-templateno longer exist. Remove them from yourtslint.jsonconfiguration.
v3.2.2
Features
- Support for
@angular/[email protected]#β416 d67f88e
Bug Fixes
v3.2.1
Features
- Support for
@angular/[email protected]#β416 d67f88e
Bug Fixes
v3.2.0
Features
- i18n best practices #β377 5ef90aa
- Add a rule which verifies the use of the life cycle methods according to the type of class (Component, Directive, Service,...) #β363 6b042f7
- Friendlier checking of validator directive names #β397 28ecbdd
Bug Fixes
- Error on validating a pipe with
@Pipedecorator where we use a shorthand syntax for passing properties #β399 8e3fafb - Broken
check-pipeoption ofangular-whitespace#β365 bef790b - Some rules report false positives #β379 8719674 4721aca bef790b
Thanks to @βwKoza for working on the introduced features, bug fixes and code reviews!
v3.1.2
Features
Thanks to @βwKoza for code reviews and implementation of "check-semicolon".
angular-whitespace: [true, "check-semicolon", "check-interpolation", "check-pipe"] - Checks if there's whitespace after semicolon, around an expression surrounded by interpolation characters, and after a pipe symbol.
Bug Fixes
- Auto fix for check-interpolation part of angularWhitespace is broken #β345 0be8563
- check-pipe should ignore i18n meaning and description | separator #β359 5aad7f3
- check-pipe breaks with ngFor #β346 fa08a3b
v3.1.1
Bug Fixes
- Incorrect rule name in documentation #β344 6656b81
- Proper displacement in the reports for non-TypeScript files #β343 c503510
v3.1.0
New rules
angular-whitespace: [true, "check-interpolation", "check-pipe"]- Checks if there's whitespace around an expression surrounded by interpolation characters, and after a pipe symbol.banana-in-box: true- Checks for proper banana in a box syntax -[(ngModel)]instead of([ngModel]).templates-no-negated-async: true- Enforces(foo | async) === false, rather than!(foo | async), because of the initial falsy value emitted.use-view-encapsulation: true- Enforces enabled view encapsulation.
Special thanks to @βwKoza, @βGregOnNet and @βconnor4312 for their contributions.
Features
- Align to the template parser API of Angular compiler 4.1.0 #β301 0fcdcd1
- Align to the changes in the template parser API 4.1.3 #β319 b608296
- Rule for enforcing
ViewEncapsulation#β300 509c8d9. Big thanks to @βGregOnNet. - Add a no-negated-async rule #β332 0f0924d. Big thanks to @βconnor4312.
- Enforce proper banana in a box syntax #β331 f95b2d5
- Ensure whitespace around interpolation #β320 335776f
Bug Fixes
- Template micro-syntax closure and 'bind only to public class members' #β220 61f9fe9
- Report warnings when bound to private iterable in
*ngFor#β306 36705fc - 'templates-use-public' throws error when attempting to access a property of a property with the [] syntax #β315 6323d2c
- no-access-missing-member doesn't work with external HTML #β311 b608296
- rules name in documentation aren't consistent #β325 7a67607. Big thanks to @βwKoza.
- Our links to angular.io are broken #β333 5a532b4. Big thanks to @βwKoza.
- Report errors twice #β336 44a9306
v3.0.1
Bug Fixes
v3.0.0
Major release required because of the breaking changes introduced by tslint@5. The ngast support will be pushed to codelyzer@4.
Features
- Support for tslint@5 #β281 01bffd5 49b1e80
- Allow more than one selector kind of directives & components #β290 4fa35f6 "directive-selector": [true, ["attribute", "element"], "sg", "camelCase"], "component-selector": [true, ["element", "attribute"], "sg", "kebab-case"],
- Specs for the support of
assyntax in expressions #β289 a7500cb
Refactoring
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot. View repository job log here.