chore(deps): update linters #231
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^7.0.1→^7.18.0^8.48.0→^8.57.1^3.0.0→^3.1.0^2.28.1→^2.32.0^27.2.3→^27.9.0^7.33.2→^7.37.5^4.6.0→^4.6.2^4.0.0→^4.1.0Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v7.18.0Compare Source
🩹 Fixes
eslint-plugin: [no-unnecessary-type-assertion] prevent runtime error when asserting a variable declared in default TS lib
eslint-plugin: [unbound-method] report on destructuring in function parameters
eslint-plugin: [no-duplicate-type-constituents] shouldn't report on error types
eslint-plugin: [strict-boolean-expressions] support branded booleans
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.17.0Compare Source
🚀 Features
eslint-plugin: backport no-unsafe-function type, no-wrapper-object-types from v8 to v7
eslint-plugin: [return-await] add option to report in error-handling scenarios only, and deprecate "never"
🩹 Fixes
eslint-plugin: [no-floating-promises] check top-level type assertions (and more)
eslint-plugin: [strict-boolean-expressions] consider assertion function argument a boolean context
eslint-plugin: [no-unnecessary-condition] false positive on optional private field
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.16.1Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.16.0Compare Source
🚀 Features
rule-tester: stricter rule test validations
eslint-plugin: [no-unnecessary-parameter-property-assignment] add new rule
eslint-plugin: add support for nested namespaces to unsafe-member-access
eslint-plugin: [no-floating-promises] add checkThenables option
🩹 Fixes
deps: update dependency @eslint-community/regexpp to v4.11.0
eslint-plugin: [no-floating-promises] add
suggestionsto tests from #9263checkThenableswebsite: react key error on internal pages of website
eslint-plugin: [restrict-template-expressions] don't report tuples if
allowArrayoption is enabled❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.15.0Compare Source
🚀 Features
eslint-plugin: [array-type] detect
Readonly<string[]>caseeslint-plugin: back-port new rules around empty object types from v8
🩹 Fixes
disable
EXPERIMENTAL_useProjectServiceindisabled-type-checkedshared configeslint-plugin: [no-unsafe-return] differentiate a types-error any from a true any
eslint-plugin: [no-unsafe-call] differentiate a types-error any from a true any
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.14.1Compare Source
🩹 Fixes
eslint-plugin: [prefer-nullish-coalescing] treat enums and literals as their underlying primitive types
eslint-plugin: [prefer-nullish-coalescing] ensure ternary fix does not remove parens
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.14.0Compare Source
🚀 Features
🩹 Fixes
eslint-plugin: [no-extraneous-class] handle abstract members
eslint-plugin: [prefer-nullish-coalescing] handle intersected primitive types
eslint-plugin: [no-invalid-this] support AccessorProperty
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.13.1Compare Source
🩹 Fixes
eslint-plugin: [prefer-readonly] refine report locations
eslint-plugin: [return-await] support explicit resource management
eslint-plugin: [no-unsafe-member-access] differentiate a types-error any from a true any
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.13.0Compare Source
🚀 Features
typescript-estree: require
import = require()argument to be a string literaltypescript-estree: forbid
.body,.async,.generatorondeclare functioneslint-plugin: [no-dynamic-delete] allow all string literals as index
🩹 Fixes
ast-spec: function-call-like callee should be Expression not LeftHandSideExpression
scope-manager: handle index signature in class
eslint-plugin: [init-declarations] refine report locations
eslint-plugin: [no-base-to-string] make error message more nuanced
eslint-plugin: [no-unsafe-assignment] be more specific about error types
eslint-plugin: [no-magic-numbers] fix implementation of the
ignoreoption❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.12.0Compare Source
🚀 Features
eslint-plugin: [no-useless-template-literals] rename to
no-useless-template-expression(deprecateno-useless-template-literals)rule-tester: check for parsing errors in suggestion fixes
rule-tester: port
checkDuplicateTestCasesfrom ESLinteslint-plugin: [no-floating-promises] add option 'allowForKnownSafePromises'
🩹 Fixes
no-useless-template-expression -> no-unnecessary-template-expression
eslint-plugin: [no-unnecessary-type-assertion] combine template literal check with
constvariable checkeslint-plugin: [dot-notation] fix false positive when accessing private/protected property with optional chaining
eslint-plugin: [explicit-member-accessibility] refine report locations
eslint-plugin: [no-unnecessary-type-assertion] declares are always defined, so always check
declareseslint-plugin: [prefer-literal-enum-member] allow using member it self on allowBitwiseExpressions
eslint-plugin: [return-await] clean up in-try-catch detection and make autofixes safe
eslint-plugin: [member-ordering] also TSMethodSignature can be get/set
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.11.0Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.10.0Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.9.0Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.8.0Compare Source
🩹 Fixes
eslint-plugin: [no-unsafe-argument] handle tagged templates
eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check
eslint-plugin: [consistent-type-assertions] handle tagged templates
eslint-plugin: [no-unsafe-return] handle union types
eslint-plugin: [no-unused-vars] clear error report range
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.7.1Compare Source
🩹 Fixes
eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment
eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type
eslint-plugin: [prefer-optional-chain] only look at left operand for
requireNullisheslint-plugin: [no-for-in-array] refine report location
eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.7.0Compare Source
🚀 Features
no-new-symbolwithno-new-native-nonconstructor❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.6.0Compare Source
🚀 Features
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.5.0Compare Source
🩹 Fixes
eslint-plugin: [no-floating-promises] handle TaggedTemplateExpression
eslint-plugin: [no-unnecessary-type-assertion] handle exactOptionalPropertyTypes compiler option
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.4.0Compare Source
🚀 Features
eslint-plugin: [consistent-type-imports] ignore files with decorators, experimentalDecorators, and emitDecoratorMetadata
eslint-plugin: [no-unnecessary-type-arguments] handle tagged templates
eslint-plugin: deprecate no-throw-literal and add a renamed only-throw-error
🩹 Fixes
eslint-plugin: [prefer-optional-chain] address multipart nullish checks false positive
eslint-plugin: [prefer-optional-chain] properly disambiguate between
booleanandfalseeslint-plugin: [no-unnecessary-type-assertion] avoid remove const casting on template literals with expressions inside
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.3.1Compare Source
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.3.0Compare Source
🚀 Features
eslint-plugin: [restrict-template-expressions] add
allowArrayoptioneslint-plugin: add meta.docs.recommended setting for strict config options
eslint-plugin: add rule
use-unknown-in-catch-callback-variableseslint-plugin: [prefer-reduce-type-parameter] supports tuple, union, intersection
🩹 Fixes
correct
engines.nodeconstraints inpackage.jsoneslint-plugin: [unbound-method] check method definition in object literal using longhand form
eslint-plugin: [consistent-type-imports] handle imports without specifiers
eslint-plugin: [no-redundant-type-constituents] incorrectly marks & string as redundant
eslint-plugin: [no-unnecessary-qualifier] handle merge namespace with enum
eslint-plugin: [no-unused-expressions] false negatives when using assertions
eslint-plugin: [ban-ts-comment] more accurate handling of multiline comments
eslint-plugin: [explicit-function-return-type, explicit-module-boundary-types] improved checking for allowHigherOrderFunctions option
eslint-plugin: [class-literal-property-style] ignore property assigned in constructor
eslint-plugin: [no-unnecessary-type-assertion] fix false negative for const variable declarations
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.2.0Compare Source
🚀 Features
support TS 5.4
eslint-plugin: [prefer-string-starts-ends-with] add allowSingleElementEquality option
🩹 Fixes
eslint-plugin: expose *-type-checked-only configs for extension
eslint-plugin: [member-ordering] report alphabetical sorting for all groups instead of just the first failing group
eslint-plugin: [no-var-requires, no-require-imports] support template literal
eslint-plugin: [no-useless-template-literals] detect TemplateLiteral
eslint-plugin: [no-unnecessary-condition] handle union array and tuple type
eslint-plugin: [prefer-find] support ternary branches in prefer-find
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.1.1Compare Source
This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v7.1.0Compare Source
🚀 Features
eslint-plugin: add *-type-checked-only configs
eslint-plugin: [naming-convention] support the auto-accessor syntax
eslint-plugin: [consistent-return] add new rule
🩹 Fixes
eslint-plugin: [prefer-optional-chan] allow typeof for avoiding reference error
eslint-plugin: [no-misused-promises] improve check union types
eslint-plugin: [no-use-before-define] fix false positive type reference in as, satisfies
❤️ Thank You
You can read about our versioning strategy and releases on our website.
v7.0.2Compare Source
🩹 Fixes
@types/eslintincompatibilities, add tests❤️ Thank You
You can read about our versioning strategy and releases on our website.
eslint/eslint (eslint)
v8.57.1Compare Source
Bug Fixes
a19072ffix: add logic to handle fixTypes in the lintText() method (#18900) (Francesco Trotta)04c7188fix: Don't lint same file multiple times (#18899) (Francesco Trotta)87ec3c4fix: do not throw when defining a global named__defineSetter__(#18898) (Francesco Trotta)60a1267fix: Provide helpful error message for nullish configs (#18889) (Milos Djermanovic)a0dea8efix: allownamein global ignores, fix--no-ignorefor non-global (#18875) (Milos Djermanovic)3836bb4fix: do not crash on error infs.walkfilter (#18886) (Milos Djermanovic)2dec349fix: skip processor code blocks that match only universal patterns (#18880) (Milos Djermanovic)Documentation
6a5add4docs: v8.x Add EOL banner (#18744) (Amaresh S M)b034575docs: v8.x add version support page to the dropdown (#18731) (Amaresh S M)760ef7ddocs: v8.x add version support page in the side navbar (#18740) (Amaresh S M)428b7eadocs: Add Powered by Algolia label to the search (#18658) (Amaresh S M)c68c07fdocs: version selectors synchronization (#18265) (Milos Djermanovic)Build Related
35d366abuild: Support updates to previous major versions (#18870) (Milos Djermanovic)Chores
140ec45chore: upgrade @eslint/js@8.57.1 (#18913) (Milos Djermanovic)bcdfc04chore: package.json update for @eslint/js release (Jenkins)3f6ce8dchore: pin vite-plugin-commonjs@0.10.1 (#18910) (Milos Djermanovic)9f07549chore: ignore/docs/v8.xin link checker (#18660) (Milos Djermanovic)v8.57.0Compare Source
Features
1120b9bfeat: Add loadESLint() API method for v8 (#18098) (Nicholas C. Zakas)dca7d0ffeat: Enableeslint.config.mjsandeslint.config.cjs(#18066) (Nitin Kumar)Bug Fixes
2196d97fix: handle absolute file paths inFlatRuleTester(#18064) (Nitin Kumar)69dd1d1fix: Ensure config keys are printed for config errors (#18067) (Nitin Kumar)9852a31fix: deep merge behavior in flat config (#18065) (Nitin Kumar)4c7e9b0fix: allow circular references in config (#18056) (Milos Djermanovic)Documentation
84922d0docs: Show prerelease version in dropdown (#18139) (Nicholas C. Zakas)5b8c363docs: Switch to Ethical Ads (#18117) (Milos Djermanovic)77dbfd9docs: show NEXT in version selectors (#18052) (Milos Djermanovic)Chores
1813aecchore: upgrade @eslint/js@8.57.0 (#18143) (Milos Djermanovic)5c356bbchore: package.json update for @eslint/js release (Jenkins)f4a1fe2test: add more tests for ignoring files and directories (#18068) (Nitin Kumar)42c0aefci: Enable CI forv8.xbranch (#18047) (Milos Djermanovic)v8.56.0Compare Source
Features
0dd9704feat: Support custom severity when reporting unused disable directives (#17212) (Bryan Mishkin)31a7e3ffeat: fix no-restricted-properties false negatives with unknown objects (#17818) (Arka Pratim Chaudhuri)Bug Fixes
7d5e5f6fix:TypeError: fs.exists is not a functionon read-only file system (#17846) (Francesco Trotta)74739c8fix: suggestion with invalid syntax in no-promise-executor-return rule (#17812) (Bryan Mishkin)Documentation
9007719docs: update link in ways-to-extend.md (#17839) (Amel SELMANE)3a22236docs: Update README (GitHub Actions Bot)54c3ca6docs: fix migration-guide example (#17829) (Tanuj Kanti)4391b71docs: check config comments in rule examples (#17815) (Francesco Trotta)fd28363docs: remove mention about ESLint stylistic rules in readme (#17810) (Zwyx)48ed5a6docs: Update README (GitHub Actions Bot)Chores
ba6af85chore: upgrade @eslint/js@8.56.0 (#17864) (Milos Djermanovic)60a531achore: package.json update for @eslint/js release (Jenkins)ba87a06chore: update dependency markdownlint to ^0.32.0 (#17783) (renovate[bot])9271d10chore: add GitHub issue template for docs issues (#17845) (Josh Goldberg ✨)70a686bchore: Convert rule tests to FlatRuleTester (#17819) (Nicholas C. Zakas)f3a599dchore: upgrade eslint-plugin-unicorn to v49.0.0 (#17837) (唯然)905d4b7chore: upgrade eslint-plugin-eslint-plugin v5.2.1 (#17838) (唯然)4d7c3cechore: update eslint-plugin-n v16.4.0 (#17836) (唯然)fd0c60cci: unpin Node.js 21.2.0 (#17821) (Francesco Trotta)v8.55.0Compare Source
Features
8c9e6c1feat: importNamePattern option in no-restricted-imports (#17721) (Tanuj Kanti)Documentation
83ece2adocs: fix typo--rules->--rule(#17806) (OKURA Masafumi)fffca5cdocs: remove "Open in Playground" buttons for removed rules (#17791) (Francesco Trotta)a6d9442docs: fix correct/incorrect examples of rules (#17789) (Tanuj Kanti)383e999docs: update and fix examples forno-unused-vars(#17788) (Tanuj Kanti)5a8efd5docs: add specific stylistic rule for each deprecated rule (#17778) (Etienne)Chores
eb8950cchore: upgrade @eslint/js@8.55.0 (#17811) (Milos Djermanovic)93df384chore: package.json update for @eslint/js release (Jenkins)fe4b954chore: upgrade @eslint/eslintrc@2.1.4 (#17799) (Milos Djermanovic)bd8911dci: pin Node.js 21.2.0 (#17809) (Milos Djermanovic)b29a16bchore: fix severalclitests to run in the intended flat config mode (#17797) (Milos Djermanovic)de165c1chore: remove unused config-extends fixtures (#17781) (Milos Djermanovic)d4304b8chore: remove formatting/stylistic rules from new rule templates (#17780) (Francesco Trotta)21024fechore: check rule examples for syntax errors (#17718) (Francesco Trotta)v8.54.0Compare Source
Features
a7a883bfeat: for-direction rule add check for condition in reverse order (#17755) (Angelo Annunziata)1452dc9feat: Add suggestions to no-console (#17680) (Joel Mathew Koshy)21ebf8afeat: updateno-array-constructorrule (#17711) (Francesco Trotta)Bug Fixes
98926e6fix: Ensure that extra data is not accidentally stored in the cache file (#17760) (Milos Djermanovic)e8cf9f6fix: Make dark scroll bar in dark theme (#17753) (Pavel)3cbeaadfix: Usecwdconstructor option as configbasePathin Linter (#17705) (Milos Djermanovic)Documentation
becfdd3docs: Make clear when rules are removed (#17728) (Nicholas C. Zakas)05d6e99docs: update "Submit a Pull Request" page (#17712) (Francesco Trotta)eb2279edocs: display info about deprecated rules (#17749) (Percy Ma)d245326docs: Correct working in migrating plugin docs (#17722) (Filip Tammergård)Chores
d644de9chore: upgrade @eslint/js@8.54.0 (#17773) (Milos Djermanovic)1e6e314chore: package.json update for @eslint/js release (Jenkins)6fb8805chore: Fixed grammar in issue_templates/rule_change (#17770) (Joel Mathew Koshy)85db724chore: upgrademarkdownlintto 0.31.1 (#17754) (Nitin Kumar)6d470d2chore: update dependency recast to ^0.23.0 (#17736) (renovate[bot])b7121b5chore: update dependency markdownlint-cli to ^0.37.0 (#17735) (renovate[bot])633b9a1chore: update dependency regenerator-runtime to ^0.14.0 (#17739) (renovate[bot])acac16fchore: update dependency vite-plugin-commonjs to ^0.10.0 (#17740) (renovate[bot])ba8ca7echore: add .github/renovate.json5 (#17567) (Josh Goldberg ✨)v8.53.0Compare Source
Features
528e1c0feat: Deprecate formatting rules (#17696) (Nicholas C. Zakas)c0b11ddfeat: Add suggestions for no-prototype-builtins (#17677) (Yonathan Randolph)Bug Fixes
1ad6257fix: ensure that exit code for fatal errors is not overwritten (#17683) (Milos Djermanovic)b329ea7fix: add;after JSX nodes inno-object-constructorautofix (#17672) (Francesco Trotta)Documentation
ab8c60ddocs: change position of return to top button (#17688) (Tanuj Kanti)4fc44c0docs: update twitter icon to new X icon (#17687) (Tanuj Kanti)4164b2cdocs: Update README (GitHub Actions Bot)8651895docs: Fix tabs in rule examples (#17653) (Francesco Trotta)3aec1c5docs: explained rule fixers and suggestions (#17657) (Josh Goldberg ✨)Chores
ba4d4d5chore: remove metascraper (#17707) (Milos Djermanovic)0d07338chore: Update dependencies (#17706) (Milos Djermanovic)93256a3chore: package.json update for @eslint/js release (ESLint Jenkins)485ec7dtest: fix ESLint tests for caching (#17699) (Milos Djermanovic)db06a7fci: bump actions/setup-node from 3 to 4 (#17676) (dependabot[bot])994596bci: run tests in Node.js 21 (#17673) (Francesco Trotta)v8.52.0Compare Source
Features
70648eefeat: report-unused-disable-directive to report unused eslint-enable (#17611) (Yosuke Ota)Bug Fixes
5de9637fix: Ensure shared references in rule configs are separated (#17666) (Nicholas C. Zakas)dcfe573fix: add preceding semicolon in suggestions ofno-object-constructor(#17649) (Francesco Trotta)Documentation
476d58adocs: Add note about invalid CLI flags when using flat config. (#17664) (Nicholas C. Zakas)660ed3adocs: Plugin flat config migration guide (#17640) (Nicholas C. Zakas)a58aa20docs: fix examples for several rules (#17645) (Milos Djermanovic)179929bdocs: Remove trailing newline from the code of Playground links (#17641) (Francesco Trotta)f8e5c30docs: Update README (GitHub Actions Bot)b7ef2f3docs: Enable pretty code formatter output (#17635) (Nicholas C. Zakas)0bcb9a8docs: Fix syntax errors in rule examples (#17633) (Francesco Trotta)61b9083docs: Make no-continue example code work (#17643) (Zhongyuan Zhou)9fafe45docs: upgrade to 11ty 2.0 (#17632) (Percy Ma)ff8e4bfdocs: Update README (GitHub Actions Bot)fab249adocs: Update README (GitHub Actions Bot)392305bdocs: Updateno-irregular-whitespaceand fix examples (#17626) (Francesco Trotta)6b8acfbdocs: Add real whitespace tono-trailing-spacesexamples (#17630) (Francesco Trotta)1000187docs: Fix examples inunicode-bom(#17631) (Francesco Trotta)000290cdocs: Update README (GitHub Actions Bot)Chores
6d1f0c2chore: upgrade @eslint/js@8.52.0 (#17671) (Milos Djermanovic)d63d4fechore: package.json update for @eslint/js release (ESLint Jenkins)f30cefetest: fix FlatESLint tests for caching ([#17658](httConfiguration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone UTC, Automerge - "after 8:00 before 23:00 every weekday except on Friday" in timezone UTC.
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.