Bot releases are visible (Hide)
Published by mgechev about 7 years ago
@Pipe
decorator where we use a shorthand syntax for passing properties #399 8e3fafb
check-pipe
option of angular-whitespace
#365 bef790b
Thanks to @wKoza for working on the introduced features, bugfixes and code reviews!
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.
Published by mgechev over 7 years ago
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 36705fc
Published by mgechev over 7 years ago
usePipeDecoratorRule
#299 [c5869e0](https://github.com/mgechev/codelyzer/commit/
Published by mgechev over 7 years ago
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
Published by mgechev over 7 years ago
Published by mgechev over 7 years ago
Published by mgechev over 7 years ago
Published by mgechev over 7 years ago
importDestructuringSpacing
.no-access-missing-member
, use-life-cycle-interface
and template-use-public
require type checking which means that tslint should be run with the corresponding options
The rules should now be run as follows:
$ tslint --type-check --project src/client/tsconfig.json
Published by mgechev over 7 years ago
readTemplate
and readStyle
to use Maybe<T>
373b152
Published by mgechev almost 8 years ago
KeyedRead
s and KeyadWrite
s #185 20ce61a
no-access-missing-member
#179 20ce61a
Published by mgechev almost 8 years ago
The rules directive-selector-name
, component-selector-name
, directive-selector-type
, component-selector-type
, component-selector-prefix
, directive-selector-prefix
no longer exist. Instead use:
// The rule have the following arguments:
// [ENABLED, "attribute" | "element", "selectorPrefix" | ["listOfPrefixes"], "camelCase" | "kebab-case"]
"directive-selector": [true, "attribute", "sg", "camelCase"],
"component-selector": [true, "element", "sg", "kebab-case"],
.codelyzer.js
which should be located in the root of your project (the directory where node_modules
is) 1ca7068
no-unused-css
0a9d9014
@Pipe
s without metadata #111 eb6ccc0d