Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Update stylelint to the latest version 馃殌 #72

Merged
merged 2 commits into from
Jul 17, 2017

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Jul 16, 2017

Version 8.0.0 of stylelint just got published.

Dependency stylelint
Current Version 7.13.0
Type devDependency

The version 8.0.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of stylelint.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes 8.0.0

This release is accompanied by:

Changes:

  • Removed: the 21 rules deprecated in 7.8.0 & 7.12.0 (#2422 & #2693).
    • block-no-single-line.
    • custom-property-no-outside-root
    • declaration-block-no-ignored-properties.
    • declaration-block-properties-order.
    • function-url-data-uris.
    • media-feature-no-missing-punctuation.
    • no-browser-hacks.
    • no-indistinguishable-colors.
    • no-unsupported-browser-features.
    • root-no-standard-properties
    • rule-nested-empty-line-before.
    • rule-non-nested-empty-line-before.
    • selector-no-attribute.
    • selector-no-combinator.
    • selector-no-empty.
    • selector-no-id.
    • selector-no-type.
    • selector-no-universal.
    • selector-root-no-composition.
    • stylelint-disable-reason.
    • time-no-imperceptible.
  • Removed: the 4 options deprecated in 7.8.0 (#2433).
    • "all-nested" option for at-rule-empty-line-before.
    • "blockless-group" option for at-rule-empty-line-before.
    • "between-comments" option for comment-empty-line-before.
    • "at-rules-without-declaration-blocks" option for max-nesting-depth.
  • Changed: compatibility with postcss from @5 to @6 (#2561).
  • Changed: parse errors now trigger exit with non-zero code (#2713).
  • Changed: report-needless-disables now exits with non-zero code (#2341).
  • Changed: *-blacklist and *-whitelist (and ignore* [] secondary options) are now case sensitive. Use regular expressions with the i flag for case insensitivity (#2709).
  • Changed: *-empty-line-before now correctly handle shared-line comments (#2262).
  • Changed: *-empty-line-before now consider line as empty if it contains whitespace only (#2440).
  • Changed: function-linear-gradient-no-nonstandard-direction now checks all linear-gradients in a value list (#2496).
  • Changed: selector-max-compound-selectors now checks all resolved selectors, rather than just the deepest (#2350).
  • Added: disableDefaultIgnores option (--disable-default-ignores in CLI), to allow linting of node_modules and bower_components directories (#2464).
  • Added: more efficient file ignoring with .stylelintignore (#2464).
  • Added: ignore: ["child"] option to selector-max-type (#2701).
  • Fixed: declaration-block-no-redundant-longhand-properties and declaration-block-no-shorthand-property-overrides understand more shorthand properties (#2354).
  • Fixed: selector-max-type no longer produces false negatives for when child, next-sibling and following-sibling combinators are used with ignore: ["descendant"] (#2701).
Commits

The new version differs by 14 commits.

  • c82cff2 Prepare 8.0.0
  • 9085ee8 chore(package): update flow-bin to version 0.50.0 (#2740)
  • b8804ae Revert jest lint staged (#2752)
  • 825117b chore: Update pify to 3.0.0 (#2751)
  • 69b380d chore: Update balance-match to 1.0.0 (#2750)
  • 221bca5 chore: Add Jest to lint-staged to run Jest against staged files ready for commit (#2749)
  • fca6610 chore: Update all npm minor and patch module versions. (#2745)
  • 0498671 Use latest npm (#2743)
  • 057cd59 Use prettier (#2706)
  • 831eb8f Document rules that ignore @import in Less (#2741)
  • f6fbad3 Pretty-print code (#2742)
  • be558d4 8.0.0 (#2735)
  • afdff28 remove LESS support experimental disclaimer (#2739)
  • 8abafb8 Docs: keyframe-declaration-no-important (#2730)

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 馃尨

@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.408% when pulling 375e644 on greenkeeper/stylelint-8.0.0 into 7c32ce8 on master.

Copy link
Member

@mxstbr mxstbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@emilgoldsmith emilgoldsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah seems there's no change in the API, and it's mostly just some rules changing so that shouldn't affect us :).

@ismay ismay merged commit c974ef2 into master Jul 17, 2017
@greenkeeper greenkeeper bot deleted the greenkeeper/stylelint-8.0.0 branch July 17, 2017 14:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants