chore(deps): bump the eslint group with 5 updates
Bumps the eslint group with 5 updates:
| Package | From | To |
|---|---|---|
| eslint | 8.49.0 |
9.0.0 |
| eslint-config-prettier | 9.0.0 |
9.1.0 |
| eslint-plugin-jest | 27.6.0 |
28.2.0 |
| eslint-plugin-prettier | 5.0.0 |
5.1.3 |
| prettier | 3.0.3 |
3.2.5 |
Updates eslint from 8.49.0 to 9.0.0
Release notes
Sourced from eslint's releases.
v9.0.0
Breaking Changes
b7cf3bdfix!: correctcamelcaserule schema forallowoption (#18232) (eMerzh)09bd7fefeat!: move AST traversal into SourceCode (#18167) (Nicholas C. Zakas)79a95ebfeat!: disallow multiple configuration comments for same rule (#18157) (Milos Djermanovic)9163646feat!: Rule Tester checks for missing placeholder data in the message (#18073) (fnx)3c4d51dfeat!: default forenforceForClassMembersinno-useless-computed-key(#18054) (Francesco Trotta)47e60f8feat!: Stricter rule test validations (#17654) (fnx)1a94589feat!:no-unused-varsdefault caughtErrors to 'all' (#18043) (Josh Goldberg ✨)57089cbfeat!: no-restricted-imports allow multiple config entries for same path (#18021) (Milos Djermanovic)2e1d549feat!: detect duplicate test cases (#17955) (Bryan Mishkin)701f1affeat!: no-inner-declaration new default behaviour and option (#17885) (Tanuj Kanti)bde5105fix!: handle--output-filefor empty output when saving to disk (#17957) (Nitin Kumar)07107a5fix!: upgrade [email protected] (#17942) (Milos Djermanovic)3ee0f6cfix!: no-unused-varsvarsIgnorePatternbehavior with catch arguments (#17932) (Tanuj Kanti)51f8bc8fix!: configuration comments with just severity should retain options (#17945) (Milos Djermanovic)d191bddfeat!: Remove CodePath#currentSegments (#17936) (Milos Djermanovic)946ae00feat!: FlatRuleTester -> RuleTester (#17922) (Nicholas C. Zakas)baff28cfeat!: removeno-inner-declarationsfromeslint:recommended(#17920) (Milos Djermanovic)cadfbcdfeat!: Rename FlatESLint to ESLint (#17914) (Nicholas C. Zakas)d1018fcfeat!: skip running warnings in --quiet mode (#17274) (Maddy Miller)fb81b1cfeat!: Set defaultschema: [], drop support for function-style rules (#17792) (Milos Djermanovic)0b21e1ffeat!: add two more cases tono-implicit-coercion(#17832) (Gürgün Dayıoğlu)2916c63feat!: Switch Linter to flat config by default (#17851) (Nicholas C. Zakas)200518efix!: Parsing 'exported' comment using parseListConfig (#17675) (amondev)bdd6ba1feat!: Remove valid-jsdoc and require-jsdoc (#17694) (Nicholas C. Zakas)12be307fix!: Behavior of CLI when no arguments are passed (#17644) (Nicholas C. Zakas)8fe8c56feat!: Update shouldUseFlatConfig and CLI so flat config is default (#17748) (Nicholas C. Zakas)60dea3efeat!: deprecate no-new-symbol, recommend no-new-native-nonconstructor (#17710) (Francesco Trotta)5aa9c49feat!: check for parsing errors in suggestion fixes (#16639) (Bryan Mishkin)b3e0bb0feat!: assert suggestion messages are unique in rule testers (#17532) (Josh Goldberg ✨)e563c52feat!:no-invalid-regexpmake allowConstructorFlags case-sensitive (#17533) (Josh Goldberg ✨)e5f02c7fix!: no-sequences rule schema correction (#17878) (MHO)6ee3e9efeat!: Updateeslint:recommendedconfiguration (#17716) (Milos Djermanovic)c2cf85afeat!: drop support for string configurations in flat config array (#17717) (Milos Djermanovic)c314fd6feat!: RemoveSourceCode#getComments()(#17715) (Milos Djermanovic)ae78ff1feat!: Remove deprecated context methods (#17698) (Nicholas C. Zakas)f71c328feat!: Swap FlatESLint-ESLint, FlatRuleTester-RuleTester in API (#17823) (Nicholas C. Zakas)5304da0feat!: remove formatters except html, json(-with-metadata), and stylish (#17531) (Josh Goldberg ✨)e1e827ffeat!: Require Node.js^18.18.0 || ^20.9.0 || >=21.1.0(#17725) (Milos Djermanovic)Features
d54a412feat: Add --inspect-config CLI flag (#18270) (Nicholas C. Zakas)97ce45bfeat: AddreportUsedIgnorePatternoption tono-unused-varsrule (#17662) (Pearce Ropion)3e9fceafeat: Show config names in error messages (#18256) (Nicholas C. Zakas)de40874feat: Rule Performance Statistics for flat ESLint (#17850) (Mara Kiefer)d85c436feat: use-isnan report NaN inindexOfandlastIndexOfwith fromIndex (#18225) (Tanuj Kanti)b8fb572feat: addreportUnusedFallthroughCommentoption to no-fallthrough rule (#18188) (Kirk Waiblinger)1c173dcfeat: addignoreClassWithStaticInitBlockoption tono-unused-vars(#18170) (Tanuj Kanti)a451b32feat: makeno-misleading-character-classreport more granular errors (#18082) (Francesco Trotta)
... (truncated)
Changelog
Sourced from eslint's changelog.
v9.0.0 - April 5, 2024
19f9a89chore: Update dependencies for v9.0.0 (#18275) (Nicholas C. Zakas)7c957f2chore: package.json update for@eslint/jsrelease (Jenkins)d73a33cchore: ignore/docs/v8.xin link checker (#18274) (Milos Djermanovic)d54a412feat: Add --inspect-config CLI flag (#18270) (Nicholas C. Zakas)e151050docs: update get-started to the new@eslint/create-config(#18217) (唯然)610c148fix: Supportusingdeclarations in no-lone-blocks (#18269) (Kirk Waiblinger)44a81c6chore: upgrade knip (#18272) (Lars Kappert)94178addocs: mention aboutnamefield in flat config (#18252) (Anthony Fu)1765c24docs: add Troubleshooting page (#18181) (Josh Goldberg ✨)e80b60cchore: remove code for testing version selectors (#18266) (Milos Djermanovic)96607d0docs: version selectors synchronization (#18260) (Milos Djermanovic)e508800fix: rule tester ignore irrelevant test case properties (#18235) (fnx)a129acbfix: flat config name on ignores object (#18258) (Nicholas C. Zakas)97ce45bfeat: AddreportUsedIgnorePatternoption tono-unused-varsrule (#17662) (Pearce Ropion)651ec91docs: remove/* eslint-env */comments from rule examples (#18249) (Milos Djermanovic)950c4f1docs: Update README (GitHub Actions Bot)3e9fceafeat: Show config names in error messages (#18256) (Nicholas C. Zakas)b7cf3bdfix!: correctcamelcaserule schema forallowoption (#18232) (eMerzh)12f5746docs: add info about dot files and dir in flat config (#18239) (Tanuj Kanti)b93f408docs: update shared settings example (#18251) (Tanuj Kanti)26384d3docs: fixecmaVersionin one example, add checks (#18241) (Milos Djermanovic)7747097docs: Update PR review process (#18233) (Nicholas C. Zakas)b07d427docs: fix typo (#18246) (Kirill Gavrilov)a98babcchore: add npm script to run WebdriverIO test (#18238) (Francesco Trotta)9b7bd3bchore: update dependency markdownlint to ^0.34.0 (#18237) (renovate[bot])778082ddocs: add Glossary page (#18187) (Josh Goldberg ✨)dadc5bffix:constructor-superfalse positives with loops (#18226) (Milos Djermanovic)de40874feat: Rule Performance Statistics for flat ESLint (#17850) (Mara Kiefer)d85c436feat: use-isnan report NaN inindexOfandlastIndexOfwith fromIndex (#18225) (Tanuj Kanti)b185eb99.0.0-rc.0 (Jenkins)26010c2Build: changelog update for 9.0.0-rc.0 (Jenkins)297416dchore: package.json update for eslint-9.0.0-rc.0 (#18223) (Francesco Trotta)d363c51chore: package.json update for@eslint/jsrelease (Jenkins)239a7e2docs: Clarify the description ofsort-importsoptions (#18198) (gyeongwoo park)09bd7fefeat!: move AST traversal into SourceCode (#18167) (Nicholas C. Zakas)b91f9dcbuild: fix TypeError in prism-eslint-hooks.js (#18209) (Francesco Trotta)4769c86docs: fix incorrect example inno-lone-blocks(#18215) (Tanuj Kanti)1b841bbchore: fix some comments (#18213) (avoidaway)b8fb572feat: addreportUnusedFallthroughCommentoption to no-fallthrough rule (#18188) (Kirk Waiblinger)ae8103dfix: load plugins in the CLI in flat config mode (#18185) (Francesco Trotta)5251327docs: Update README (GitHub Actions Bot)29c3595chore: remove repetitive words (#18193) (cuithon)1dc8618docs: Update README (GitHub Actions Bot)acc2e06chore: Introduce Knip (#18005) (Lars Kappert)ba89c739.0.0-beta.2 (Jenkins)d7ec0d1Build: changelog update for 9.0.0-beta.2 (Jenkins)7509276chore: upgrade@eslint/js@9.0.0-beta.2 (#18180) (Milos Djermanovic)96087b3chore: package.json update for@eslint/jsrelease (Jenkins)
... (truncated)
Commits
e0cbc509.0.075cb5f4Build: changelog update for 9.0.019f9a89chore: Update dependencies for v9.0.0 (#18275)7c957f2chore: package.json update for@eslint/jsreleased73a33cchore: ignore/docs/v8.xin link checker (#18274)d54a412feat: Add --inspect-config CLI flag (#18270)e151050docs: update get-started to the new@eslint/create-config(#18217)610c148fix: Supportusingdeclarations in no-lone-blocks (#18269)44a81c6chore: upgrade knip (#18272)94178addocs: mention aboutnamefield in flat config (#18252)- Additional commits viewable in compare view
Updates eslint-config-prettier from 9.0.0 to 9.1.0
Changelog
Sourced from eslint-config-prettier's changelog.
Version 9.1.0 (2023-12-02)
- Added: [unicorn/template-indent], (as a [special rule][unicorn/template-indent-special]). Thanks to Gürgün Dayıoğlu (
@gurgunday)!- Changed: All the [formatting rules that were deprecated in ESLint 8.53.0][deprecated-8.53.0] are now excluded if you set the
ESLINT_CONFIG_PRETTIER_NO_DEPRECATEDenvironment variable.
Commits
40c7f3deslint-config-prettier v9.1.04110dffMerge pull request #271 from prettier/deprecated6d0bd92Update tests to handle newly deprecated rules4c876b9Move rules deprecated in ESLint 8.53.0 to the deprecated section24445c0Use specialRule constant7827196Group deprecated and removed rules by version48f804cRoll back to ESLint 8.52.0 for now16f03b8Update Prettierb06d618Update npm packages25fc427turn offunicorn/template-indent(#269)- Additional commits viewable in compare view
Updates eslint-plugin-jest from 27.6.0 to 28.2.0
Release notes
Sourced from eslint-plugin-jest's releases.
v28.2.0
28.2.0 (2024-04-06)
Features
v28.1.1
28.1.1 (2024-04-06)
Bug Fixes
v28.1.0
28.1.0 (2024-04-06)
Features
v28.0.0
28.0.0 (2024-04-06)
Bug Fixes
- allow ESLint 9 as peer dependency (#1547) (3c5e167)
- drop support for Node 19 (#1548) (c87e388)
- no-large-snapshots: avoid
instanceof RegExpcheck for ESLint v9 compatibility (#1542) (af4a9c9)Features
- drop support for
@typescript-eslint/eslint-pluginv5 (#1530) (150e355)- drop support for Node v14 (#1527) (df5e580)
- remove
no-ifrule (#1528) (f976fc8)- remove
snapshotprocessor andflat/snapshotconfig (#1532) (98087f9)- upgrade
@typescript-eslint/utilsto v6 (#1508) (dc6e8cd)BREAKING CHANGES
- Node v19 is no longer supported
- removed unneeded
snapshotprocessor andflat/snapshotconfig- dropped support for
@typescript-eslint/eslint-pluginv5- dropped support for Node v14
... (truncated)
Changelog
Sourced from eslint-plugin-jest's changelog.
28.2.0 (2024-04-06)
Features
28.1.1 (2024-04-06)
Bug Fixes
28.1.0 (2024-04-06)
Features
28.0.0 (2024-04-06)
Bug Fixes
- allow ESLint 9 as peer dependency (#1547) (3c5e167)
- drop support for Node 19 (#1548) (c87e388)
- no-large-snapshots: avoid
instanceof RegExpcheck for ESLint v9 compatibility (#1542) (af4a9c9)Features
- drop support for
@typescript-eslint/eslint-pluginv5 (#1530) (150e355)- drop support for Node v14 (#1527) (df5e580)
- remove
no-ifrule (#1528) (f976fc8)- remove
snapshotprocessor andflat/snapshotconfig (#1532) (98087f9)- upgrade
@typescript-eslint/utilsto v6 (#1508) (dc6e8cd)BREAKING CHANGES
- Node v19 is no longer supported
- removed unneeded
snapshotprocessor andflat/snapshotconfig- dropped support for
@typescript-eslint/eslint-pluginv5- dropped support for Node v14
- removed
no-ifin favor ofno-conditional-in-test28.0.0-next.7 (2024-04-06)
... (truncated)
Commits
9f918bcchore(release): 28.2.0 [skip ci]744d4f6feat: support providing aliases for@jest/globalspackage (#1543)8f59e2bchore(release): 28.1.1 [skip ci]b4b7cbcfix(max-expects): properly reset counter when exiting a test case (#1550)6aaabc4chore(release): 28.1.0 [skip ci]37478d8feat: addprefer-importing-jest-globalsrule (#1490)9aa7aeechore: remove patch (#1549)5bc0b88chore(release): 28.0.0 [skip ci]7ecbae2Merge pull request #1531 from jest-community/next9854767chore(deps): update wagoid/commitlint-github-action action to v6 (#1539)- Additional commits viewable in compare view
Updates eslint-plugin-prettier from 5.0.0 to 5.1.3
Release notes
Sourced from eslint-plugin-prettier's releases.
v5.1.3
Patch Changes
Full Changelog: https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.2...v5.1.3
v5.1.2
5.1.2
Patch Changes
#623
8210e44Thanks@BPScott! - Add exports mapping to package.json, to allowimport eslintPluginRecommended from 'eslint-plugin-prettier/recommended'to work as expected.Strictly speaking this is a breaking change as it removes the ability for people to import from "eslint-plugin-prettier/eslint-plugin-prettier.js" and "eslint-plugin-prettier/recommended.js" but the former was never recommended in the first place and the latter has only been available for a few days.
#621
2b09e7fThanks@JounQin! - feat: support parsingmarkdownviaeslint-mdxnativelyWhat means the following is unnecessary anymore when using with
eslint-mdx/eslint-plugin-mdx![ { files: ["**/*.md"], rules: { "prettier/prettier": ["error", { parser: "markdown" }] }, }, { files: ["**/*.mdx"], rules: { "prettier/prettier": ["error", { parser: "mdx" }] }, }, ]Full Changelog: https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.1...v5.1.2
v5.1.1
5.1.1
Patch Changes
v.5.1.0
Minor Changes
... (truncated)
Changelog
Sourced from eslint-plugin-prettier's changelog.
5.1.3
Patch Changes
5.1.2
Patch Changes
#623
8210e44Thanks@BPScott! - Add exports mapping to package.json, to allowimport eslintPluginRecommended from 'eslint-plugin-prettier/recommended'to work as expected.Strictly speaking this is a breaking change as it removes the ability for people to import from "eslint-plugin-prettier/eslint-plugin-prettier.js" and "eslint-plugin-prettier/recommended.js" but the former was never recommended in the first place and the latter has only been available for a few days.
#621
2b09e7fThanks@JounQin! - feat: support parsingmarkdownviaeslint-mdxnativelyWhat means the following is unnecessary anymore when using with
eslint-mdx/eslint-plugin-mdx![ { files: ['**/*.md'], rules: { 'prettier/prettier': ['error', { parser: 'markdown' }] }, }, { files: ['**/*.mdx'], rules: { 'prettier/prettier': ['error', { parser: 'mdx' }] }, }, ]5.1.1
Patch Changes
5.1.0
Minor Changes
#616
3856413Thanks@BPScott! - Add recommended config for the flat config format.If you are using flat config, import the recommended config from
eslint-plugin-prettier/recommended. Like the legacy format recommended config, this automatically includes the contents ofeslint-config-prettier.// eslint.config.js const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');module.exports = [
... (truncated)
Commits
248cd17chore: release eslint-plugin-prettier (#636)985b33cchore: addpackage.jsonintoexportsmap (#629)f985718ci: enableNPM_TOKENfor releasing automatically (#631)fa1e1e5chore: add more ignoring file patterns on formatting (#627)0ea812ctest: enable testing on.sveltefiles (#628)188487bchore: add more related funding linksd102278chore: release eslint-plugin-prettier (#624)b02fe90chore: bump all upgradable (dev)Dependencies (#625)2b09e7ffeat: support parsingmarkdownviaeslint-mdxnatively (#621)5f762dfdocs: change open collective funding info (#626)- Additional commits viewable in compare view
Updates prettier from 3.0.3 to 3.2.5
Release notes
Sourced from prettier's releases.
3.2.5
3.2.4
- Fix
.eslintrc.jsonformat #159473.2.3
- Format
tsconfig.jsonfile withjsoncparser #159273.2.2
3.2.1
3.2.0
3.1.1
3.1.0
Changelog
Sourced from prettier's changelog.
3.2.5
Support Angular inline styles as single template literal (#15968 by
@sosukesuzuki)Angular v17 supports single string inline styles.
// Input @Component({ template: `<div>...</div>`, styles: `h1 { color: blue; }`, }) export class AppComponent {}// Prettier 3.2.4
@Component({ template:<div>...</div>, styles:h1 { color: blue; }, }) export class AppComponent {}// Prettier 3.2.5
@Component({ template:<div>...</div>, styles:h1 { color: blue; }, }) export class AppComponent {}Unexpected embedded formatting for Angular template (#15969 by
@JounQin)Computed template should not be considered as Angular component template
// Input const template = "foobar";
@Component({ [template]:<h1>{{ hello }}</h1>, }) export class AppComponent {} </tr></table>
... (truncated)
Commits
7142cf3Release 3.2.58cbee2echore(deps): update glimmer to v0.88.1 (#15991)45baee0chore(deps): update dependency magic-string to v0.30.6 (#16022)9fb32a1Minor refactor to property print (#15924)08f1940Update install script for husky v9 (#16000)6d0b1d2Update yarn to v4.1.0 (#16021)c8ba8dbchore(deps): update dependency@angular/compilerto v17.1.2 (#16018)e2250ecchore(deps): update typescript-eslint to v6.20.0 (#16015)02865f6chore(deps): update dependency npm-run-all2 to v6.1.2 (#16017)014ee5dchore(deps): update dependency hermes-parser to v0.19.0 (#16014)- Additional commits viewable in compare view
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.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions