stylelint / stylelint-demo

The online demo on the Stylelint website
https://stylelint.io/demo/
MIT License
15 stars 8 forks source link

Bump the development-dependencies group with 9 updates #414

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps the development-dependencies group with 9 updates:

Package From To
@types/node 20.14.9 22.0.2
@typescript-eslint/eslint-plugin 7.14.1 8.0.0
@typescript-eslint/parser 7.14.1 8.0.0
eslint-config-stylelint 21.0.0 22.0.0
husky 9.0.11 9.1.4
prettier 3.3.2 3.3.3
stylelint 16.6.1 16.8.1
typescript 5.5.2 5.5.4
vite 5.3.2 5.3.5

Updates @types/node from 20.14.9 to 22.0.2

Commits


Updates @typescript-eslint/eslint-plugin from 7.14.1 to 8.0.0

Release notes

Sourced from @​typescript-eslint/eslint-plugin's releases.

v8.0.0

8.0.0 (2024-07-31)

🚀 Features

  • stricter parent types for the AST (#9560)
  • speed up non-type-aware linting with project service (#8322)
  • v8 integration branch (#9165)
  • ast-spec: remove deprecated type params (#8933)
  • eslint-plugin: remove formatting/layout rules (#8833)
  • eslint-plugin: [prefer-nullish-coalescing] change ignoreConditionalTests default to true (#8872)
  • eslint-plugin: deprecate no-loss-of-precision extension rule (#8832)
  • eslint-plugin: [no-unused-vars] align catch behavior to ESLint 9 (#8971)
  • eslint-plugin: split no-empty-object-type out from ban-types and no-empty-interfaces (#8977)
  • eslint-plugin: remove deprecated no-throw-literal rule (#9092)
  • eslint-plugin: apply initial config changes for v8 (#9079)
  • eslint-plugin: remove no-useless-template-literals (#9207)
  • eslint-plugin: [no-floating-promises] add 'allowForKnownSafeCalls' option (#9234)
  • eslint-plugin: replace ban-types with no-restricted-types, no-unsafe-function-type, no-wrapper-object-types (#9102)
  • eslint-plugin: [no-unused-vars] add reportUnusedIgnorePattern option (#9324)
  • eslint-plugin: [no-unused-vars] support ignoreClassWithStaticInitBlock (#9325)
  • eslint-plugin: [no-unused-vars] handle comma operator for assignments, treat for-of the same as for-in (#9326)
  • eslint-plugin: [no-unused-vars] report if var used only in typeof (#9330)
  • eslint-plugin: [no-floating-promises] disable checkThenables by default for v8 (#9559)
  • eslint-plugin: [return-await] add return-await to strict-type-checked preset (#9604)
  • eslint-plugin: [no-unnecessary-type-parameters] promote to strict (#9662)
  • parser: always enable comment, loc, range, tokens (#8617)
  • rule-tester: support multipass fixes (#8883)
  • rule-tester: switched to flat config (#9603)
  • type-utils: remove getTokenAtPosition (#9444)
  • type-utils: support intersection types in TypeOrValueSpecifier (#9633)
  • typescript-estree: remove slow deprecated and isolated programs (#8834)
  • typescript-estree: split TSMappedType typeParameter into constraint and key (#7065)
  • typescript-estree: rename automaticSingleRunInference to disallowAutomaticSingleRunInference (#8922)
  • typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService (#9084)
  • typescript-estree: remove EXPERIMENTAL_useSourceOfProjectReferenceRedirect (#9104)
  • typescript-estree: also remove projectService in withoutProjectParserOptions (#9287)
  • typescript-estree: exposes ProjectService logs through the plugin (#9337)
  • utils: add Linter configType constructor option (#8999)
  • utils: swap LegacyESLint out for FlatESLint as ESLint export (#8972)
  • utils: remove deprecated context helpers (#9000)
  • utils: allow specifying additional rule meta.docs in RuleCreator (#9025)

🩹 Fixes

  • correct eslint-plugin's peerDependency on parser@8 (#9089)
  • bring back in allowdefaultprojectforfiles rename (7dfceeeea)
  • disable projectService in disabled-type-checked shared config (#9460)
  • eslint-plugin: include alpha pre-releases in parser peer dependency (#9099)

... (truncated)

Changelog

Sourced from @​typescript-eslint/eslint-plugin's changelog.

8.0.0 (2024-07-31)

🚀 Features

  • stricter parent types for the AST

  • typescript-estree: split TSMappedType typeParameter into constraint and key

  • eslint-plugin: remove formatting/layout rules

  • eslint-plugin: [prefer-nullish-coalescing] change ignoreConditionalTests default to true

  • eslint-plugin: deprecate no-loss-of-precision extension rule

  • eslint-plugin: [no-unused-vars] align catch behavior to ESLint 9

  • typescript-estree: rename automaticSingleRunInference to disallowAutomaticSingleRunInference

  • utils: allow specifying additional rule meta.docs in RuleCreator

  • eslint-plugin: split no-empty-object-type out from ban-types and no-empty-interfaces

  • rule-tester: support multipass fixes

  • typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService

  • eslint-plugin: remove deprecated no-throw-literal rule

  • eslint-plugin: apply initial config changes for v8

  • eslint-plugin: remove no-useless-template-literals

  • eslint-plugin: [no-floating-promises] add 'allowForKnownSafeCalls' option

  • eslint-plugin: replace ban-types with no-restricted-types, no-unsafe-function-type, no-wrapper-object-types

  • eslint-plugin: [no-unused-vars] add reportUnusedIgnorePattern option

  • eslint-plugin: [no-unused-vars] support ignoreClassWithStaticInitBlock

  • eslint-plugin: [no-unused-vars] handle comma operator for assignments, treat for-of the same as for-in

  • eslint-plugin: [no-unused-vars] report if var used only in typeof

  • eslint-plugin: [no-floating-promises] disable checkThenables by default for v8

  • rule-tester: switched to flat config

  • eslint-plugin: [no-unnecessary-type-parameters] promote to strict

... (truncated)

Commits
  • 1db993a chore(release): publish 8.0.0
  • ce09260 docs(eslint-plugin): [no-unnecessary-type-parameters] add admonition about ru...
  • b8274d3 fix(rule-tester): provide Linter a cwd in its constructor (#9678)
  • 1b0468e Merge branch 'main'
  • 838dd0c chore: use parserOptions.projectService internally (#9659)
  • 35cf3d2 chore(release): publish 7.18.0
  • 46a5709 docs: link no-duplicate-type-constituents and no-redundant-type-constituents ...
  • 9eec790 fix(eslint-plugin): [strict-boolean-expressions] support branded booleans (#9...
  • 9927a29 docs: add ast-spec, type-utils docs with docusaurus-plugin-typedoc (#9293)
  • 6cebdf6 feat(eslint-plugin): [no-unnecessary-type-parameters] promote to strict (#9662)
  • Additional commits viewable in compare view


Updates @typescript-eslint/parser from 7.14.1 to 8.0.0

Release notes

Sourced from @​typescript-eslint/parser's releases.

v8.0.0

8.0.0 (2024-07-31)

🚀 Features

  • stricter parent types for the AST (#9560)
  • speed up non-type-aware linting with project service (#8322)
  • v8 integration branch (#9165)
  • ast-spec: remove deprecated type params (#8933)
  • eslint-plugin: remove formatting/layout rules (#8833)
  • eslint-plugin: [prefer-nullish-coalescing] change ignoreConditionalTests default to true (#8872)
  • eslint-plugin: deprecate no-loss-of-precision extension rule (#8832)
  • eslint-plugin: [no-unused-vars] align catch behavior to ESLint 9 (#8971)
  • eslint-plugin: split no-empty-object-type out from ban-types and no-empty-interfaces (#8977)
  • eslint-plugin: remove deprecated no-throw-literal rule (#9092)
  • eslint-plugin: apply initial config changes for v8 (#9079)
  • eslint-plugin: remove no-useless-template-literals (#9207)
  • eslint-plugin: [no-floating-promises] add 'allowForKnownSafeCalls' option (#9234)
  • eslint-plugin: replace ban-types with no-restricted-types, no-unsafe-function-type, no-wrapper-object-types (#9102)
  • eslint-plugin: [no-unused-vars] add reportUnusedIgnorePattern option (#9324)
  • eslint-plugin: [no-unused-vars] support ignoreClassWithStaticInitBlock (#9325)
  • eslint-plugin: [no-unused-vars] handle comma operator for assignments, treat for-of the same as for-in (#9326)
  • eslint-plugin: [no-unused-vars] report if var used only in typeof (#9330)
  • eslint-plugin: [no-floating-promises] disable checkThenables by default for v8 (#9559)
  • eslint-plugin: [return-await] add return-await to strict-type-checked preset (#9604)
  • eslint-plugin: [no-unnecessary-type-parameters] promote to strict (#9662)
  • parser: always enable comment, loc, range, tokens (#8617)
  • rule-tester: support multipass fixes (#8883)
  • rule-tester: switched to flat config (#9603)
  • type-utils: remove getTokenAtPosition (#9444)
  • type-utils: support intersection types in TypeOrValueSpecifier (#9633)
  • typescript-estree: remove slow deprecated and isolated programs (#8834)
  • typescript-estree: split TSMappedType typeParameter into constraint and key (#7065)
  • typescript-estree: rename automaticSingleRunInference to disallowAutomaticSingleRunInference (#8922)
  • typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService (#9084)
  • typescript-estree: remove EXPERIMENTAL_useSourceOfProjectReferenceRedirect (#9104)
  • typescript-estree: also remove projectService in withoutProjectParserOptions (#9287)
  • typescript-estree: exposes ProjectService logs through the plugin (#9337)
  • utils: add Linter configType constructor option (#8999)
  • utils: swap LegacyESLint out for FlatESLint as ESLint export (#8972)
  • utils: remove deprecated context helpers (#9000)
  • utils: allow specifying additional rule meta.docs in RuleCreator (#9025)

🩹 Fixes

  • correct eslint-plugin's peerDependency on parser@8 (#9089)
  • bring back in allowdefaultprojectforfiles rename (7dfceeeea)
  • disable projectService in disabled-type-checked shared config (#9460)
  • eslint-plugin: include alpha pre-releases in parser peer dependency (#9099)

... (truncated)

Changelog

Sourced from @​typescript-eslint/parser's changelog.

8.0.0 (2024-07-31)

🚀 Features

  • parser: always enable comment, loc, range, tokens

  • typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService

❤️ Thank You

  • Abraham Guo
  • Alfred Ringstad
  • auvred
  • Brad Zacher
  • Christopher Aubut
  • Collin Bachman
  • James Henry
  • Josh Goldberg
  • Josh Goldberg ✨
  • Kirk Waiblinger
  • StyleShit
  • Victor Lin
  • Yukihiro Hasegawa

You can read about our versioning strategy and releases on our website.

7.18.0 (2024-07-29)

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

7.17.0 (2024-07-22)

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

7.16.1 (2024-07-15)

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

7.16.0 (2024-07-08)

🩹 Fixes

... (truncated)

Commits


Updates eslint-config-stylelint from 21.0.0 to 22.0.0

Release notes

Sourced from eslint-config-stylelint's releases.

22.0.0

  • Removed: no-confusing-arrow because of the deprecation of formatting rules.
  • Changed: replace deprecated padding-line-between-statements with @stylistic/js/padding-line-between-statements.
  • Changed: bump eslint-plugin-jest from v27 to v28.
  • Changed: bump eslint-plugin-n from v16 to v17.
  • Fixed: missing funding field in package.json.
Changelog

Sourced from eslint-config-stylelint's changelog.

22.0.0

  • Removed: no-confusing-arrow because of the deprecation of formatting rules.
  • Changed: replace deprecated padding-line-between-statements with @stylistic/js/padding-line-between-statements.
  • Changed: bump eslint-plugin-jest from v27 to v28.
  • Changed: bump eslint-plugin-n from v16 to v17.
  • Fixed: missing funding field in package.json.
Commits
  • f80257c 22.0.0
  • ee6a00f Prepare 22.0.0
  • da17de6 Bump eslint-plugin-jest from 28.3.0 to 28.6.0 (#286)
  • 7424a70 Bump @​stylistic/eslint-plugin-js from 2.2.2 to 2.3.0 (#285)
  • 793a74e Bump the development-dependencies group with 2 updates (#283)
  • 5c631c6 Remove no-confusing-arrow because of the deprecation of formatting rules (#...
  • 2fa30c1 Bump the development-dependencies group with 2 updates (#280)
  • 385d87c Bump eslint-plugin-n from 17.7.0 to 17.9.0 (#281)
  • bbfdb0f Add changelog item for next version (#279)
  • c7acf9d Replace deprecated padding-line-between-statements with `@stylistic/js/padd...
  • Additional commits viewable in compare view


Updates husky from 9.0.11 to 9.1.4

Release notes

Sourced from husky's releases.

v9.1.4

  • Improve deprecation notice

v9.1.3

  • fix: better handle space in PATH

v9.1.2

Show a message instead of automatically removing deprecated code.

This only concerns projects that still have the following code in their hooks:

- #!/usr/bin/env sh # <- This is deprecated, remove it
- . "$(dirname -- "$0")/_/husky.sh"  # <- This is deprecated, remove it

Rest of your hook code

Hooks with these lines will fail in v10.0.0

v9.1.1

Super saiyan god dog! It's over 9.0.0!

What's new

You can now run package commands directly, no need for npx or equivalents. It makes writing hooks more intuitive and is also slightly faster 🐺⚡️

# .husky/pre-commit
- npx jest
+ jest # ~0.2s faster

A new recipe has been added to the docs. Lint staged files without external dependencies (inspired by Prettier docs). Feel free to modify it.

# .husky/pre-commit
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
git update-index --again

For more advanced use cases, see lint-staged.

Fixes

... (truncated)

Commits


Updates prettier from 3.3.2 to 3.3.3

Release notes

Sourced from prettier's releases.

3.3.3

🔗 Changelog

Changelog

Sourced from prettier's changelog.

3.3.3

diff

Add parentheses for nullish coalescing in ternary (#16391 by @​cdignam-segment)

This change adds clarity to operator precedence.

// Input
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;

// Prettier 3.3.2
foo ? bar ?? foo : baz;
foo ?? bar ? a : b;
a ? b : foo ?? bar;

// Prettier 3.3.3
foo ? (bar ?? foo) : baz;
(foo ?? bar) ? a : b;
a ? b : (foo ?? bar);

Add parentheses for decorator expressions (#16458 by @​y-schneider)

Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5.

// Input
@(foo`tagged template`)
class X {}

// Prettier 3.3.2
@​footagged template
class X {}

// Prettier 3.3.3
@(footagged template)
class X {}

Support @let declaration syntax (#16474 by @​sosukesuzuki)

Adds support for Angular v18 @let declaration syntax.

Please see the following code example. The @let declaration allows you to define local variables within the template:

... (truncated)

Commits


Updates stylelint from 16.6.1 to 16.8.1

Release notes

Sourced from stylelint's releases.

16.8.1

16.8.0

  • Deprecated: github formatter (#7865) (@​marcalexiei).
  • Fixed: function-url-quotes false positives for SCSS variables and #/? characters (#7874) (@​vimalloc).
  • Fixed: keyframe-selector-notation false positives for entry-crossing and exit-crossing (#7859) (@​romainmenke).
  • Fixed: no-descending-specificity false positives for nested rules without declarations (#7850) (@​romainmenke).
  • Fixed: no-duplicate-selectors end positions (#7867) (@​romainmenke).
  • Fixed: no-duplicate-selectors false negatives for three or more duplicates (#7867) (@​romainmenke).
  • Fixed: selector-max-compound-selectors error for @nest (#7875) (@​romainmenke).
  • Fixed: selector-pseudo-class-no-unknown false positives for :active-view-transition and :active-view-transition-type() (#7868) (@​Mouvedia).
  • Fixed: selector-type-*, selector-max-type and selector-class-pattern false positives for <timeline-range-name> in keyframe selectors (#7856) (@​romainmenke).
  • Fixed: stylelint.utils.checkAgainstRule() regression when reportNeedlessDisables and quiet are both enabled (#7879) (@​ybiquitous).
  • Fixed: configuration comments within selector and value lists being ignored (#7839) (@​romainmenke).

16.7.0

  • Changed: tap formatter to support TAP14 (#7759) (@​Mouvedia).
  • Added: url secondary option (#7743) (@​emmacharp).
  • Fixed: at-rule-no-unknown false positives for @historical-forms and @font-palette-values (#7774) (@​Mouvedia).
  • Fixed: at-rule-no-unknown false positives for @view-transition (#7753) (@​sebdanielsson).
  • Fixed: at-rule-no-vendor-prefix false negatives for @-moz-document and @-webkit-viewport (#7772) (@​Mouvedia).
  • Fixed: comment-whitespace-inside end positions (#7744) (@​Mouvedia).
  • Fixed: declaration-block-no-duplicate-properties reported ranges (#7758) (@​Mouvedia).
  • Fixed: declaration-block-no-redundant-longhand-properties/declaration-block-no-shorthand-property-overrides false negatives for font-variant (#7734) (@​Bilie).
  • Fixed: font-family-name-quotes false negatives for -moz-*/-webkit-* keywords (#7777) (@​Mouvedia).
  • Fixed: font-family-no-missing-generic-family-keyword false negatives for font families which names match a CSS3 font-variant keyword (#7823) (@​Mouvedia).
  • Fixed: function-name-case end positions (#7747) (@​Mouvedia).
  • Fixed: function-no-unknown performance by reducing file read count (#7801) (@​ybiquitous).
  • Fixed: media-feature-name-no-vendor-prefix autofix (#7770) (@​Mouvedia).
  • Fixed: no-invalid-double-slash-comments reported ranges (#7768) (@​Mouvedia).
  • Fixed: property-no-unknown false positives for navigation and miscellaneous legacy properties (#7764) (@​Mouvedia).
  • Fixed: quietDeprecationWarnings to suppress stylelint:003 warning (#7837) (@​ybiquitous).
  • Fixed: selector-no-vendor-prefix autofix (#7763) (@​Mouvedia).
  • Fixed: selector-not-notation end positions when new lines are part of the selector (#7755) (@​Mouvedia).
  • Fixed: selector-type-case end positions (#7752) (@​Mouvedia).
  • Fixed: shorthand-property-no-redundant-values false negatives for logical properties, overflow, overscroll-behavior, scroll-margin and scroll-padding (#7808) (@​Mouvedia).
  • Fixed: string-no-newline false positives for escaped multi-line (#7818) (@​romainmenke).
  • Fixed: value-keyword-case end positions (#7760) (@​Mouvedia).
  • Fixed: stylelint.utils.checkAgainstRule() for Promise-based rules (#7821) (@​aaronccasanova).
  • Fixed: stylelint.utils.checkAgainstRule() to use result.stylelint if present (#7833) (@​ybiquitous).
  • Fixed: YAML diagnostic block end marker line of the tap formatter (#7759) (@​Mouvedia).
  • Fixed: autofix of incorrectly implemented plugins when unscoped stylelint commands are present (#7733) (@​romainmenke).
Changelog

Sourced from stylelint's changelog.

16.8.1

16.8.0

  • Deprecated: github formatter (#7865) (@​marcalexiei).
  • Fixed: function-url-quotes false positives for SCSS variables and #/? characters (#7874) (@​vimalloc).
  • Fixed: keyframe-selector-notation false positives for entry-crossing and exit-crossing (#7859) (@​romainmenke).
  • Fixed: no-descending-specificity false positives for nested rules without declarations (#7850) (@​romainmenke).
  • Fixed: no-duplicate-selectors end positions (#7867) (@​romainmenke).
  • Fixed: no-duplicate-selectors false negatives for three or more duplicates (#7867) (@​romainmenke).
  • Fixed: selector-max-compound-selectors error for @nest (#7875) (@​romainmenke).
  • Fixed: selector-pseudo-class-no-unknown false positives for :active-view-transition and :active-view-transition-type() (#7868) (@​Mouvedia).
  • Fixed: selector-type-*, selector-max-type and selector-class-pattern false positives for <timeline-range-name> in keyframe selectors (#7856) (@​romainmenke).
  • Fixed: stylelint.utils.checkAgainstRule() regression when reportNeedlessDisables and quiet are both enabled (#7879) (@​ybiquitous).
  • Fixed: configuration comments within selector and value lists being ignored (#7839) (@​romainmenke).

16.7.0

  • Changed: tap formatter to support TAP14 (#7759) (@​Mouvedia).
  • Added: url secondary option (#7743) (@​emmacharp).
  • Fixed: at-rule-no-unknown false positives for @historical-forms and @font-palette-values (#7774) (@​Mouvedia).
  • Fixed: at-rule-no-unknown false positives for @view-transition (#7753) (@​sebdanielsson).
  • Fixed: at-rule-no-vendor-prefix false negatives for @-moz-document and @-webkit-viewport (#7772) (@​Mouvedia).
  • Fixed: comment-whitespace-inside end positions (#7744) (@​Mouvedia).
  • Fixed: declaration-block-no-duplicate-properties reported ranges (#7758) (@​Mouvedia).
  • Fixed: declaration-block-no-redundant-longhand-properties/declaration-block-no-shorthand-property-overrides false negatives for font-variant (#7734) (@​Bilie).
  • Fixed: font-family-name-quotes false negatives for -moz-*/-webkit-* keywords (#7777) (@​Mouvedia).
  • Fixed: font-family-no-missing-generic-family-keyword false negatives for font families which names match a CSS3 font-variant keyword (#7823) (@​Mouvedia).
  • Fixed: function-name-case end positions (#7747) (@​Mouvedia).
  • Fixed: function-no-unknown performance by reducing file read count (#7801) (@​ybiquitous).
  • Fixed: media-feature-name-no-vendor-prefix autofix (#7770) (@​Mouvedia).
  • Fixed: no-invalid-double-slash-comments reported ranges (#7768) (@​Mouvedia).
  • Fixed: property-no-unknown false positives for navigation and miscellaneous legacy properties (#7764) (@​Mouvedia).
  • Fixed: quietDeprecationWarnings to suppress stylelint:003 warning (#7837) (@​ybiquitous).
  • Fixed: selector-no-vendor-prefix autofix (#7763) (@​Mouvedia).
  • Fixed: selector-not-notation end positions when new lines are part of the selector (#7755) (@​Mouvedia).
  • Fixed: selector-type-case end positions (#7752) (@​Mouvedia).
  • Fixed: shorthand-property-no-redundant-values false negatives for logical properties, overflow, overscroll-behavior, scroll-margin and scroll-padding (#7808) (@​Mouvedia).
  • Fixed: string-no-newline false positives for escaped multi-line (#7818) (@​romainmenke).
  • Fixed: value-keyword-case end positions (#7760) (@​Mouvedia).
  • Fixed: stylelint.utils.checkAgainstRule() for Promise-based rules (#7821) (@​aaronccasanova).
  • Fixed: stylelint.utils.checkAgainstRule() to use result.stylelint if present (#7833) (@​ybiquitous).
  • Fixed: YAML diagnostic block end marker line of the tap formatter (#7759) (@​Mouvedia).
  • Fixed: autofix of incorrectly implemented plugins when unscoped stylelint commands are present (#7733) (@​romainmenke).
Commits


Updates typescript from 5.5.2 to 5.5.4

Release notes

Sourced from typescript's releases.

TypeScript 5.5.4

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

TypeScript 5.5.3

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on: