Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump stylelint from 7.10.1 to 9.1.2 #26

Closed

Conversation

dependabot-preview[bot]
Copy link

Bumps stylelint from 7.10.1 to 9.1.2.

Release notes

9.1.2

  • Fixed: parsing of markdown files by updating postcss-html dependency (#3207).

9.1.1

  • Fixed: missing signal-exit dependency (#3186).

9.1.0

  • Added: ignore: ["first-nested"] to at-rule-empty-line-before (#3179).
  • Added: ignore: ["first-nested"] to rule-empty-line-before (#3179).
  • Fixed: unnecessary Open Collective postinstall message (#3180).

9.0.0

  • Removed: Node.JS 4.x support. Node.js 6.x or greater is now required (#3075).
  • Added: (experimental) support for SASS syntax (#2503).
  • Added: allow processors to handle PostCSS errors (#3063).
  • Added: --max-warnings CLI flag (#2942).
  • Added: selector-combinator-*list rules (#3088).
  • Added: selector-pseudo-element-*list rules (#3104).
  • Added: ignore: ["first-nested"] to custom-property-empty-line-before (#3104).
  • Added: ignore: ["first-nested"] to declaration-empty-line-before (#3103).
  • Added: ignoreProperties: [] to property-no-vendor-prefix (#3089).
  • Fixed: font-family-name-quotes unicode range increased (#2974).
  • Fixed: selector-max-id in nested at-statements (#3113).

8.4.0

  • Added: except: ["after-closing-brace"] to block-closing-brace-empty-line-before (#3011).
  • Fixed: unmet peer dependency warning for postcss-sass (#3040).
  • Fixed: false positives for CSS within comments in *.pcss files (#3064).
  • Fixed: font-family-no-missing-generic-family-keyword configuration (#3039).
  • Fixed: indentation autofix for HTML (#3044).

8.3.1

  • Fixed: font-family-no-missing-generic-family-keyword false positives for at-font-face (#3034).

8.3.0

  • Added: autofix support for stdin input (#2787).
  • Added: support for <style> tags and markdown fences in .vue and .html files (#2975).
  • Added: font-family-no-missing-generic-family-keyword rule (#2930).
  • Added: no-duplicate-at-import-rules rule (#2963).
  • Added: number-leading-zero autofix (#2921).
  • Added: number-no-trailing-zeros autofix (#2947).
  • Added: shorthand-property-no-redundant-values autofix (#2956).
  • Added: string-quotes autofix (#2959).
  • Added: ignore: ["custom-properties"] option to length-zero-no-unit (#2967).
  • Added: except: ["inside-block"] option to rule-empty-line-before (#2982).
  • Added: ignoreValues to value-no-vendor-prefix (#3015).
  • Added: ignoreMediaFeatureNames to unit-blacklist (#3027).
  • Fixed: comment-empty-line-before false positives for shared-line comments (#2986).
  • Fixed: unit-* false positives for spaceless multiplication (#2948).

8.2.0

  • Added: autofix of syntax errors in standard CSS e.g. unclosed braces and brackets (#2886).
  • Added: length-zero-no-unit autofix (#2861).
  • Added: selector-max-specificity support for level 4 evaluation context pseudo-classes (#2857).
  • Added: ignoreUnits option to number-max-precision (#2941).
  • Added: ignoreSelectors option to selector-max-specificity (#2857).
  • Added: ignoreProperties option to value-keyword-case (#2937).
  • Fixed: *-empty-line-before false negatives and positives when two or more except: [*] options were triggered (#2920).
  • Fixed: *-empty-line-before false positives for CSS in HTML (#2854).
  • Fixed: rule-empty-line-before false positives for ignore: ["inside-block"] and CSS in HTML (#2894).
  • Fixed: rule-empty-line-before false positives for except: ["after-single-line-comment"] and preceding shared-line comments (#2920).
  • Fixed: selector-list-comma-newline-after false positives for shared-line comments separated by more than once space (#2915).
  • Fixed: selector-pseudo-class-no-unknown false positives when using chained pseudo-classes (#2810).
  • Fixed: string-quotes false positives for [**charset**](https://github.com/charset) and single quotes (#2902).
  • Fixed: unit-no-unknown false positives for spaceless multiplication and division in calc() functions (#2848).

8.1.1

  • Fixed: --ignore-pattern in CLI (#2851).

8.1.0

  • Added: Allow specifying codeFilename to createStylelintResult for raw code linting standalone API (#2450).
  • Added: ignorePattern option (--ignore-pattern in CLI), to allow patterns of files to ignored (#2834).
  • Added: More rules now support experimental autofixing. Use --fix CLI parameter or fix: true Node API options property. Newly supported rules:
    • color-hex-length (#2781).
    • no-missing-end-of-source-newline (#2772).
  • Fixed: *-empty-line-before false positives shared-line comments and "first-nested" option (#2827).
  • Fixed: color-hex-length false positives for id references in url functions (#2806).
  • Fixed: indentation false positives for Less parametric mixins with rule block/snippet (#2744).
  • Fixed: no-empty-source compatability with postcss-html custom syntax (#2798).
  • Fixed: no-extra-semicolons false negatives where instances were not detected when followed by multiple comments (#2678).
  • Fixed: selector-max-specificity cannot parse selector violation for Less mixins (#2677).

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**](https://github.com/5) to [**6**](https://github.com/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).

7.13.0

  • Added: ignoreAttributes option to selector-max-attribute (#2722).
  • Fixed: selector-combinator-space-* false positives for CSS namespaced type selectors (#2715).
  • Fixed: selector-max-specificity now ignores nested non-standard selectors (#2685).

7.12.0

  • Deprecated: 6 rules, each has been replaced by a more configurable alternative (#2679).
    • function-url-data-uris rule. Use either function-url-scheme-blacklist or function-url-scheme-whitelist.
    • selector-no-attribute rule. Use selector-max-attribute with 0 as its primary option.
    • selector-no-combinator rule. Use selector-max-combinators with 0 as its primary option.
    • selector-no-id rule. Use selector-max-id with 0 as its primary option.
    • selector-no-type rule. Use selector-max-type with 0 as its primary option.
    • selector-no-universal rule. Use selector-max-universal with 0 as its primary option.
  • Added: function-url-scheme-blacklist rule (#2626).
  • Added: function-url-scheme-whitelist regex support (#2662).
  • Added: selector-max-attribute rule (#2628).
  • Added: selector-max-combinators rule (#2658).
  • Added: selector-max-id rule (#2654).
  • Added: selector-max-type rule (#2665).
  • Added: selector-max-universal rule (#2653).
  • Fixed: --fix no longer crashes when used with ignored files (#2652).
  • Fixed: max-* rules now use singular and plural nouns in their messages (#2663).

7.11.1

  • Fixed: media-feature-name-*list now accept arrays for their primary options (#2632).
  • Fixed: selector-* now ignore custom property sets (#2634).
  • Fixed: selector-pseudo-class-no-unknown now ignores Less :extend (#2625).

7.11.0

  • 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**](https://github.com/page) at-rules and supports [**page**](https://github.com/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).
Changelog

Sourced from this file

9.1.2

  • Fixed: parsing of markdown files by updating postcss-html dependency (#3207).

9.1.1

  • Fixed: missing signal-exit dependency (#3186).

9.1.0

  • Added: ignore: ["first-nested"] to at-rule-empty-line-before (#3179).
  • Added: ignore: ["first-nested"] to rule-empty-line-before (#3179).
  • Fixed: unnecessary Open Collective postinstall message (#3180).

9.0.0

  • Removed: Node.JS 4.x support. Node.js 6.x or greater is now required (#3075).
  • Added: (experimental) support for SASS syntax (#2503).
  • Added: allow processors to handle PostCSS errors (#3063).
  • Added: --max-warnings CLI flag (#2942).
  • Added: selector-combinator-*list rules (#3088).
  • Added: selector-pseudo-element-*list rules (#3104).
  • Added: ignore: ["first-nested"] to custom-property-empty-line-before (#3104).
  • Added: ignore: ["first-nested"] to declaration-empty-line-before (#3103).
  • Added: ignoreProperties: [] to property-no-vendor-prefix (#3089).
  • Fixed: font-family-name-quotes unicode range increased (#2974).
  • Fixed: selector-max-id in nested at-statements (#3113).

8.4.0

  • Added: except: ["after-closing-brace"] to block-closing-brace-empty-line-before (#3011).
  • Fixed: unmet peer dependency warning for postcss-sass (#3040).
  • Fixed: false positives for CSS within comments in *.pcss files (#3064).
  • Fixed: font-family-no-missing-generic-family-keyword configuration (#3039).
  • Fixed: indentation autofix for HTML (#3044).

8.3.1

  • Fixed: font-family-no-missing-generic-family-keyword false positives for at-font-face (#3034).

8.3.0

  • Added: autofix support for stdin input (#2787).
  • Added: support for <style> tags and markdown fences in .vue and .html files (#2975).
  • Added: font-family-no-missing-generic-family-keyword rule (#2930).
  • Added: no-duplicate-at-import-rules rule (#2963).
  • Added: number-leading-zero autofix (#2921).
  • Added: number-no-trailing-zeros autofix (#2947).
  • Added: shorthand-property-no-redundant-values autofix (#2956).
  • Added: string-quotes autofix (#2959).
  • Added: ignore: ["custom-properties"] option to length-zero-no-unit (#2967).
  • Added: except: ["inside-block"] option to rule-empty-line-before (#2982).
  • Added: ignoreValues to value-no-vendor-prefix (#3015).
  • Added: ignoreMediaFeatureNames to unit-blacklist (#3027).
  • Fixed: comment-empty-line-before false positives for shared-line comments (#2986).
  • Fixed: unit-* false positives for spaceless multiplication (#2948).

8.2.0

  • Added: autofix of syntax errors in standard CSS e.g. unclosed braces and brackets (#2886).
  • Added: length-zero-no-unit autofix (#2861).
  • Added: selector-max-specificity support for level 4 evaluation context pseudo-classes (#2857).
  • Added: ignoreUnits option to number-max-precision (#2941).
  • Added: ignoreSelectors option to selector-max-specificity (#2857).
  • Added: ignoreProperties option to value-keyword-case (#2937).
  • Fixed: *-empty-line-before false negatives and positives when two or more except: [*] options were triggered (#2920).
  • Fixed: *-empty-line-before false positives for CSS in HTML (#2854).
  • Fixed: rule-empty-line-before false positives for ignore: ["inside-block"] and CSS in HTML (#2894).
  • Fixed: rule-empty-line-before false positives for except: ["after-single-line-comment"] and preceding shared-line comments (#2920).
  • Fixed: selector-list-comma-newline-after false positives for shared-line comments separated by more than once space (#2915).
  • Fixed: selector-pseudo-class-no-unknown false positives when using chained pseudo-classes (#2810).
  • Fixed: string-quotes false positives for [**charset**](https://github.com/charset) and single quotes (#2902).
  • Fixed: unit-no-unknown false positives for spaceless multiplication and division in calc() functions (#2848).

8.1.1

  • Fixed: --ignore-pattern in CLI (#2851).

8.1.0

  • Added: Allow specifying codeFilename to createStylelintResult for raw code linting standalone API (#2450).
  • Added: ignorePattern option (--ignore-pattern in CLI), to allow patterns of files to ignored (#2834).
  • Added: More rules now support experimental autofixing. Use --fix CLI parameter or fix: true Node API options property. Newly supported rules:
    • color-hex-length (#2781).
    • no-missing-end-of-source-newline (#2772).
  • Fixed: *-empty-line-before false positives shared-line comments and "first-nested" option (#2827).
  • Fixed: color-hex-length false positives for id references in url functions (#2806).
  • Fixed: indentation false positives for Less parametric mixins with rule block/snippet (#2744).
  • Fixed: no-empty-source compatability with postcss-html custom syntax (#2798).
  • Fixed: no-extra-semicolons false negatives where instances were not detected when followed by multiple comments (#2678).
  • Fixed: selector-max-specificity cannot parse selector violation for Less mixins (#2677).

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**](https://github.com/5) to [**6**](https://github.com/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).

7.13.0

  • Added: ignoreAttributes option to selector-max-attribute (#2722).
  • Fixed: selector-combinator-space-* false positives for CSS namespaced type selectors (#2715).
  • Fixed: selector-max-specificity now ignores nested non-standard selectors (#2685).

7.12.0

  • Deprecated: 6 rules, each has been replaced by a more configurable alternative (#2679).
    • function-url-data-uris rule. Use either function-url-scheme-blacklist or function-url-scheme-whitelist.
    • selector-no-attribute rule. Use selector-max-attribute with 0 as its primary option.
    • selector-no-combinator rule. Use selector-max-combinators with 0 as its primary option.
    • selector-no-id rule. Use selector-max-id with 0 as its primary option.
    • selector-no-type rule. Use selector-max-type with 0 as its primary option.
    • selector-no-universal rule. Use selector-max-universal with 0 as its primary option.
  • Added: function-url-scheme-blacklist rule (#2626).
  • Added: function-url-scheme-whitelist regex support (#2662).
  • Added: selector-max-attribute rule (#2628).
  • Added: selector-max-combinators rule (#2658).
  • Added: selector-max-id rule (#2654).
  • Added: selector-max-type rule (#2665).
  • Added: selector-max-universal rule (#2653).
  • Fixed: --fix no longer crashes when used with ignored files (#2652).
  • Fixed: max-* rules now use singular and plural nouns in their messages (#2663).

7.11.1

  • Fixed: media-feature-name-*list now accept arrays for their primary options (#2632).
  • Fixed: selector-* now ignore custom property sets (#2634).
  • Fixed: selector-pseudo-class-no-unknown now ignores Less :extend (#2625).

7.11.0

  • 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**](https://github.com/page) at-rules and supports [**page**](https://github.com/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).
Commits
  • 1e3b7a6 Update eslint to the latest version 🚀 (#2822)
  • 58c7853 chore: Use ~ for ESLint sematic versioning in package.json
  • c2e3de9 Allow specifying codeFilename to createStylelintResult for raw code linti...
  • 73f99bb Update CHANGELOG.md
  • c511783 Update remark-validate-links to the latest version 🚀 (#2830)
  • c678193 Add stylelint-processor-styled-components to docs (#2836)
  • 2a9c1c5 Fix outdated example rules object
  • 32422ab feat: Add ignorePattern option. (#2834)
  • 14163e0 Update CHANGELOG.md
  • 545e28d add missing comma
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If you'd like to skip this version, you can just close this PR. If you have any feedback just mention @dependabot in the comments below.

Bumps [stylelint](https://github.com/stylelint/stylelint) from 7.10.1 to 9.1.2.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](stylelint/stylelint@7.10.1...9.1.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview
Copy link
Author

Superseded by #27.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/stylelint-9.1.2 branch March 15, 2018 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant