stylelint-validator

Stylelint plugin to validate CSS syntax

MIT License

Downloads
217.8K
Stars
92
Committers
4

Bot releases are visible (Hide)

stylelint-validator - 3.0.0 Latest Release

Published by lahmatiy over 1 year ago

  • Added support for stylelint 15 (#53)
  • Dropped support for Node.js below 14.13
stylelint-validator - 2.1.0

Published by lahmatiy over 1 year ago

  • Bumped css-tree to ^2.3.1 (#47, #48)
  • Extended ignoreAtrules and ignoreProperties 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)
stylelint-validator - 2.0.0 – At-rule validation, ignore options and Sass/Less improvements, ESM support

Published by lahmatiy almost 3 years ago

  • Added syntaxExtensions option to specify syntax extensions, i.e. sass or/and less. 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 when false is passed as a value for the option
  • Added ignoreAtrules option to specify at-rule names which should not be validated
  • Used isStandardSyntax*() helpers from stylelint 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 into ignoreProperties 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
  • Stylelint 14.0 support
  • 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 to 2.0 and latest mdn-data dictionaries
stylelint-validator - 1.9.0

Published by lahmatiy almost 4 years ago

  • Bumped CSSTree to ^1.0.0 (mdn-data is bumped to 2.0.12)
  • Added properties and types options to extend syntax dictionary
  • Added ignoreValue option (#14)
stylelint-validator - 1.8.0

Published by lahmatiy over 4 years ago

  • Added support for stylelint 13 (#25, thanks to @limonte)
stylelint-validator - 1.7.0

Published by lahmatiy almost 5 years ago

  • Added support for stylelint 12 (#24, #23, thanks to @limonte & @gforcada)
  • Bumped CSSTree to 1.0.0-alpha.38 (mdn-data is bumped to 2.0.6)
stylelint-validator - 1.6.1

Published by lahmatiy about 5 years ago

  • Fixed regression after CSSTree bump to 1.0.0-alpha.34
stylelint-validator - 1.6.0

Published by lahmatiy about 5 years ago

  • Added support for stylelint 11 (#21, thanks to @ntwb)
  • Bumped CSSTree to 1.0.0-alpha.34
stylelint-validator - 1.5.2

Published by lahmatiy over 5 years ago

stylelint-validator - 1.5.1

Published by lahmatiy over 5 years ago

stylelint-validator - 1.5.0

Published by lahmatiy over 5 years ago

stylelint-validator - 1.4.1

Published by lahmatiy over 5 years ago

  • Fixed missed console.log() (#18)
stylelint-validator - 1.4.0

Published by lahmatiy over 5 years ago

  • Added support for stylelint 10 (#17, thanks to @limonte)
  • Bumped CSSTree to 1.0.0-alpha.30
stylelint-validator - 1.3.0

Published by lahmatiy over 6 years ago

stylelint-validator - 1.2.2

Published by lahmatiy over 6 years ago

  • Updated CSSTree to 1.0.0-alpha.28 (bug fixes)
  • Updated stylelint to >=7.0.0 <10.0.0 and make it a peer dependency
stylelint-validator - 1.2.1

Published by lahmatiy almost 7 years ago

  • Updated CSSTree to 1.0.0-alpha.26 (improved parsing and bug fixes)
stylelint-validator - 1.2.0

Published by lahmatiy about 7 years ago

  • Bump CSSTree to 1.0.0-alpha21 (improved parsing and updated property grammars)
stylelint-validator - 1.1.1

Published by lahmatiy over 7 years ago

  • Ignore any declaration which property name looks using a preprocessor interpolation (e.g. smth-@{foo} or smth-#{$foo})
  • Ignore values with Sass interpolation (#7)
stylelint-validator - 1.1.0

Published by lahmatiy over 7 years ago

  • Ignore Less and Sass 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)
stylelint-validator - 1.0.6

Published by lahmatiy over 7 years ago

  • Bump CSSTree to 1.0.0-alpha16
  • Ignore values with Less and Sass extensions (#3)
Package Rankings
Top 2.14% on Npmjs.org
Top 31.63% on Repo1.maven.org
Badges
Extracted from project README
NPM version Build Status Coverage Status
Related Projects