- Added support for stylelint 15 (#53)
- Dropped support for Node.js below 14.13
- Bumped
css-tree
to^2.3.1
- Extended
ignoreAtrules
andignoreProperties
options to accept RegExp patterns (#19, #45) - Fixed Sass's
@else
at-rule to allow have no a prelude (#46) - Changed at-rule prelude validation to emit no warnings when a prelude contains Sass/Less syntax extensions (#44)
- Added
syntaxExtensions
option to specify syntax extensions, i.e.sass
or/andless
. For now the plugin validates CSS only by default - Added at-rule validation for name, prelude and descriptors
- Added
atrules
option to extend or alter at-rule syntax definition dictionary or disable at-rule validation whenfalse
is passed as a value for the option - Added
ignoreAtrules
option to specify at-rule names which should not be validated - Used
isStandardSyntax*()
helpers fromstylelint
to reduce failures for non-standard syntax (e.g. Less or Sass) - Added support for Less & Sass namespaces, a value with such constructions are ignored now instead of failure (#39)
- Added a column to mismatch error details
- Renamed
ignore
option intoignoreProperties
to be more clear what is ignoring;ignore
option is still work but cause to a deprecation warning - Fixed
ignoreValue
option to apply for parse errors either (#43) - Fixed failure on a declaration with a Less variable reference, i.e. ignore such declarations for now
- Package
- Changed supported versions of Node.js to
^12.20.0
,^14.13.0
and>=15.0.0
- Converted to ES modules. However, CommonJS is supported as well (dual module)
- Bumped
css-tree
to2.0
and latestmdn-data
dictionaries
- Changed supported versions of Node.js to
- Bumped CSSTree to
^1.0.0
(mdn-data is bumped to2.0.12
) - Added
properties
andtypes
options to extend syntax dictionary - Added
ignoreValue
option (#14)
- Added support for stylelint 13 (#25, thanks to @limonte)
- Added support for stylelint 12 (#24, #23, thanks to @limonte & @gforcada)
- Bumped CSSTree to
1.0.0-alpha.38
(mdn-data is bumped to2.0.6
)
- Fixed regression after CSSTree bump to 1.0.0-alpha.34
- Added support for stylelint 11 (#21, thanks to @ntwb)
- Bumped CSSTree to 1.0.0-alpha.34
- Bumped CSSTree to 1.0.0-alpha.33
- Bumped CSSTree to 1.0.0-alpha.32
- Bumped CSSTree to 1.0.0-alpha.31
- Fixed missed
console.log()
(#18)
- Added support for stylelint 10 (#17, thanks to @limonte)
- Bumped CSSTree to 1.0.0-alpha.30
- Bumped CSSTree to 1.0.0-alpha.29
- Bumped CSSTree to
1.0.0-alpha.28
(bug fixes) - Bumped stylelint to
>=7.0.0 <10.0.0
and make it a peer dependency
- Bumped CSSTree to
1.0.0-alpha.26
(improved parsing and bug fixes)
- Bumped CSSTree to
1.0.0-alpha21
(improved parsing and updated property grammars)
- Ignore any declaration which property name looks using a preprocessor interpolation (e.g.
smth-@{foo}
orsmth-#{$foo}
) - Ignore values with
Sass
interpolation (#7)
- Ignore
Less
andSass
var declarations that treats as regular declarations by PostCSS (#4) - Implemented
ignore
option to define a list of property names that should be ignored by the validator. It may be used as a workaround to avoid warnings about syntax extensions (#5)
- Bump CSSTree to
1.0.0-alpha16
- Ignore values with
Less
andSass
extensions (#3)
- Bump CSSTree to
1.0.0-alpha12
- Bump CSSTree to
1.0.0-alpha9
- Bump CSSTree to
1.0.0-alpha8
- Bump CSSTree to
1.0.0-alpha5
- Tweak description files
- Initial implementation