Skip to content
- Added: experimental autofixing (#2467, #2500, #2529 and #2577). Use
--fix CLI parameter or fix: true Node API options property. Supported rules:
at-rule-empty-line-before
at-rule-name-case
color-hex-case
comment-empty-line-before
custom-property-empty-line-before
declaration-empty-line-before
indentation
rule-empty-line-before
- Added:
selector-max-class rule.
- Added:
ignore: ["custom-elements"] option to selector-type-no-unknown (#2366).
- Fixed: "Cannot find module 'pify'" regression in node@4 with npm@2 (#2614).
- Fixed: no error is thrown when linting a string with
cache enabled (#2494).
- Fixed: Less
:extend is now ignored (#2571).
- Fixed:
function-parentheses-space-inside now ignores functions without parameters (#2587).
- Fixed:
length-zero-no-unit now correctly handles newlines and no spaces after colon (#2477).
- Fixed:
selector-descendant-combinator-no-non-space and selector-combinator-space-before/after now understand and check >>> shadow-piercing combinator (#2509).
- Fixed:
selector-descendant-combinator-no-non-space now ignores Less guards (#2557).
- Fixed:
selector-pseudo-class-no-unknown now checks @page at-rules and supports @page pseudo-classes (#2445).
- Fixed:
selector-pseudo-class-no-unknown now considers focus-ring, playing and paused to be known (#2507).
- Fixed:
selector-type-no-unknown now ignores MathML tags (#2478).
- Fixed:
selector-type-no-unknown now ignores the /deep/ shadow-piercing combinator (#2508).
- Fixed:
value-keyword-case now ignores variables with signs (#2558).