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

Update eslint → 8.49.0 (unknown) #538

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Sep 9, 2023

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ eslint (8.39.0 → 8.49.0) · Repo · Changelog

Release Notes

8.49.0

Features

  • da09f4e feat: Implement onUnreachableCodePathStart/End (#17511) (Nicholas C. Zakas)
  • 32b2327 feat: Emit deprecation warnings in RuleTester (#17527) (Nicholas C. Zakas)
  • acb7df3 feat: add new enforce option to lines-between-class-members (#17462) (Nitin Kumar)

Documentation

  • ecfb54f docs: Update README (GitHub Actions Bot)
  • de86b3b docs: update no-promise-executor-return examples (#17529) (Nitin Kumar)
  • 032c4b1 docs: add typescript template (#17500) (James)
  • cd7da5c docs: Update README (GitHub Actions Bot)

Chores

  • b7621c3 chore: remove browser test from npm test (#17550) (Milos Djermanovic)
  • cac45d0 chore: upgrade @eslint/[email protected] (#17549) (Milos Djermanovic)
  • cd39508 chore: package.json update for @eslint/js release (ESLint Jenkins)
  • 203a971 ci: bump actions/checkout from 3 to 4 (#17530) (dependabot[bot])
  • a40fa50 chore: use eslint-plugin-jsdoc's flat config (#17516) (Milos Djermanovic)
  • 926a286 test: replace Karma with Webdriver.IO (#17126) (Christian Bromann)
  • f591d2c chore: Upgrade config-array (#17512) (Nicholas C. Zakas)

8.48.0

Features

  • 1fbb3b0 feat: correct update direction in for-direction (#17483) (Francesco Trotta)
  • d73fbf2 feat: rule tester do not create empty valid or invalid test suites (#17475) (fnx)
  • ee2f718 feat: Allow void in rule no-promise-executor-return (#17282) (nopeless)

Bug Fixes

  • 7234f6a fix: update RuleTester JSDoc and deprecations (#17496) (Jonas Berlin)

Documentation

  • 7a51d77 docs: no-param-reassign mention strict mode (#17494) (Stephen Hardy)
  • 9cd7ac2 docs: add fetch script to package.json conventions (#17459) (Nitin Kumar)
  • cab21e6 docs: advice for inline disabling of rules (#17458) (Ashish Yadav)
  • 056499d docs: fix example of flat config from plugin (#17482) (Francesco Trotta)
  • 9e9edf9 docs: update documentation URL in error message (#17465) (Nitin Kumar)

Chores

8.47.0

Features

  • 53d7508 feat: update regex for methods with thisArg (#17439) (Francesco Trotta)

Bug Fixes

  • 631648e fix: do not report on shadowed constructors in no-new-wrappers (#17447) (Francesco Trotta)

Documentation

  • a766a48 docs: document lack of config file names (#17442) (James)
  • a1635d6 docs: Update README (GitHub Actions Bot)
  • 47a0859 docs: update require-unicode-regexp.md as following up #17402 (#17441) (SUZUKI Sosuke)
  • fcdc85d docs: Update README (GitHub Actions Bot)
  • 2a92b6c docs: update with "Specifying Parser Options" (#17435) (Cheol-Won)
  • d743ed3 docs: add metadata for parser/processor (#17438) (Huáng Jùnliàng)
  • 224376c docs: Update README (GitHub Actions Bot)
  • a41a8e4 docs: update script names in README (#17432) (Nitin Kumar)

Chores

  • bf69aa6 chore: Update dependencies (#17456) (Nicholas C. Zakas)
  • 0e45760 chore: package.json update for @eslint/js release (ESLint Jenkins)
  • 757bfe1 chore: Remove add-to-triage (#17450) (Nicholas C. Zakas)
  • b066640 chore: standardize npm script names (#17431) (Nitin Kumar)
  • 6b2410f chore: Update add-to-triage.yml (#17444) (Nicholas C. Zakas)

8.46.0

Features

  • 8a93438 feat: require-unicode-regexp support v flag (#17402) (SUZUKI Sosuke)
  • 1a2f966 feat: no-useless-escape support v flag (#17420) (Yosuke Ota)
  • ee68d1d feat: no-empty-character-class support v flag (#17419) (Milos Djermanovic)
  • 853d32b feat: deprecate no-return-await (#17417) (Carlos Lopez)
  • d4f02e4 feat: no-control-regex support v flag (#17405) (Yosuke Ota)
  • 2a35f3e feat: prefer-named-capture-group support v flag (#17409) (Yosuke Ota)
  • 8ca8b50 feat: Better error message for flat config plugins (#17399) (Nicholas C. Zakas)
  • 509f753 feat: no-misleading-character-class support v flag (#17406) (Yosuke Ota)
  • 3caf514 feat: no-regex-spaces support v flag (#17407) (Yosuke Ota)
  • b7fad2b feat: prefer-regex-literals support v flag (#17410) (Yosuke Ota)
  • a6a3ad4 feat: no-useless-backreference support v flag (#17408) (Yosuke Ota)
  • 94954a7 feat: no-invalid-regexp support v flag (#17404) (Yosuke Ota)
  • 1af6eac feat: adds option for allowing empty object patterns as parameter (#17365) (Tanuj Kanti)
  • cf03104 feat: Improve config error messages (#17385) (Nicholas C. Zakas)

Bug Fixes

  • 9803c7c fix: FlatESLint#getRulesMetaForResults shouldn't throw on unknown rules (#17393) (Milos Djermanovic)
  • 42faa17 fix: Update no-loop-func to not overlap with no-undef (#17358) (Matt Wilkinson)

Documentation

  • 4d474e3 docs: update with TypeScript info (#17423) (James)
  • 091f44e docs: File extension named processor deprecation (#17362) (Matt Wilkinson)
  • 9254a6c docs: Update README (GitHub Actions Bot)
  • 6d6dc51 docs: fix overlapping of open in playground button (#17403) (Tanuj Kanti)
  • 7fc3a2c docs: Add private class features info to no-underscore-dangle (#17386) (Matt Wilkinson)
  • da73e58 docs: Migrating eslint-env configuration comments (#17390) (Francesco Trotta)
  • 80dffed docs: fix Ignoring Files section in config migration guide (#17392) (Milos Djermanovic)
  • 8a9abb7 docs: Update README (GitHub Actions Bot)
  • 7e9be4b docs: Update README (GitHub Actions Bot)
  • 0b0bbe0 docs: Update README (GitHub Actions Bot)

Chores

  • d1eb7e4 chore: Update ecosystem dependencies (#17427) (Nicholas C. Zakas)
  • fab9e97 chore: package.json update for eslint-config-eslint release (ESLint Jenkins)
  • 6246711 chore: package.json update for @eslint/js release (ESLint Jenkins)
  • 0aa0bc3 chore: Add PRs to triage project (#17421) (Nicholas C. Zakas)

8.45.0

Features

  • cdd063c feat: Expose LegacyESLint in unsupported API (#17341) (Nicholas C. Zakas)
  • d34abe5 feat: fix indent rule for else-if (#17318) (Milos Djermanovic)

Bug Fixes

  • b79b6fb fix: Fix suggestion message in no-useless-escape (#17339) (Francesco Trotta)
  • c667055 fix: provide unique fix and fix.range objects in lint messages (#17332) (Milos Djermanovic)

Documentation

  • 89f3225 docs: add playground links to correct and incorrect code blocks (#17306) (Josh Goldberg ✨)
  • f8892b5 docs: Expand rule option schema docs (#17198) (Matt Wilkinson)
  • 8bcbf11 docs: Config Migration Guide (#17230) (Ben Perlmutter)
  • bb30908 docs: Update README (GitHub Actions Bot)
  • 84d243b docs: Update README (GitHub Actions Bot)
  • b762632 docs: Update README (GitHub Actions Bot)
  • 138c096 docs: add more prefer-destructuring examples with array destructuring (#17330) (Milos Djermanovic)
  • 1fc50a8 docs: max-len rule code and tabWidth as positional arguments (#17331) (Jesús Leganés-Combarro)

Chores

  • 68f63d7 chore: package.json update for @eslint/js release (ESLint Jenkins)
  • 5ca9b4d chore: update eslint-config-eslint exports (#17336) (Milos Djermanovic)
  • 7bf2e86 chore: remove unused dependencies (#17352) (Percy Ma)
  • c6f8cd0 chore: Remove defaultIgnores from FlatESLint private members (#17349) (Francesco Trotta)
  • 0052374 chore: move jsdoc settings to eslint-config-eslint (#17338) (唯然)

8.44.0

Features

  • 1766771 feat: add es2023 and es2024 environments (#17328) (Milos Djermanovic)
  • 4c50400 feat: add ecmaVersion: 2024, regexp v flag parsing (#17324) (Milos Djermanovic)
  • 4d411e4 feat: add ternaryOperandBinaryExpressions option to no-extra-parens rule (#17270) (Percy Ma)
  • c8b1f4d feat: Move parserServices to SourceCode (#17311) (Milos Djermanovic)
  • ef6e24e feat: treat unknown nodes as having the lowest precedence (#17302) (Brad Zacher)
  • 1866e1d feat: allow flat config files to export a Promise (#17301) (Milos Djermanovic)

Bug Fixes

  • a36bcb6 fix: no-unused-vars false positive with logical assignment operators (#17320) (Gweesin Chan)
  • 7620b89 fix: Remove no-unused-labels autofix before potential directives (#17314) (Francesco Trotta)
  • 391ed38 fix: Remove no-extra-semi autofix before potential directives (#17297) (Francesco Trotta)

Documentation

  • 526e911 docs: resubmit pr 17115 doc changes (#17291) (唯然)
  • e1314bf docs: Integration section and tutorial (#17132) (Ben Perlmutter)
  • 19a8c5d docs: Update README (GitHub Actions Bot)

Chores

8.43.0

Features

  • 14581ff feat: directive prologue detection and autofix condition in quotes (#17284) (Francesco Trotta)
  • e50fac3 feat: add declaration loc to message in block-scoped-var (#17252) (Milos Djermanovic)
  • 1b7faf0 feat: add skipJSXText option to no-irregular-whitespace rule (#17182) (Azat S)

Bug Fixes

  • 5338b56 fix: normalize cwd passed to ESLint/FlatESLint constructor (#17277) (Milos Djermanovic)
  • 54383e6 fix: Remove no-extra-parens autofix for potential directives (#17022) (Francesco Trotta)

Documentation

  • 8b855ea docs: resubmit pr17061 doc changes (#17292) (唯然)
  • 372722e docs: resubmit pr17012 doc changes (#17293) (唯然)
  • 67e7af3 docs: resubmit custom-rules doc changes (#17294) (唯然)
  • 9e3d77c docs: Resubmit Fix formatting in Custom Rules docs (#17281) (Milos Djermanovic)
  • 503647a docs: Resubmit markVariableAsUsed docs (#17280) (Nicholas C. Zakas)
  • e0cf0d8 docs: Custom rule & plugin tutorial (#17024) (Ben Perlmutter)
  • 8e51ea9 docs: resubmit no-new rule documentation (#17264) (Nitin Kumar)
  • 1b217f8 docs: resubmit Custom Processors documentation (#17265) (Nitin Kumar)
  • 428fc76 docs: resubmit Create Plugins documentation (#17268) (Nitin Kumar)
  • bdca88c docs: resubmit Configuration Files documentation (#17267) (Nitin Kumar)
  • f5c01f2 docs: resubmit Manage Issues documentation (#17266) (Nitin Kumar)
  • b199295 docs: Resubmit custom rules update docs (#17273) (Ben Perlmutter)
  • 0e9980c docs: add new omitLastInOneLineClassBody option to the semi rule (#17263) (Nitin Kumar)
  • cb2560f docs: Resubmit getScope/getDeclaredVariables docs (#17262) (Nicholas C. Zakas)
  • 85d2b30 docs: explain how to include predefined globals (#17261) (Marcus Wyatt)
  • de4d3c1 docs: update flat config default ignore patterns (#17258) (Milos Djermanovic)
  • 3912f3a docs: Improve ignores documentation (#17239) (Francesco Trotta)
  • 35e11d3 docs: fix typos and missing info (#17257) (Ed Lucas)
  • 0bc257c docs: Clarify no-div-regex rule docs (#17051) (#17255) (Francesco Trotta)
  • 788d836 docs: add references to MIT License (#17248) (Milos Djermanovic)
  • 58aab6b docs: Update README (GitHub Actions Bot)
  • 3ef5814 docs: Revert all changes after the license change (#17227) (Milos Djermanovic)
  • 03fc4aa docs: Update README (GitHub Actions Bot)

Chores

8.42.0

Features

  • b8448ff feat: correct no-useless-return behaviour in try statements (#16996) (Nitin Kumar)

Bug Fixes

  • a589636 fix: Config with ignores and without files should not always apply (#17181) (Milos Djermanovic)
  • c4fad17 fix: Correct ignore message for "node_modules" subfolders (#17217) (Francesco Trotta)

Documentation

  • 01d7142 docs: Update README (GitHub Actions Bot)
  • e5182b7 docs: Update README (GitHub Actions Bot)

Chores

  • 6ca5b7c chore: upgrade @eslint/[email protected] (#17236) (Milos Djermanovic)
  • 67fc5e7 chore: package.json update for @eslint/js release (ESLint Jenkins)
  • 0892412 refactor: remove Identifier listener in no-irregular-whitespace (#17235) (Milos Djermanovic)
  • f67d298 test: Add FlatESLint tests with missing config files (#17164) (Milos Djermanovic)
  • 5b68d51 chore: Fix fixedsize attribute in code path analysis DOT debug output (#17202) (Milos Djermanovic)
  • 37432f2 chore: update descriptions in key-spacing tests (#17195) (Milos Djermanovic)

8.41.0

Features

  • 880a431 feat: change default ignore pattern to **/node_modules/ in flat config (#17184) (Milos Djermanovic)
  • 8bf5505 feat: expose shouldUseFlatConfig (#17169) (Connor Prussin)

Bug Fixes

  • 4f5440d fix: incorrect warning message for ignored dotfiles (#17196) (Milos Djermanovic)
  • 94da96c fix: unify LintMessage type (#17076) (Brandon Mills)
  • 0c415cd fix: validate ignorePatterns constructor option in FlatESLint class (#17139) (Milos Djermanovic)
  • 9682d66 fix: switch grapheme-splitter to graphemer (#17160) (fisker Cheung)

Documentation

  • 7709b14 docs: Update README (GitHub Actions Bot)
  • 7f183e0 docs: Update triage process description (#17157) (Nicholas C. Zakas)
  • b68346b docs: fix license to reflect relicensing of jshint (#17165) (Stefan Bischof)

Chores

  • f43216a chore: upgrade @eslint/[email protected] (#17200) (Milos Djermanovic)
  • 95c3007 chore: package.json update for @eslint/js release (ESLint Jenkins)
  • ddc5291 chore: don't use deprecated context methods in ast-utils tests (#17194) (Milos Djermanovic)
  • b1516db chore: Fix return type of findFlatConfigFile (#17161) (Milos Djermanovic)
  • 918b0fd perf: Store indent descriptors in a plain array (#17148) (Francesco Trotta)
  • 4caa344 refactor: locateConfigFileToUse returns an Error object (#17159) (唯然)

8.40.0

Features

  • 5db7808 feat: improve flat config errors for invalid rule options and severities (#17140) (Josh Goldberg ✨)
  • f5574dc feat: Add findConfigFile() method to FlatESLint (#17142) (Nicholas C. Zakas)
  • e52b98b feat: add sourceCode property to the rule context (#17107) (Nitin Kumar)
  • 1468f5b feat: add physicalFilename property to the rule context (#17111) (Nitin Kumar)
  • 0df4d4f feat: add cwd to rule context (#17106) (Nitin Kumar)
  • 52018f2 feat: add filename property to the rule context (#17108) (Nitin Kumar)
  • 559ff4e feat: add new omitLastInOneLineClassBody option to the semi rule (#17105) (Nitin Kumar)

Bug Fixes

  • f076e54 fix: Ensure FlatESLint#findConfigFile() doesn't throw. (#17151) (Nicholas C. Zakas)

Documentation

  • e980bf3 docs: Update README (GitHub Actions Bot)
  • e92a6fc docs: Update README (GitHub Actions Bot)
  • af5fe64 docs: Fix custom rule schema docs (#17115) (Adam Jones)
  • 4a352a9 docs: explain how to include predefined globals (#17114) (Marcus Wyatt)
  • 5ea15d9 docs: add mastodon link in readme (#17110) (唯然)

Chores

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Sep 9, 2023
@vercel
Copy link

vercel bot commented Sep 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
next-wordpress-starter ❌ Failed (Inspect) Sep 9, 2023 10:43pm

@depfu
Copy link
Contributor Author

depfu bot commented Sep 24, 2023

Closed in favor of #545.

@depfu depfu bot closed this Sep 24, 2023
@depfu depfu bot deleted the depfu/update/npm/eslint-8.49.0 branch September 24, 2023 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants