Changelog
3.2.0
@Pipe
decorator where we use a shorthand syntax for passing properties #399 8e3fafbcheck-pipe
option of angular-whitespace
#365 bef790bThanks to @wKoza for working on the introduced features, bug fixes and code reviews!
Changelog
3.1.2
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.
Changelog
3.1.0
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.
ViewEncapsulation
#300 509c8d9. Big thanks to @GregOnNet.*ngFor
#306 36705fcChangelog
3.0.0
Major release required because of the breaking changes introduced by tslint@5. The ngast
support will be pushed to codelyzer@4.
"directive-selector": [true, ["attribute", "element"], "sg", "camelCase"],
"component-selector": [true, ["element", "attribute"], "sg", "kebab-case"],
as
syntax in expressions #289 a7500cb