eslint-rules
                                
                                 eslint-rules copied to clipboard
                                
                                    eslint-rules copied to clipboard
                            
                            
                            
                        chore(deps): update dependency eslint to v8
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence | 
|---|---|---|---|---|---|
| eslint (source) | 1.10.3->8.24.0 | 
Release Notes
eslint/eslint
v8.24.0
Features
- 1729f9efeat: account for- sourceType: "commonjs"in the strict rule (#16308) (Milos Djermanovic)
- b0d72c9feat: add rule logical-assignment-operators (#16102) (fnx)
- f02bcd9feat:- array-callback-returnsupport- findLastand- findLastIndex(#16314) (Sosuke Suzuki)
Documentation
- 2c152ffdocs: note false positive- Object.getOwnPropertyNamesin prefer-reflect (#16317) (AnnAngela)
- bf7bd88docs: fix warn severity description for new config files (#16324) (Nitin Kumar)
- 8cc0bbedocs: use more clean link syntax (#16309) (Percy Ma)
- 6ba269edocs: fix typo (#16288) (jjangga0214)
Chores
- 131e646chore: Upgrade @humanwhocodes/config-array for perf (#16339) (Nicholas C. Zakas)
- 504fe59perf: switch from object spread to- Object.assignwhen merging globals (#16311) (Milos Djermanovic)
v8.23.1
Bug Fixes
- b719893fix: Upgrade eslintrc to stop redefining plugins (#16297) (Brandon Mills)
- 734b54efix: improve autofix for the- prefer-construle (#16292) (Nitin Kumar)
- 6a923fffix: Ensure that glob patterns are normalized (#16287) (Nicholas C. Zakas)
- c6900f8fix: Ensure globbing doesn't include subdirectories (#16272) (Nicholas C. Zakas)
Documentation
- 16cba3fdocs: fix mobile double tap issue (#16293) (Sam Chen)
- e098b5fdocs: keyboard control to search results (#16222) (Shanmughapriyan S)
- 1b5b2a7docs: add Consolas font and prioritize resource loading (#16225) (Amaresh S M)
- 1ae8236docs: copy & use main package version in docs on release (#16252) (Jugal Thakkar)
- 279f0afdocs: Improve id-denylist documentation (#16223) (Mert Ciflikli)
Chores
- 38e8171perf: migrate rbTree to js-sdsl (#16267) (Zilong Yao)
- 1c388fbchore: switch nyc to c8 (#16263) (唯然)
- 67db10cchore: enable linting- .eleventy.jsagain (#16274) (Milos Djermanovic)
- 42bfbd7chore: fix- npm run perfcrashes (#16258) (唯然)
v8.23.0
Features
- 3e5839efeat: Enable eslint.config.js lookup from CLI (#16235) (Nicholas C. Zakas)
- 30b1a2dfeat: add- allowEmptyCaseoption to no-fallthrough rule (#15887) (Amaresh S M)
- 43f03aafeat: no-warning-comments support comments with decoration (#16120) (Lachlan Hunt)
Documentation
- b1918dadocs: package.json conventions (#16206) (Patrick McElhaney)
- 0e03c33docs: remove word immediately (#16217) (Strek)
- c6790dbdocs: add anchor link for "migrating from jscs" (#16207) (Percy Ma)
- 7137344docs: auto-generation edit link (#16213) (Percy Ma)
Chores
- 2e004abchore: upgrade @eslint/eslintrc@1.3.1 (#16249) (Milos Djermanovic)
- d35fbbechore: Upgrade to [email protected] (#16243) (Milos Djermanovic)
- ed26229test: add no-extra-parens tests with rest properties (#16236) (Milos Djermanovic)
- deaf69fchore: fix off-by-one- min-width: 1023pxmedia queries (#15974) (Milos Djermanovic)
- 63dec9frefactor: simplify- parseListConfig(#16241) (Milos Djermanovic)
v8.22.0
Features
- 2b97607feat: Implement caching for FlatESLint (#16190) (Nicholas C. Zakas)
- fd5d3d3feat: add- methodsIgnorePatternoption to object-shorthand rule (#16185) (Milos Djermanovic)
Documentation
- 9f5a752docs: optimize image assets (#16170) (Sam Chen)
- 61b2948docs: add svgo command to pre commit hook (#16178) (Amaresh S M)
- 784096ddocs: improve search result UI (#16187) (Sam Chen)
- d0f4cb4docs: use shorthand property name in example (#16180) (Kevin Elliott)
Chores
v8.21.0
Features
- 7b43ea1feat: Implement FlatESLint (#16149) (Nicholas C. Zakas)
- 92bf49afeat: improve the key width calculation in- key-spacingrule (#16154) (Nitin Kumar)
- c461542feat: add new- allowLineSeparatedGroupsoption to the- sort-keysrule (#16138) (Nitin Kumar)
- 1cdcbcafeat: add deprecation warnings for legacy API in- RuleTester(#16063) (Nitin Kumar)
Bug Fixes
- 0396775fix: lines-around-comment apply- allowBlockStartfor switch statements (#16153) (Nitin Kumar)
Documentation
Chores
- 8892511chore: Upgrade to Espree 9.3.3 (#16173) (Brandon Mills)
- 1233beechore: switch to eslint-plugin-node's maintained fork (#16150) (唯然)
- 97b95c0chore: upgrade puppeteer v13 (#16151) (唯然)
v8.20.0
Features
Bug Fixes
- 30be0edfix: no-warning-comments rule escapes special RegEx characters in terms (#16090) (Lachlan Hunt)
- bfe5e88fix: ignore spacing before- ]and- }in comma-spacing (#16113) (Milos Djermanovic)
Documentation
- 845c4f4docs: Add website team details (#16115) (Nicholas C. Zakas)
- 5a0dfdbdocs: Link to blog post in no-constant-binary-expression (#16112) (Jordan Eldredge)
- bc692a9docs: remove install command (#16084) (Strek)
- 49ca3f0docs: don't show toc when content not found (#16095) (Amaresh S M)
- ba19e3fdocs: enhance 404 page UI (#16097) (Amaresh S M)
- a75d3b4docs: remove unused meta.docs.category field in working-with-rules page (#16109) (Brandon Scott)
- cdc0206docs: add formatters page edit link (#16094) (Amaresh S M)
- 4d1ed22docs: preselect default theme (#16098) (Strek)
- 4b79612docs: add missing correct/incorrect containers (#16087) (Milos Djermanovic)
- 09f6acbdocs: fix UI bug on rules index and details pages (#16082) (Deepshika S)
- f5db264docs: remove remaining duplicate rule descriptions (#16093) (Milos Djermanovic)
- 32a6b2adocs: Add scroll behaviour smooth (#16056) (Amaresh S M)
Chores
- bbf8df4chore: Mark autogenerated release blog post as draft (#16130) (Nicholas C. Zakas)
- eee4306chore: update internal lint dependencies (#16088) (Bryan Mishkin)
- 9615a42chore: update formatter examples template to avoid markdown lint error (#16085) (Milos Djermanovic)
- 62541edchore: fix markdown linting error (#16083) (唯然)
v8.19.0
Features
- 7023628feat: add importNames support for patterns in no-restricted-imports (#16059) (Brandon Scott)
- 472c368feat: fix handling of blockless- withstatements in indent rule (#16068) (Milos Djermanovic)
Bug Fixes
Documentation
- 3ae0574docs: Remove duplicate rule descriptions (#16052) (Amaresh S M)
- f50cf43docs: Add base href to each page to fix relative URLs (#16046) (Nicholas C. Zakas)
- ae4b449docs: make logo link clickable on small width screens (#16058) (Milos Djermanovic)
- 280f898docs: use only fenced code blocks (#16044) (Milos Djermanovic)
- f5d63b9docs: add listener only if element exists (#16045) (Amaresh S M)
- 8b639ccdocs: add missing migrating-to-8.0.0 in the user guide (#16048) (唯然)
- b8e68c1docs: Update release process (#16036) (Nicholas C. Zakas)
- 6d0cb11docs: remove table of contents from markdown text (#15999) (Nitin Kumar)
Chores
- e884933chore: use- github-sluggerfor markdown anchors (#16067) (Strek)
- 02e9cb0chore: revamp carbon ad style (#16078) (Amaresh S M)
- b6aee95chore: remove unwanted comments from rules markdown (#16054) (Strek)
- 6840940chore: correctly use .markdownlintignore in Makefile (#16060) (Bryan Mishkin)
- 48904fbchore: add missing images (#16017) (Amaresh S M)
- 910f741chore: add architecture to nav (#16039) (Strek)
- 9bb24c1chore: add correct incorrect in all rules doc (#16021) (Deepshika S)
- 5a96af8chore: prepare versions data file (#16035) (Nicholas C. Zakas)
- 50afe6fchore: Included githubactions in the dependabot config (#15985) (Naveen)
- 473411echore: add deploy workflow for playground (#16034) (Milos Djermanovic)
- a30b66cchore: fix print style (#16025) (Amaresh S M)
- f4dad59chore: add noindex meta tag (#16016) (Milos Djermanovic)
- db387a8chore: fix sitemap (#16026) (Milos Djermanovic)
- 285fbc5chore: remove TOC from printable (#16020) (Strek)
- 8e84c21chore: remove ligatures from fonts (#16019) (Strek)
v8.18.0
Features
Bug Fixes
Documentation
- 4871047docs: Update analytics, canonical URL, ads (#15996) (Nicholas C. Zakas)
- cddad14docs: Add correct/incorrect containers (#15998) (Nicholas C. Zakas)
- b04bc6fdocs: Add rules meta info to rule pages (#15902) (Nicholas C. Zakas)
- 1324f10docs: unify the wording referring to optional exception (#15893) (Abdelrahman Elkady)
- ad54d02docs: add missing trailing slash to some internal links (#15991) (Milos Djermanovic)
- df7768edocs: Switch to version-relative URLs (#15978) (Nicholas C. Zakas)
- 21d6479docs: change some absolute links to relative (#15970) (Milos Djermanovic)
- f31216adocs: Update README team and sponsors (ESLint Jenkins)
Build Related
Chores
- f6e2e63chore: fix 'replaced by' rule list (#16007) (Milos Djermanovic)
- d94dc84chore: remove unused deprecation warnings (#15994) (Francesco Trotta)
- cdcf11echore: fix versions link (#15995) (Milos Djermanovic)
- d2a8715chore: add trailing slash to- pathPrefix(#15993) (Milos Djermanovic)
- 58a1bf0chore: tweak URL rewriting for local previews (#15992) (Milos Djermanovic)
- 80404d2chore: remove docs deploy workflow (#15984) (Nicholas C. Zakas)
- 71bc750chore: Set permissions for GitHub actions (#15971) (Naveen)
- 90ff647chore: avoid generating subdirectories for each page on new docs site (#15967) (Milos Djermanovic)
v8.17.0
Features
- 55319e1feat: fix indent bug with semicolon-first style (#15951) (Milos Djermanovic)
- f6d7920feat: add- allowNamedExportsoption to no-use-before-define (#15953) (Milos Djermanovic)
Bug Fixes
- 54c0953fix: cleanup typos (#15939) (Nick Schonning)
- 845a7affix: typo ocatal -> octal (#15940) (Nick Schonning)
Documentation
- b915018docs: Update website UI to latest (#15944) (Nicholas C. Zakas)
- f0bb609docs: Update Exponentiation operator MDN link (#15960) (Pranjal Jain)
- baa0153docs: Use correct past tense "left" instead of "leaved" (#15950) (Frederik Braun)
- 1351a9bdocs: Add Resources section to rule pages (#15901) (Nicholas C. Zakas)
- 68cf0fbdocs: cleanup typos (#15936) (Nick Schonning)
- 13b62aedocs: use-dart-sass instead of node-sass (#15912) (Deepshika S)
- c81c5d6docs: add social media links (#15920) (Deepshika S)
- 0d6a50bdocs: fix openjs link (#15917) (Amaresh S M)
- 54910f5docs: display version in mobile view (#15909) (Amaresh S M)
Chores
- da694b9chore: avoid theme flashes (#15927) (Strek)
- f836743chore: Use build hook for docs deploy (#15945) (Nicholas C. Zakas)
- ce035e5test: cleanup typos (#15937) (Nick Schonning)
- 10249adchore: use addEventListener instead of addListener (#15923) (Amaresh S M)
- 5f5c1fbchore: lint eleventy config file (#15904) (Milos Djermanovic)
- 8513d37chore: update Rule typedefs (#15915) (Milos Djermanovic)
- 55534f1test: ensure no-restricted-imports works with NodeJS imports (#15907) (Nick Mazuk)
v8.16.0
Features
- cab0c22feat: add Unicode flag suggestion in no-misleading-character-class (#15867) (Milos Djermanovic)
- 38ae956feat: check Unicode code point escapes in no-control-regex (#15862) (Milos Djermanovic)
- ee69cd3feat: Update global variables (#15871) (Sébastien Règne)
Bug Fixes
Documentation
- 050d5f4docs: Static further reading links (#15890) (Nicholas C. Zakas)
- 36287c0docs: fix absolute paths in related rules shortcode to work from /docs (#15892) (Milos Djermanovic)
- 90b6990docs: fix absolute links in rule macro to work from /docs (#15891) (Milos Djermanovic)
- f437249docs: Adjust docs site path prefix (#15889) (Nicholas C. Zakas)
- 6e16025docs: update 'Related Rules' and 'Further Reading' in remaining rules (#15884) (Milos Djermanovic)
- 1d39f69docs: remove confusing examples for no-mixed-operators (#15875) (Milos Djermanovic)
- 3071d76docs: Fix some grammar issues (#15837) (byodian)
Chores
- 1768d0dchore: upgrade @eslint/eslintrc@1.3.0 (#15903) (Milos Djermanovic)
- c686e4cchore: Add deploy workflow for docs site (#15894) (Nicholas C. Zakas)
- c7894cdchore: enable some rules from eslint-plugin-unicorn internally (#15878) (Bryan Mishkin)
- ea65cb5chore: upgrade eslint-plugin-eslint-plugin@^4.2.0 (#15882) (唯然)
- cc29c69chore: Upgrade official GitHub actions to latest versions (#15880) (Darius Dzien)
- 5891c75chore: Refactor rule docs format (#15869) (Nicholas C. Zakas)
v8.15.0
Features
Bug Fixes
Documentation
- 28116ccdocs: update AST node names link in no-restricted-syntax (#15843) (Milos Djermanovic)
- 272965fdocs: fix h1 heading on formatters page (#15834) (Milos Djermanovic)
- a798166docs: update example for running individual rule tests (#15833) (Milos Djermanovic)
- 57e732bdocs: mark- SourceCode#getJSDocCommentdeprecated in working-with-rules (#15829) (Milos Djermanovic)
- 9a90abfdocs: update docs directory in working-with-rules (#15830) (Milos Djermanovic)
- 810addadocs: add more examples for prefer-object-spread (#15831) (coderaiser)
- 06b1edbdocs: clarify no-control-regex rule (#15808) (Milos Djermanovic)
- 9ecd42fdocs: Fixed typo in code comment (#15812) (Addison G)
- de992b7docs: remove links to 2fa document (#15804) (Milos Djermanovic)
- 5222659docs: fix 'Related Rules' heading in no-constant-binary-expression (#15799) (Milos Djermanovic)
- e70ae81docs: Update README team and sponsors (ESLint Jenkins)
Chores
- 1ba6a92chore: upgrade @eslint/eslintrc@1.2.3 (#15847) (Milos Djermanovic)
- 8167aa7chore: bump version of minimatch due to security issue PRISMA-2022-0039 (#15774) (Jan Opravil)
- b8995a4chore: Implement docs site (#15815) (Nicholas C. Zakas)
- 6494e3echore: update link in- codeql-analysis.yml(#15817) (Milos Djermanovic)
- 36503ecchore: enable no-constant-binary-expression in eslint-config-eslint (#15807) (唯然)
v8.14.0
Features
Bug Fixes
- 35fa1ddfix: allow project paths to have URL-encoded characters (#15795) (Milos Djermanovic)
- 413f1d5fix: update- astUtils.isDirectiveCommentwith- globalsand- exported(#15775) (Milos Djermanovic)
Build Related
Chores
- 735458cchore: add static frontmatter to no-constant-binary-expression docs (#15798) (Milos Djermanovic)
- db28f2cchore: Add static frontmatter to docs (#15782) (Nicholas C. Zakas)
- 3bca59echore: markdownlint autofix on commit (#15783) (Nicholas C. Zakas)
v8.13.0
Features
Bug Fixes
Documentation
- c32482edocs: Typo in space-infix-ops docs (#15754) (kmin-jeong)
- f2c2d35docs: disambiguate types- FormatterFunctionand- LoadedFormatter(#15727) (Francesco Trotta)
Chores
- bb4c0d5chore: Refactor docs to work with docs.eslint.org (#15744) (Nicholas C. Zakas)
- d36f12fchore: remove- lib/initfrom eslint config (#15748) (Milos Djermanovic)
- a59a4e6chore: replace- trimLeft/- trimRightwith- trimStart/- trimEnd(#15750) (Milos Djermanovic)
v8.12.0
Features
- 685a67afeat: fix logic for top-level- thisin no-invalid-this and no-eval (#15712) (Milos Djermanovic)
Chores
- 18f5e05chore: padding-line-between-statements remove useless- additionalItems(#15706) (Martin Sadovy)
v8.11.0
Features
- 800bd25feat: add- destructuredArrayIgnorePatternoption in- no-unused-vars(#15649) (Nitin Kumar)
- 8933fe7feat: Catch- undefinedand- Boolean()in no-constant-condition (#15613) (Jordan Eldredge)
- f90fd9dfeat: Add ESLint favicon to the HTML report document (#15671) (Mahdi Hosseinzadeh)
- 57b8a57feat:- valid-typeofalways ban- undefined(#15635) (Zzzen)
Bug Fixes
- 6814922fix: escaping for square brackets in ignore patterns (#15666) (Milos Djermanovic)
- c178ce7fix: extend the autofix range in comma-dangle to ensure the last element (#15669) (Milos Djermanovic)
Documentation
- c481cecdocs: add fast-eslint-8 to atom integrations (userguide) (#15695) (db developer)
- d2255dbdocs: Add clarification about- eslint-enable(#15680) (dosisod)
- 8b9433cdocs: add object pattern to first section of computed-property-spacing (#15679) (Milos Djermanovic)
- de800c3docs: link to minimatch docs added. (#15688) (Gaurav Tewari)
- 8f675b1docs: sort-imports add single named import example (#15675) (Arye Eidelman)
Chores
v8.10.0
Features
- 6e2c325feat: Add- ignoreOnInitializationoption to no-shadow rule (#14963) (Soufiane Boutahlil)
- 115cae5feat:- --debugprints time it takes to parse a file (#15609) (Bartek Iwańczuk)
- 345e70dfeat: Add- onlyOneSimpleParamoption to no-confusing-arrow rule (#15566) (Gautam Arora)
Bug Fixes
- cdc5802fix: Avoid- __dirnamefor built-in configs (#15616) (DoZerg)
- ee7c5d1fix: false positive in- camelcasewith combined properties (#15581) (Nitin Kumar)
Documentation
- 1005bd5docs: update CLA information (#15630) (Nitin Kumar)
- 5d65c3bdocs: Fix typo in- no-irregular-whitespace(#15634) (Ryota Sekiya)
- b93af98docs: add links between rules about whitespace around block curly braces (#15625) (Milos Djermanovic)
- ebc0460docs: update babel links (#15624) (Milos Djermanovic)
Chores
- 7cec74echore: upgrade @eslint/eslintrc@1.2.0 (#15648) (Milos Djermanovic)
- 11c8580chore: read- ESLINT_MOCHA_TIMEOUTenv var in Makefile.js (#15626) (Piggy)
- bfaa548test: add integration tests with built-in configs (#15612) (Milos Djermanovic)
- 39a2fb3perf: fix lazy loading of core rules (#15606) (Milos Djermanovic)
- 3fc9196chore: include- tests/confin test runs (#15610) (Milos Djermanovic)
v8.9.0
Features
- 68f64a9feat: update eslint-scope to ignore- "use strict"directives in ES3 (#15595) (Milos Djermanovic)
- db57639feat: add- es2016,- es2018,- es2019, and- es2022environments (#15587) (Milos Djermanovic)
- 2dc38aafeat: fix bug with arrow function return types in function-paren-newline (#15541) (Milos Djermanovic)
- 6f940c3feat: Implement FlatRuleTester (#15519) (Nicholas C. Zakas)
Documentation
- 570a036docs: add- one-varexample with- for-loopinitializer (#15596) (Milos Djermanovic)
- 417191ddocs: Remove the $ prefix in terminal commands (#15565) (Andreas Lewis)
- 389ff34docs: add missing- Variable#scopeproperty in the scope manager docs (#15571) (Milos Djermanovic)
- f63795ddocs: no-eval replace dead link with working one (#15568) (rasenplanscher)
- 0383591docs: Remove old Markdown issue template (#15556) (Brandon Mills)
- a8dd5a2docs: add 'when not to use it' section in no-duplicate-case docs (#15563) (Milos Djermanovic)
- 1ad439edocs: add missed verb in docs (#15550) (Jeff Mosawy)
Chores
- 586d45cchore: Upgrade to [email protected] (#15600) (Milos Djermanovic)
- 623e1e2chore: Upgrade to [email protected] (#15599) (Milos Djermanovic)
- 355b23dchore: fix outdated link to Code of Conduct in PR template (#15578) (Rich Trott)
- b10fef2ci: use Node 16 for browser test (#15569) (Milos Djermanovic)
- 92f89fbchore: suggest demo link in bug report template (#15557) (Brandon Mills)
v8.8.0
Features
Documentation
- 5769cc2docs: fix relative link (#15544) (Nick Schonning)
- ccbc35fdocs: trimmed rules h1s to just be rule names (#15514) (Josh Goldberg)
- 851f1f1docs: fixed typo in comment (#15531) (Jiapei Liang)
- 7d7af55docs: address upcoming violation of markdownlint rule MD050/strong-style (#15529) (David Anson)
v8.7.0
Features
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.