Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

Update dependency stylelint to v10 #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 23, 2019

This PR contains the following updates:

Package Type Update Change References
stylelint devDependencies major ^7.10.1 -> ^10.0.0 homepage, source

Release Notes

stylelint/stylelint

v10.0.1

Compare Source

  • Fixed: minimum Node.js engine reduced to 8.7.0 (#​4032).
  • Fixed: --allow-empty-input CLI flag (#​4029).
  • Fixed: color-no-invalid-hex false positives for hashes in URLs (#​4035).
  • Fixed: function-linear-gradient-no-nonstandard-direction false positives for dollar variables (#​4027).

v10.0.0

Compare Source

  • Removed: Node.js 6.x support. Node.js 8.15.1 or greater is now required (#​4006).
  • Removed: styled and jsx syntax options that were replaced with css-in-js in v9.10.0 (#​4007).
  • Changed: throws error if glob matches no files, use the --allow-empty-input flag for the old behaviour (#​3965).
  • Changed: rules are now applied in the order defined in lib/rules/index.js (#​3923).
  • Added: at-rule-property-requirelist rule (#​3997).
  • Added: disallowInList to no-duplicate-selectors (#​3936).
  • Added: ignore: ["comments"] to block-no-empty (#​4008).
  • Fixed: false negatives in declaration-based rules for CSS-in-JS (#​3933).
  • Fixed: color-no-invalid-hex false negatives for CSS-in-JS (#​3957).
  • Fixed: feature-name-no-unknown false positives for prefers-color-scheme (#​3951).
  • Fixed: function-calc-no-invalid false positives for negative numbers (#​3921).
  • Fixed: no-descending-specificity false positives for vendor prefixed pseudo-elements (#​3929).
  • Fixed: selector-max-* false negatives for nested at-rules (#​3959).
  • Fixed: value-keyword-case autofix for single-line comments within maps (#​4019).

v9.10.1

Compare Source

  • Fixed: "fatal: Not a git repository" error (#​3915).
  • Fixed: unintended increase in package size (#​3915).

v9.10.0

Compare Source

  • Added: support for ordinary regular expressions anywhere a regex string is accepted in rule config (#​3799).
  • Added: css-in-js syntax option that will replace the existing styled and jsx ones (#​3872).
  • Added: function-calc-no-invalid rule (#​3833).
  • Added: ignore: ["next-sibling"] to selector-max-type (#​3832).
  • Added: declaration-block-semicolon-space-after autofix (#​3865).
  • Fixed: autofix is now disabled when a stylelint processors is used (#​3873).
  • Fixed: CssSyntaxError for functions in template literals (#​3869).
  • Fixed: no-descending-specificity false positives for styled-components (#​3875).
  • Fixed: no-duplicate-selectors false positives for styled-components (#​3875).
  • Fixed: selector-pseudo-class-no-unknown false positives for focus-visible (#​3887).
  • Fixed: selector-max-universal false positives for flush comments containing a comma (#​3817).
  • Fixed: shorthand-property-redundant-values false positives for negative values (#​3888).

v9.9.0

Compare Source

  • Added: selector-list-comma-newline-after autofix (#​3815).
  • Added: value-list-max-empty-lines autofix (#​3814).
  • Added: ignoreSelectors: [] to selector-no-vendor-prefix (#​3748).
  • Fixed: ignored files are no longer parsed (#​3801).
  • Fixed: ignore &:extend for Less syntax (#​3824).
  • Fixed: --report-needless-disables CLI flag (#​3819).
  • Fixed: font-family-no-missing-generic-family-keyword false positives for system fonts (#​3794).

v9.8.0

Compare Source

  • Added: value-keyword-case autofix (#​3775).
  • Added: ignore: ["pseudo-classes"] to max-nesting-depth (#​3724).
  • Added: ignoreTypes:[] to selector-type-case (#​3758).
  • Added: ignoreFunctions:[] to unit-no-unkown (#​3736).
  • Fixed: error for single-line Sass comments (#​3772).
  • Fixed: at-rule-* false positives for Less variables and mixins (#​3767).
  • Fixed: max-empty-lines false positives for final newlines (#​3785).

v9.7.1

Compare Source

  • Fixed: at-rule-* false positives for Less variables and mixins (#​3759).

v9.7.0

Compare Source

  • Added: allow globally installed configuration (#​3642).
  • Added: media-feature-parentheses-space-inside autofix (#​3720).
  • Added: selector-descendant-combinator-no-non-space autofix (#​3565).
  • Added: unit-case autofix (#​3725).
  • Fixed: false negatives for Less at-imports (#​3687).
  • Fixed: SyntaxError when an empty string is used for a rule's custom message (#​3743).
  • Fixed: max-empty-lines false positives for empty lines before </style> (#​3708).
  • Fixed: selector-max-specificity false positives for functional psuedo-classes (#​3711).

v9.6.0

Compare Source

  • Added: suggestions for invalid CLI options (#​3622).
  • Added: no-empty-first-line rule (#​3650).
  • Added: at-rule-name-space-after autofix (#​3653).
  • Added: block-closing-brace-empty-line-before autofix (#​3598).
  • Added: block-closing-brace-space-before autofix (#​3673).
  • Added: comment-whitespace-inside autofix (#​3619).
  • Added: declaration-bang-space-after autofix (#​3598).
  • Added: declaration-bang-space-before autofix (#​3592).
  • Added: declaration-colon-newline-after autofix (#​3588).
  • Added: function-comma-space-after autofix (#​3555).
  • Added: function-comma-space-before autofix (#​3596).
  • Added: function-name-case autofix (#​3674).
  • Added: function-max-empty-lines autofix (#​3645).
  • Added: function-parentheses-newline-inside autofix (#​3601).
  • Added: function-whitespace-after autofix (#​3648).
  • Added: media-feature-colon-space-after autofix (#​3623).
  • Added: media-feature-colon-space-before autofix (#​3637).
  • Added: media-feature-name-case autofix (#​3685).
  • Added: media-feature-range-operator-space-after autofix (#​3639).
  • Added: media-feature-range-operator-space-before autofix (#​3618).
  • Added: media-query-list-comma-newline-after autofix (#​3643).
  • Added: media-query-list-comma-space-after autofix (#​3607).
  • Added: media-query-list-comma-space-before autofix (#​3640).
  • Added: function-parentheses-space-inside autofix (#​3563).
  • Added: selector-attribute-brackets-space-inside autofix (#​3605).
  • Added: selector-attribute-operator-space-after autofix (#​3641).
  • Added: selector-attribute-operator-space-before autofix (#​3603).
  • Added: selector-pseudo-class-case autofix (#​3671).
  • Added: selector-pseudo-class-parentheses-space-inside autofix (#​3646).
  • Added: selector-type-case autofix (#​3668).
  • Added: no-eol-whitespace autofix (#​3615).
  • Added: no-extra-semicolons autofix (#​3574).
  • Added: value-list-comma-newline-after autofix (#​3616).
  • Added: value-list-comma-space-after autofix (#​3558).
  • Added: value-list-comma-space-before autofix (#​3597).
  • Added: baseIndentLevel to indentation (#​3557).
  • Fixed: autofix for 5 whitespace rules (#​3621).
  • Fixed: linebreaks TypeError (#​3636).
  • Fixed: max-empty-lines incorrect line reporting (#​3530).
  • Fixed: media-query-list-comma-newline-after false positives for trailing comment (#​3657).
  • Fixed: no-descending-specificity false positives for CSS Modules functional pseudo-classes (#​3623).

v9.5.0

Compare Source

  • Added: bundled support for styles in CSS-in-JS object literals (#​3506).
  • Added: --print-config CLI flag (#​3532).
  • Added: block-closing-brace-newline-before autofix (#​3442).
  • Added: block-opening-brace-newline-before autofix (#​3518).
  • Added: block-opening-brace-space-after autofix (#​3520).
  • Added: block-opening-brace-newline-after autofix (#​3441).
  • Added: declaration-block-semicolon-newline-after autofix (#​3545).
  • Added: declaration-block-semicolon-space-before autofix (#​3554).
  • Added: declaration-colon-space-after autofix (#​3538).
  • Added: selector-list-comma-newline-before autofix (#​3517).
  • Added: selector-list-comma-space-after autofix (#​3490).
  • Added: unix formatter (#​3524).
  • Fixed: selector-descendant-combinator-no-non-space false positives for calculations with parenthesis (#​3508).

v9.4.0

Compare Source

  • Added: bundled support for styles in CSS-in-JS template literals (#​3405).
  • Added: linebreaks rule (#​3289).
  • Added: compact formatter (#​3488).
  • Added: at-rule-semicolon-newline-after autofix (#​3450).
  • Added: block-closing-brace-newline-after autofix (#​3443).
  • Added: block-opening-brace-space-before autofix (#​3438).
  • Added: declaration-block-trailing-semicolon autofix (#​3382).
  • Added: declaration-colon-space-before autofix (#​3445).
  • Added: property-case autofix (#​3448).
  • Added: selector-combinator-space-after autofix (#​3446).
  • Added: selector-combinator-space-before autofix (#​3457).
  • Added: selector-list-comma-space-before autofix (#​3447).
  • Fixed: block-opening-brace-newline-after false positives for nested rule-sets prefixed with comments (#​3383).
  • Fixed: declaration-block-trailing-semicolon report of errors with the --fix option (#​3493).
  • Fixed: font-family-name-quotes false positives for system-ui system font (#​3463).
  • Fixed: keyframes-name-pattern support for raw JS RegExp (#​3437).
  • Fixed: media-feature-name-no-unknown false positives for level 5 names (#​3397).
  • Fixed: no-descending-specificity false positives for #{&} (#​3420).
  • Fixed: no-missing-end-of-source-newline false positives for style attributes (#​3485).

v9.3.0

Compare Source

  • Added: support for <style> tags and style="" attributes in XML and XSLT files (#​3386).
  • Added: globbyOptions option (#​3339).
  • Added: keyframes-name-pattern rule (#​3321).
  • Added: media-feature-name-value-whitelist rule (#​3320).
  • Added: selector-pseudo-element-colon-notation autofix (#​3345).
  • Fixed: .vue files throwing errors for <style lang="stylus"> and <style lang="postcss"> (#​3331).
  • Fixed: declaration-block-no-* false positives for non-standard syntax (#​3381).
  • Fixed: function-whitespace-after false positives for "/" (#​3132).
  • Fixed: length-zero-no-unit incorrect autofix for at-includes (#​3347).
  • Fixed: max-nesting-depth false positives for nested properties (#​3349).
  • Fixed: no-empty-source false positives on vue external sources <style src="*"> tag (#​3331).
  • Fixed: max-line-length false positives for non-CSS blocks (#​3367).
  • Fixed: no-eol-whitespace false positives for non-CSS blocks (#​3367).
  • Fixed: no-extra-semicolons false positives for non-CSS blocks (#​3367).
  • Fixed: no-missing-end-of-source-newline false positives for non-CSS blocks (#​3367).

v9.2.1

Compare Source

  • Fixed: cache option hiding CssSyntaxError outputs (#​3258).
  • Fixed: regression with processors (e.g. styled-components) (#​3261).
  • Fixed: no-descending-specificity false positives for Sass nested properties (#​3283).
  • Fixed: selector-pseudo-class-no-unknown false positives proprietary webkit pseudo classes when applied to a simple selector (#​3271).

v9.2.0

Compare Source

  • Added: selector-max-pseudo-class rule (#​3195).
  • Fixed: slow require('stylelint') time (#​3242).
  • Fixed: autofix erroneously writing to unchanged files (#​3241).
  • Fixed: false negatives for template literals within script tags by updating postcss-html dependency (#​3238).
  • Fixed: indentation false positives for at-root (#​3225).
  • Fixed: max-empty-lines false positives for non-CSS blocks (#​3229).
  • Fixed: no-empty-source false positives for non-CSS blocks (#​3240).
  • Fixed: string-no-newline false positives for non-CSS blocks (#​3228).

v9.1.3

Compare Source

  • Fixed: invalid HTML causing CssSyntaxError by updating postcss-html dependency (#​3214).
  • Fixed: empty markdown block causing CssSyntaxError by updating postcss-html dependency (#​3214).

v9.1.2

Compare Source

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

v9.1.1

Compare Source

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

v9.1.0

Compare Source

  • 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).

v9.0.0

Compare Source

  • 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).

v8.4.0

Compare Source

  • 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).

v8.3.1

Compare Source

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

v8.3.0

Compare Source

  • 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).

v8.2.0

Compare Source

  • 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 and single quotes (#​2902).
  • Fixed: unit-no-unknown false positives for spaceless multiplication and division in calc() functions (#​2848).

v8.1.1

Compare Source

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

v8.1.0

Compare Source

  • 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.js API options property. Newly supported rules:
  • 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).

v8.0.0

Compare Source

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).

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant