@jeddy3 jeddy3 released this Dec 31, 2016 · 16 commits to master since this release

  • Fixed: ensure only absolute filepaths are passed to processors (#2207).



@jeddy3 jeddy3 released this Dec 18, 2016 · 24 commits to master since this release

  • Added: stylelint.formatters exposed in public Node API (#2190).
  • Added: stylelint.utils.checkAgainstRule for checking CSS against a standard stylelint rule within your own rule (#2173).
  • Added: allow-empty-input flag to CLI (#2117).
  • Added: except: ["after-rule"] option to rule-nested-empty-line-before (#2188).
  • Fixed: regression causing --stdin-filename in CLI and codeFilename in Node API to error if a non-existent filename is provided (#2128).
  • Fixed: a boolean CLI flag (e.g. --quiet) placed before an input glob no longer causes the input to be ignored (#2186).
  • Fixed: the node_modules and bower_components directories are correctly ignored by default when stylelint is used as a PostCSS plugin (#2171).
  • Fixed: bug where some Node errors in special cases did not cause the CLI to exit with a non-zero code (#2140)
  • Fixed: false positives related to LESS detached rulesets (#2089).
  • Fixed: color-named now ignores SCSS maps, so map property names can be color names (#2182).
  • Fixed: comment-whitespace-inside no longer complains about /*! comments with non-space whitespace (e.g. newlines) (#2121).
  • Fixed: media-feature-name-no-vendor-prefix no longer throws syntax errors on unknown unprefixed variants (#2152).
  • Fixed: selector-max-compound-selectors ignores SCSS nested declarations (#2102).
  • Fixed: selector-pseudo-class-no-unknown no longer reports false positives for custom selectors (#2147).



@jeddy3 jeddy3 released this Nov 19, 2016 · 106 commits to master since this release

  • Added: option customSyntax (for Node API) and --custom-syntax (for CLI).
  • Added: font-family-no-duplicate-names rule.
  • Fixed: CLI now understands absolute paths for the --custom-formatter option.
  • Fixed: the string and verbose formatters now use dim instead of gray for greater compatibility with different terminal color schemes.
  • Fixed: media-feature-parentheses-space-inside handles comments within the parentheses.
  • Fixed: selector-no-qualifying-type now ignores SCSS %placeholders.



@davidtheclark davidtheclark released this Oct 19, 2016 · 170 commits to master since this release

  • Added: selector-no-empty rule.
  • Fixed: if no config is found relative to the stylesheet, look for one relative to process.cwd().
  • Fixed: lookup ignoreFiles globs relative to process.cwd() if config is directly passed as a JS object and no configBasedir is provided.
  • Fixed: SugarSS no longer reports wrong column number in block-no-empty.
  • Fixed: configOverrides work with plugins, extends, and processors.
  • Fixed: a bug causing inaccuracy in nested stylelint-disable and stylelint-enable comments.
  • Fixed: false positives for some camel-case SVG keywords in value-keyword-case.
  • Fixed: false positives for SCSS interpolation in function-calc-no-unspaced-operator.
  • Fixed: no-descending-specificity now ignores custom property sets.



@davidtheclark davidtheclark released this Oct 10, 2016 · 213 commits to master since this release

  • Fixed: regression where using null to turn off a rule caused errors.



@jeddy3 jeddy3 released this Oct 9, 2016 · 214 commits to master since this release

  • Fixed: regression where using null for rules that take an array for their primary option would trigger a validation warning.



@jeddy3 jeddy3 released this Oct 8, 2016 · 219 commits to master since this release

  • Added: each stylesheet looks up configuration from its own path. Different files can now use different configurations during the same linting process.
  • Added: relative path extends, plugins, and processors try to load from process.cwd() if they aren't found relative to the invoking configuration.
  • Added: /* stylelint-disable-next-line */ comments.
  • Added: media-feature-name-blacklist rule.
  • Added: media-feature-name-whitelist rule.
  • Added: ignore: ["after-declaration"] option to declaration-empty-line-before.
  • Added: except: ["empty"] option to function-url-quotes.
  • Fixed: function-linear-gradient-no-nonstandard-direction no longer warns when vendor-prefixed linear-gradient properties are used correctly.
  • Fixed: no-extra-semicolons now ignores the semicolon that comes after the closing brace of a custom property set.
  • Fixed: no-unknown-animations no longer delivers false positives when there are multiple animation names.
  • Fixed: number-* rules now ignore numbers in comments and strings.
  • Fixed: value-keyword-case now ignores system color keywords.



@davidtheclark davidtheclark released this Sep 20, 2016 · 268 commits to master since this release

  • Fixed: regression in 7.3.0 which caused a "Cannot read property 'length' of undefined" error on a certain selector.



@davidtheclark davidtheclark released this Sep 19, 2016 · 276 commits to master since this release

  • Added: processors can accept options objects.
  • Added: ignore: ["inside-function"] option to color-named.
  • Fixed: --ignore-path and --report-needless-disables no longer fails when used together.
  • Fixed: block-closing-brace-newline-after and block-closing-brace-space-after now allow a trailing semicolon after the closing brace of a block.
  • Fixed: block-no-single-line now ignores empty blocks.
  • Fixed: declaration-block-no-ignored-properties now uses the value of the last occurrence of a triggering property.
  • Fixed: indentation now correctly handles _ hacks on property names.
  • Fixed: property-no-unknown now ignores SCSS nested properties.



@jeddy3 jeddy3 released this Aug 28, 2016 · 300 commits to master since this release

  • Added: --report-needless-disables and reportNeedlessDisables option.
  • Added: --ignore-disables and ignoreDisables option.
  • Added: --config-basedir option to CLI.
  • Added: declaration-block-no-redundant-longhand-properties rule.
  • Added: function-url-scheme-whitelist rule.
  • Added: media-feature-name-no-unknown rule.
  • Added: selector-descendant-combinator-no-non-space rule.
  • Added: value-list-max-empty-lines rule.
  • Added: ignoreProperties option to color-named.
  • Added: ignore: ["consecutive-duplicates-with-different-values"] option to declaration-block-no-duplicate-properties.
  • Added: ignore: ["comments"] option to max-line-length.
  • Added: ignoreAtRules option to max-nesting-depth.
  • Added: ignoreProperties option to unit-blacklist and unit-whitelist
  • Fixed: no longer parsing ignored files before ignoring them.
  • Fixed: configFile and configBasedir can now be used together.
  • Fixed: max-line-length now correctly handles Windows line endings.
  • Fixed: no-descending-specificity treats selectors with pseudo-elements as distinct from their counterparts without pseudo-classes, because they actually target different elements.
  • Fixed: no-unknown-animations and unit-blacklist now handle numbers without leading zeros.
  • Fixed: root-no-standard-properties now handles custom property sets.
  • Fixed: selector-no-type ignore: ["descendant"] option now correctly handles descendants within a selector list.
  • Fixed: selector-pseudo-class-no-unknown now understands the Shadow DOM selectors of host and host-context.
  • Fixed: selector-pseudo-element-no-unknown now understands the Shadow DOM selector of slotted.