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

[js] Update eslint 8.33.0 → 8.43.0 (minor) #287

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jun 17, 2023

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

What changed?

✳️ eslint (8.33.0 → 8.43.0) · Repo · Changelog

Release Notes

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

8.39.0

Features

  • 3f7af9f feat: Implement SourceCode#markVariableAsUsed() (#17086) (Nicholas C. Zakas)

Documentation

  • 6987dc5 docs: Fix formatting in Custom Rules docs (#17097) (Milos Djermanovic)
  • 4ee92e5 docs: Update README (GitHub Actions Bot)
  • d8e9887 docs: Custom Rules cleanup/expansion (#16906) (Ben Perlmutter)
  • 1fea279 docs: Clarify how to add to tsc agenda (#17084) (Nicholas C. Zakas)
  • 970ef1c docs: Update triage board location (Nicholas C. Zakas)
  • 6d8bffd docs: Update README (GitHub Actions Bot)

Chores

  • 60a6f26 chore: upgrade @eslint/[email protected] (#17102) (Milos Djermanovic)
  • d5ba5c0 chore: package.json update for @eslint/js release (ESLint Jenkins)
  • f57eff2 ci: run tests on Node.js v20 (#17093) (Nitin Kumar)
  • 9d1b8fc perf: Binary search in token store utils.search (#17066) (Francesco Trotta)
  • 07a4435 chore: Add request for minimal repro to bug report (#17081) (Nicholas C. Zakas)
  • eac4943 refactor: remove unnecessary use of SourceCode#getAncestors in rules (#17075) (Milos Djermanovic)
  • 0a7b60a chore: update description of SourceCode#getDeclaredVariables (#17072) (Milos Djermanovic)
  • 6e2df71 chore: remove unnecessary references to the LICENSE file (#17071) (Milos Djermanovic)

8.38.0

Features

  • a1d561d feat: Move getDeclaredVariables and getAncestors to SourceCode (#17059) (Nicholas C. Zakas)

Bug Fixes

  • 1c1ece2 fix: do not report on RegExp(...args) in require-unicode-regexp (#17037) (Francesco Trotta)

Documentation

  • 7162d34 docs: Mention new config system is complete (#17068) (Nicholas C. Zakas)
  • 0fd6bb2 docs: Update README (GitHub Actions Bot)
  • c83531c docs: Update/remove external links, eg. point to eslint-community (#17061) (Pelle Wessman)
  • a3aa6f5 docs: Clarify no-div-regex rule docs (#17051) (Francesco Trotta)
  • b0f11cf docs: Update README (GitHub Actions Bot)
  • da8d52a docs: Update the second object instance for the "no-new" rule (#17020) (Ahmadou Waly NDIAYE)
  • 518130a docs: switch language based on current path (#16687) (Percy Ma)
  • 24206c4 docs: Update README (GitHub Actions Bot)

Chores

8.37.0

Features

  • b6ab8b2 feat: require-unicode-regexp add suggestions (#17007) (Josh Goldberg)
  • 10022b1 feat: Copy getScope() to SourceCode (#17004) (Nicholas C. Zakas)
  • 1665c02 feat: Use plugin metadata for flat config serialization (#16992) (Nicholas C. Zakas)
  • b3634f6 feat: docs license (#17010) (Samuel Roldan)
  • 892e6e5 feat: languageOptions.parser must be an object. (#16985) (Nicholas C. Zakas)

Bug Fixes

  • 619f3fd fix: correctly handle null default config in RuleTester (#17023) (Brad Zacher)
  • 1fbf118 fix: getFirstToken/getLastToken on comment-only node (#16889) (Francesco Trotta)
  • 129e252 fix: Fix typo in logical-assignment-operators rule description (#17000) (Francesco Trotta)

Documentation

  • 75339df docs: fix typos and missing info in id-match docs (#17029) (Ed Lucas)
  • ec2d830 docs: Fix typos in the semi rule docs (#17012) (Andrii Lundiak)
  • e39f28d docs: add back to top button (#16979) (Tanuj Kanti)
  • 721c717 docs: Custom Processors cleanup and expansion (#16838) (Ben Perlmutter)
  • d049f97 docs: 'How ESLint is Maintained' page (#16961) (Ben Perlmutter)
  • 5251a92 docs: Describe guard options for guard-for-in (#16986) (alope107)
  • 6157d81 docs: Add example to guard-for-in docs. (#16983) (alope107)
  • fd47998 docs: update Array.prototype.toSorted specification link (#16982) (Milos Djermanovic)
  • 3e1cf6b docs: Copy edits on Maintain ESLint docs (#16939) (Ben Perlmutter)

Chores

8.36.0

Features

Bug Fixes

  • 92c1943 fix: correctly iterate files matched by glob patterns (#16831) (Nitin Kumar)

Documentation

  • b98fdd4 docs: Update README (GitHub Actions Bot)
  • caf08ce docs: fix estree link in custom formatters docs (#16967) (Milos Djermanovic)
  • 3398431 docs: Custom Parsers cleanup/expansion (#16887) (Ben Perlmutter)
  • 19d3531 docs: Update README (GitHub Actions Bot)
  • b09a512 docs: detect and fix broken links (#16837) (Nitin Kumar)

Chores

8.35.0

Features

  • 8e34a04 feat: add afterHashbangComment option to lines-around-comment rule (#16920) (SUZUKI Sosuke)
  • c8c0c71 feat: Move all and recommended configs into package. (#16844) (Nicholas C. Zakas)
  • 71f6f0d feat: report more cases with ?? in no-constant-binary-expression (#16826) (Daiki Nishikawa)

Bug Fixes

Documentation

  • f9f195e docs: Plugin docs cleanup & expansion (#16862) (Ben Perlmutter)
  • df809fd docs: Custom Formatters page cleanup/expansion (#16886) (Ben Perlmutter)
  • 0700d1b docs: Add PostCSS/Autoprefixer/CSSNano (#16502) (Nick Schonning)
  • 7b9e9bf docs: support unicode anchors (#16782) (Percy Ma)
  • 5fbc0bf docs: Update README (GitHub Actions Bot)
  • 67865a0 docs: Remove mention of mailing list (#16869) (Amaresh S M)
  • 43af24a docs: Add explanation of when to use 'warn' severity (#16882) (Nicholas C. Zakas)
  • ed2999b docs: Shareable configs page edits and expansion (#16824) (Ben Perlmutter)
  • 2780635 docs: fix typos (#16884) (Lioness100)
  • 5bdaae2 docs: Ways to Extend ESLint page (#16861) (Ben Perlmutter)

Chores

8.34.0

Features

  • 9b2fcf7 feat: array-callback-return supports Array.prototype.toSorted (#16845) (SUZUKI Sosuke)

Bug Fixes

  • 923f61d fix: false positive with assignment in no-extra-parens (#16872) (Francesco Trotta)

Documentation

  • f0a9883 docs: split rules documentation (#16797) (Ben Perlmutter)
  • 67aa37b docs: fix typo in command-line-interface.md (#16871) (Kevin Rouchut)
  • 337f7ed docs: fix width of language input (#16849) (Tanuj Kanti)
  • 71349a1 docs: Configure a Parser page (#16803) (Ben Perlmutter)
  • de7e925 docs: remove extra line numbers in example (#16848) (jonz94)
  • ad38d77 docs: Update README (GitHub Actions Bot)

Chores

  • 9dbe06d chore: add type property to array-element-newline schema (#16877) (MHO)
  • a061527 chore: Remove unused functions (#16868) (Nicholas C. Zakas)

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
Copy link
Contributor Author

depfu bot commented Jul 3, 2023

Closed in favor of #291.

@depfu depfu bot closed this Jul 3, 2023
@depfu depfu bot deleted the depfu/update/yarn/eslint-8.43.0 branch July 3, 2023 12:35
@depfu
Copy link
Contributor Author

depfu bot commented Jul 3, 2023

Closed in favor of #291.

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