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
Compare Source
Bug Fixes
Features
4.4.4 (2018年08月13日)
Bug Fixes
- errors not being displayed in the correct files (#700) (db3cf5a)
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
- no-output-on-prefix: fix regular expression (#674) (adc974a)
Compare Source
Bug Fixes
Features
4.4.4 (2018年08月13日)
Bug Fixes
- errors not being displayed in the correct files (#700) (db3cf5a)
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
- no-output-on-prefix: fix regular expression (#674) (adc974a)
Compare Source
Bug Fixes
- errors not being displayed in the correct files (#700) (db3cf5a)
Compare Source
Bug Fixes
- url not passed to transformStyle when using styleUrls (#686) (5a84041)
- templates-no-negated-async: not reporting failures for some cases (#694) (2ffe2ea)
Compare Source
Bug Fixes
Compare Source
Bug Fixes
Compare Source
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
Credits to the codelyzer's maintainers and contributors.
Compare Source
Bug Fixes
- Improved
peerDependencies
range.
Compare Source
New Rules
template-cyclomatic-complexity
which limits the estimated Cyclomatic complexity in your templates. Credits to wKoza.
template-conditional-complexity
which 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
Compare Source
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!
Compare Source
Bug Fixes
- Two issues in
angular-whitespace
related to check-semicolon
and check-interpolation
#469 2ef7438
- Check multiple semicolons inside the directive expressions #472 e6036d2
Thanks to @sagittarius-rev for the bug fixes!
Compare Source
Bug Fixes
-
Fix noOutputOnPrefixRule
and rename it to no-output-on-prefix
. You can now enable it with:
"no-output-on-prefix": true
-
Fix broken tests for noOutputOnPrefixRule
.
Compare Source
Features
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-injectable
and template-to-ng-template
no longer exist. Remove them from your tslint.json
configuration.
Compare Source
Features
Bug Fixes
Compare Source
Features
Bug Fixes
Compare Source
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
Thanks to @wKoza for working on the introduced features, bug fixes and code reviews!
Compare Source
Features
- Ensure whitespaces after semicolon in structural dir #330 25667f9
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
Compare Source
Bug Fixes
- Incorrect rule name in documentation #344 6656b81
- Proper displacement in the reports for non-TypeScript files #343 c503510
Compare Source
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
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
Compare Source
Bug Fixes
Compare Source
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
as
syntax in expressions #289 a7500cb
Refactoring
- Rename
ng2Walker
to ngWalker
01bffd5
- Refactor selector-related rules to depend on less mutable state 4fa35f6
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!
".
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.
Uh oh!
There was an error while loading. Please reload this page.
This PR contains the following updates:
2.1.1
->4.5.0
Release Notes
mgechev/codelyzer
v4.5.0
Compare Source
Bug Fixes
Features
4.4.4 (2018年08月13日)
Bug Fixes
4.4.3 (2018年08月06日)
Bug Fixes
4.4.2 (2018年06月25日)
Bug Fixes
v4.4.4
Compare Source
Bug Fixes
Features
4.4.4 (2018年08月13日)
Bug Fixes
4.4.3 (2018年08月06日)
Bug Fixes
4.4.2 (2018年06月25日)
Bug Fixes
v4.4.3
Compare Source
Bug Fixes
v4.4.2
Compare Source
Bug Fixes
v4.4.1
Compare Source
Bug Fixes
v4.4.0
Compare Source
Bug Fixes
v4.3.0
Compare Source
Bug Fixes
Features
Credits to the codelyzer's maintainers and contributors.
v4.2.1
Compare Source
Bug Fixes
peerDependencies
range.v4.2.0
Compare Source
New Rules
template-cyclomatic-complexity
which limits the estimated Cyclomatic complexity in your templates. Credits to wKoza.template-conditional-complexity
which limits the complexity of boolean expressions inside of your templates. Credits to wKoza.Features
template-cyclomatic-complexity
#514 3221330template-conditional-complexity
) #508 bb86295Bug Fixes
v4.1.0
Compare Source
Features
Bug Fixes
Thanks to @gbilodeau for
NoOutputNamedAfterStandardEventRule
and wKoza for the code reviews!v4.0.2
Compare Source
Bug Fixes
angular-whitespace
related tocheck-semicolon
andcheck-interpolation
#469 2ef7438Thanks to @sagittarius-rev for the bug fixes!
v4.0.1
Compare Source
Bug Fixes
Fix
noOutputOnPrefixRule
and 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
Compare Source
Features
Enable the new rule by adding the following line in your
tslint.json
config file:Thanks to @eromano for the rule implementation!
Breaking Changes
templates-use-public
,no-access-missing-member
,invoke-injectable
andtemplate-to-ng-template
no longer exist. Remove them from yourtslint.json
configuration.v3.2.2
Compare Source
Features
@angular/compiler@4.4.1
#416 d67f88eBug Fixes
v3.2.1
Compare Source
Features
@angular/compiler@4.4.1
#416 d67f88eBug Fixes
v3.2.0
Compare Source
Features
Bug Fixes
@Pipe
decorator where we use a shorthand syntax for passing properties #399 8e3fafbcheck-pipe
option ofangular-whitespace
#365 bef790bThanks to @wKoza for working on the introduced features, bug fixes and code reviews!
v3.1.2
Compare Source
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
v3.1.1
Compare Source
Bug Fixes
v3.1.0
Compare Source
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
ViewEncapsulation
#300 509c8d9. Big thanks to @GregOnNet.Bug Fixes
*ngFor
#306 36705fcv3.0.1
Compare Source
Bug Fixes
usePipeDecoratorRule
#299 c5869e0.v3.0.0
Compare Source
Major release required because of the breaking changes introduced by tslint@5. The
ngast
support will be pushed to codelyzer@4.Features
"directive-selector": [true, ["attribute", "element"], "sg", "camelCase"],
"component-selector": [true, ["element", "attribute"], "sg", "kebab-case"],
as
syntax in expressions #289 a7500cbRefactoring
ng2Walker
tongWalker
01bffd5Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.