Update ESLint and Prettier (major) #426
Merged
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:
^6.8.0->^7.1.0^1.19.1->^2.0.5Release Notes
eslint/eslint
v7.1.0Compare Source
a93083aFix: astUtils.getNextLocation returns invalid location after CRLF (#13275) (Milos Djermanovic)df01af1Update: padded-blocks loc position changes (refs #12334) (#13328) (Anix)bd3f092Fix: max-lines-per-function flagging arrow IIFEs (fixes #13332) (#13336) (cherryblossom000)25462b2Update: block-spacing changed loc for extra (refs #12334) (#13314) (Anix)de0aab9Fix: report end loc in one-var-declaration-per-line (refs #12334) (#13326) (YeonJuan)1710296Fix: no-new-symbol false positive with Symbol as an argument (#13337) (Milos Djermanovic)cc01451Fix: arrow-parens no reporting for comments inside (fixes #12995) (#13312) (Anix)a195141Update: reporting location for semi-spacing (refs #12334) (#13285) (Anix)e3e4c41Fix: fix false positives of no-new-func (#13333) (Pig Fang)611c676Docs: Update new rules policies (#13343) (Nicholas C. Zakas)3a5fbb3Chore: correct fileoverview doc in accessor-pairs (#13335) (YeonJuan)b0a6b81Update: Improve report location for rest-spread-spacing (refs #12334) (#13313) (Milos Djermanovic)68c8ee3Fix: Stop path analyzer on unknown nodes (#13305) (Ilya Volodin)89e1081Update: Improve report location for linebreak-style (refs #12334) (#13317) (Milos Djermanovic)0891379Docs: Document the "correct" way to build an array with values (#13246) (Ed S)88127d7Chore: remove checkbox from PR template prerequesites (#13330) (Kai Cataldo)c636d57New: no-loss-of-precision (fixes #11279) (#12747) (jmoore914)72a4e10Chore: Mark SourceCode getComments() method as deprecated (fixes #13293) (#13296) (SuperOleg39)7f14846Docs: fix broken link in Node.js API docs (#13307) (Kai Cataldo)02aeba1Sponsors: Sync README with website (ESLint Jenkins)1f17533Docs: Gitter -> Discord URL (refs #13039) (#13308) (Nicholas C. Zakas)82a448aDocs: improve documentation of no-return-await (#13215) (Linus Unnebäck)742941dUpdate: added typescript-eslint/recommended configs for init (#13235) (Anix)3d03df0Sponsors: Sync README with website (ESLint Jenkins)f44a6b4Chore: fix invalid syntax in require-await tests (#13277) (Milos Djermanovic)2c778fbFix: remove custom plugins from replacedBy metadata (#13274) (Kai Cataldo)0db3b1dSponsors: Sync README with website (ESLint Jenkins)v7.0.0Compare Source
b98d8bdUpgrade: [email protected] (#13271) (Kai Cataldo)4c0b028Fix: remove Node.js and CommonJS category from build process (#13242) (Kai Cataldo)401a687Chore: fix rules list for prereleases (#13230) (Kai Cataldo)4ef6158Breaking: [email protected] (#13270) (Kai Cataldo)b5c8d73Docs: update 7.0.0 migration guide for consistency (#13267) (Kai Cataldo)356fdb4Docs: add migration guide (#12692) (Toru Nagashima)015edf6Sponsors: Sync README with website (ESLint Jenkins)fdfa3647.0.0-rc.0 (ESLint Jenkins)8d1b4dbBuild: changelog update for 7.0.0-rc.0 (ESLint Jenkins)0b1d65aUpdate: Improve report location for array-callback-return (refs #12334) (#13109) (Milos Djermanovic)d85e291Fix: yoda left string fix for exceptRange (fixes #12883) (#13052) (Anix)2ce6bedChore: added tests for nested arrays (#13145) (Anix)d3aac53Update: report backtick loc in no-unexpected-multiline (refs #12334) (#13142) (Milos Djermanovic)8e7a2d9Fix: func-call-spacing "never" reports wrong message (fixes #13190) (#13193) (Milos Djermanovic)bcafd0fUpdate: Add ESLint API (refs eslint/rfcs#40) (#12939) (Kai Cataldo)3eeae56Upgrade: some (dev) deps (#13155) (薛定谔的猫)6b7030bChore: Run tests on Node.js v14 (#13210) (fisker Cheung)ebc28d7Fix: Remove default .js from --ext CLI option (#13176) (Brandon Mills)5c1bdebUpdate: Improve report location for getter-return (refs #12334) (#13164) (Milos Djermanovic)56d2beeDocs: fix typos (#13204) (Nitin Kumar)e13256eChore: use espree.latestEcmaVersion in config-initializer (#13157) (Kai Cataldo)e4f57b7Chore: add nested array tests for array-element-newline (#13161) (Anix)63ac918Sponsors: Sync README with website (ESLint Jenkins)516f253Docs: Adds import example for object-curly-newline rule (refs #12018) (#13177) (Luke Lewis)5a0e84eSponsors: Sync README with website (ESLint Jenkins)b398e0bDocs: add rule comment in prefer-rest-params doc (#13191) (YeonJuan)ffaa4baSponsors: Sync README with website (ESLint Jenkins)932869bSponsors: Sync README with website (ESLint Jenkins)54630f0Sponsors: Sync README with website (ESLint Jenkins)c9a5035Fix: newBasePath should be an absolute path (fixes #12850) (#13078) (Nick Harris)e7c1d4bUpdate: deprecate Node.js & CommonJS rules (#12898) (Kai Cataldo)95e1c70Upgrade: [email protected] (fixes #9366) (#13140) (Kai Cataldo)c41de38Docs: fix curly multi-or-nest examples with comments (refs #12972) (#13151) (Milos Djermanovic)57221d5Docs: fix eslint comment in no-inner-declarations examples (#13152) (Milos Djermanovic)301b450Fix: no-extra-parens export default sequence expression false positive (#13096) (Milos Djermanovic)af4472fUpdate: Improve report location for new-cap (refs #12334) (#13136) (Milos Djermanovic)bfa811cFix: init error in extending recommended config (fixes #12707) (#12738) (YeonJuan)5dfd4ebDocs: examples with arrow functions in no-return-assign (fixes #13135) (#13138) (Anix)adc8fa8Docs: clarify exceptions in spaced-comment (fixes #13032) (#13126) (Anix)a784dacUpdate: Improve report location newline-per-chained-call (refs #12334) (#13116) (Milos Djermanovic)5e07574Update: Improve report location for space-before-function-paren (#13128) (Chiawen Chen)d0d32a8Sponsors: Sync README with website (ESLint Jenkins)17e2fe4Update: Improve error message for fatal fixer errors (#13120) (Brad Zacher)7551f0cFix: no check for shadowed Object (fixes #12809) (#13115) (Anix)988d842Fix: add end location to report in no-useless-concat (refs #12334) (#13110) (Milos Djermanovic)0518ebbSponsors: Sync README with website (ESLint Jenkins)252fd41Sponsors: Sync README with website (ESLint Jenkins)438dcbbUpdate: Improve report location for comma-style (refs #12334) (#13111) (Chiawen Chen)85b7254Update: no-inner-declarations false negative in non-block (fixes #12222) (#13062) (Anix)6631ef1Update: Improve report location for no-empty-function (refs #12334) (#13121) (Milos Djermanovic)b228f95Docs: Update README team and sponsors (ESLint Jenkins)119b7ce7.0.0-alpha.3 (ESLint Jenkins)2531b80Build: changelog update for 7.0.0-alpha.3 (ESLint Jenkins)78c8cdaBreaking: RuleTester Improvements (refs eslint/rfcs#25) (#12955) (Milos Djermanovic)e0f1b6cUpdate: stricter array index check in no-magic-numbers (fixes #12845) (#12851) (Milos Djermanovic)362713cUpdate: Improve report location for template-curly-spacing (#12813) (Milos Djermanovic)29f32dbFix: Change error message logic for implicit file ignore (fixes #12873) (#12878) (Scott Hardin)eb1a43cFix: require-await ignore async generators (fixes #12459) (#13048) (Anix)920465bFix: getNameLocationInGlobalDirectiveComment end location (refs #12334) (#13086) (Milos Djermanovic)ae14a02Fix: add end location to report in no-extra-bind (refs #12334) (#13083) (Milos Djermanovic)105384cUpdate: report operator location in operator-linebreak (refs #12334) (#13102) (Milos Djermanovic)081e240Update: support globalThis in no-implied-eval (fixes #12670) (#13105) (YeonJuan)185982dBreaking: improve plugin resolving (refs eslint/rfcs#47) (#12922) (Toru Nagashima)0c20bc0Fix: check assignment property target in camelcase (fixes #13025) (#13027) (YeonJuan)8d50a7dFix: add end location to report in no-prototype-builtins (refs #12334) (#13087) (Milos Djermanovic)3e4e7f8Fix: incorrect logic for required parens in no-extra-boolean-cast fixer (#13061) (Milos Djermanovic)6c069f9Docs: Add comments to code block in example (#13089) (Kibeom Kwon)ee1f053Docs: Fix typo (#13092) (Max Coplan)76324acDocs: Add further reading to rule (#13084) (Max Coplan)a1370abUpdate: Report constructor calls in no-obj-calls (#12909) (Milos Djermanovic)2111c52Upgrade: [email protected] (#13076) (Milos Djermanovic)3f7c9bfDocs: clarify variables option in no-use-before-define (fixes #12986) (#13017) (Anix)aef9488Fix: allow references to external globals in id-blacklist (fixes #12567) (#12987) (Milos Djermanovic)4955c50Fix: remove type arguments in prefer-object-spread (fixes #13058) (#13063) (Milos Djermanovic)48b122fBreaking: change relative paths with --config (refs eslint/rfcs#37) (#12887) (Toru Nagashima)085979fUpdate: consider env in no-implied-eval (fixes #12733) (#12757) (YeonJuan)9ac5b9eDocs: Clarify node_modules is ignored by default (fixes #13006) (#13054) (Mika Kuijpers)0de91f3Docs: removed correct code from incorrect eg (#13060) (Anix)dbe357dFix: check template literal in prefer-numeric-literals (fixes #13045) (#13046) (YeonJuan)2260611Fix: added async in allow method in no-empty-function (fixes #12768) (#13036) (Anix)f3788afSponsors: Sync README with website (ESLint Jenkins)e90b29bUpdate: Allow testing Suggestions with data in RuleTester (fixes #12606) (#12635) (Milos Djermanovic)7224eeeFix: no-plusplus allow comma operands in for afterthought (fixes #13005) (#13024) (Milos Djermanovic)7598cf8Fix: Newline before eof when creating config via --init (#12952) (Andreas Lind)183e300Update: support globalThis (refs #12670) (#12774) (YeonJuan)af7af9dDocs: Update governance (#13055) (Nicholas C. Zakas)31d5eb3Sponsors: Sync README with website (ESLint Jenkins)95613d4Upgrade: [email protected] (#13026) (Kai Cataldo)f1525dcSponsors: Sync README with website (ESLint Jenkins)0243549Fix: camelcase false positive with computed property (fixes #13022) (#13023) (Milos Djermanovic)bc0c02cChore: added lock files to gitignore (#13015) (Anix)79ac6cdDocs: added less confusing explanation for func-style (fixes #12900) (#13004) (Anix)26267edChore: update GitHub Actions (#12984) (Pig Fang)1299705Update: acorn version (#13016) (Idan Avrahami)6cef0d5Fix: Check division operator in astUtils.canTokensBeAdjacent (#12879) (Milos Djermanovic)fd8e1f5Sponsors: Sync README with website (ESLint Jenkins)472025fChore: update space-before-function-paren in eslint-config-eslint (#12966) (Kai Cataldo)fd8c42aSponsors: Sync README with website (ESLint Jenkins)c615eae7.0.0-alpha.2 (ESLint Jenkins)2e8f193Build: changelog update for 7.0.0-alpha.2 (ESLint Jenkins)a5b41a7Update: no-restricted-modules handle TemplateLiteral (fixes #12926) (#12927) (Michal Piechowiak)051567aUpdate: check identifier in array pattern in id-length (fixes #12832) (#12839) (YeonJuan)4af06fcBreaking: Test with an unknown error property should fail in RuleTester (#12096) (Milos Djermanovic)9038a29Update: func-namesas-neededfalse negative with AssignmentPattern (#12932) (Milos Djermanovic)afde78bFix: curly removes necessary braces between if and else (fixes #12928) (#12943) (Milos Djermanovic)4797fb2Fix: arrow-body-style crash with object literal body (fixes #12884) (#12886) (Milos Djermanovic)afa9aacBreaking: class defaulttruecomputed-property-spacing (fixes #12812) (#12915) (Milos Djermanovic)b8e20d3Docs: Mention TypeScript's compiler check (#12903) (Benny Neugebauer)de14d1cFix: wrap-iife autofix removes mandatory parentheses (#12905) (Milos Djermanovic)5775b06Fix: Optionally allow underscores in member names (#11972) (Edgardo Avilés)e997f32Docs: Updated arrow-parens for minor grammar issue (#12962) (Tom)7d52151Breaking: classes defaulttruein accessor-pairs (fixes #12811) (#12919) (Milos Djermanovic)cf14355Docs: Fix links to custom parsers doc (#12965) (Brandon Mills)0dfc3ffFix: add end location to report in no-eval (#12960) (Milos Djermanovic)f479f6fDocs: References correct config file name (#12885) (Patrick Kilgore)78182e4Breaking: Add new rules to eslint:recommended (fixes #12911) (#12920) (Milos Djermanovic)8d5c434Docs: fix category descriptions for site generation (fixes #12894) (#12930) (Kai Cataldo)05380e6Docs: Remove claim about semicolons from docs (#12944) (Luke Sikina)aa9d725Sponsors: Sync README with website (ESLint Jenkins)7747177Update: report rename id destructuring in id-blacklist (fixes #12807) (#12923) (YeonJuan)6423e11Breaking: check unnamed default export in func-names (fixes #12194) (#12195) (Chiawen Chen)77df505Update: check renaming identifier in object destructuring (fixes 12827) (#12881) (YeonJuan)41de9dfUpdate: enforceForLogicalOperands no-extra-boolean-cast (fixes #12137) (#12734) (jmoore914)98a9b017.0.0-alpha.1 (ESLint Jenkins)e9f1073Build: changelog update for 7.0.0-alpha.1 (ESLint Jenkins)f702b1aAdd missing plugin reference (#12796) (Eduard Bardají Puig)1f1424cFix: fix inconsistently works option in no-extra-parens (fixes #12717) (#12843) (YeonJuan)b5adcaaFix: make YieldExpression throwable (fixes #12880) (#12897) (YeonJuan)4293229Breaking: use-isnan enforceForSwitchCase defaulttrue(fixes #12810) (#12913) (Milos Djermanovic)cf38d0dBreaking: change default ignore pattern (refs eslint/rfcs#51) (#12888) (Toru Nagashima)bfe1dc4Breaking: no-dupe-class-members checks some computed keys (fixes #12808) (#12837) (Milos Djermanovic)1ee6b63Update: check template literal in yoda (fixes #12863) (#12876) (YeonJuan)0ae7041Sponsors: Sync README with website (ESLint Jenkins)1907e57Chore: add Twitter and Open Collective badge (#12877) (Kai Cataldo)95e0586Fix: id-blacklist false positives on renamed imports (#12831) (Milos Djermanovic)b7f0d20Chore: Use consistent badge style (#12825) (fisker Cheung)3734a66Chore: use ids for messages (#12859) (Gareth Jones)824d235Docs: add errorOnUnmatchedPattern option to CLIEngine (#12834) (Arthur Denner)439c833Update: array-callback-return checks Array.forEach (fixes #12551) (#12646) (Gabriel R Sezefredo)33efd71Docs: Fix spelling mistakes (#12861) (Bryan Mishkin)a5b3c5fDocs: Update README team and sponsors (ESLint Jenkins)0cae920Chore: rename shadowed global (#12862) (Tony Brix)055b80dChore: Fix typo in complexity.js (#12864) (Kyle Shevlin)d6c313dDocs: add missing eslint comments in prefer-regex-literals examples (#12858) (Milos Djermanovic)7d551abSponsors: Sync README with website (ESLint Jenkins)540de8eSponsors: Sync README with website (ESLint Jenkins)ac5d515Sponsors: Sync README with website (ESLint Jenkins)dadc892Fix: operator-assignment crash on adjacent division assignment (#12844) (Milos Djermanovic)9f39ef0Chore: typo in PULL_REQUEST_TEMPLATE.md (#12848) (Balázs Orbán)a60d5cdChore: typo in no-irregular-whitespace.js (#12847) (Balázs Orbán)691d19aChore: add missingecmaVersion2020/11 type value (#12833) (Piotr Błażejewicz (Peter Blazejewicz))516ddb3Sponsors: Sync README with website (ESLint Jenkins)a9d92f9Fix: radix rule crash on disabled globals (#12824) (Milos Djermanovic)03a69dbUpdate: check template literal in no-proto, no-iterator (fixes #12801) (#12806) (YeonJuan)562e784Update: fix no-magic-numbers false negative with ignoreArrayIndexes (#12805) (Milos Djermanovic)f5b9656Chore: add test for no-constant-condition (#12836) (Milos Djermanovic)533c114Fix: multiline-comment-style rule add extra space after * (fixes #12785) (#12823) (Karthik Priyadarshan)0460748Update: check template literal in no-constant-condition (fixes #12815) (#12816) (YeonJuan)80309c3Fix: no-constant-condition doesn't introspect arrays (fixes #12225) (#12307) (Sean Gray)10a79a6Chore: Adopteslint-plugin/require-meta-docs-descriptioninternally (#12762) (Bryan Mishkin)aea1729Docs: Fix anchor links in Node.js API TOC (#12821) (Matija Marohnić)1b8a3ceSponsors: Sync README with website (ESLint Jenkins)c2217c0Breaking: makeradixrule stricter (#12608) (fisker Cheung)e03a7b37.0.0-alpha.0 (ESLint Jenkins)c8c1b2bBuild: changelog update for 7.0.0-alpha.0 (ESLint Jenkins)1aa021dBreaking: lintoverridesfiles (fixes #10828, refs eslint/rfcs#20) (#12677) (Toru Nagashima)e59d775Update: Separate pattern/expression options for array-element-newline (#11796) (jacobparish)f8f115aUpdate: treat comment tokens in template-curly-spacing (fixes #12744) (#12775) (YeonJuan)b50179dBreaking: Check assignment targets in no-extra-parens (#12490) (Milos Djermanovic)de4fa7cFix: wrong indent at tagged template in indent (fixes #12122) (#12596) (YeonJuan)d86a5bbBreaking: Check flatMap in array-callback-return (fixes #12235) (#12765) (Milos Djermanovic)cf46df7Breaking: description in directive comments (refs eslint/rfcs#33) (#12699) (Toru Nagashima)7350589Breaking: some rules recognize bigint literals (fixes #11803) (#12701) (Toru Nagashima)16a1c1fFix: prefer-object-spread false positives with accessors (fixes #12086) (#12784) (Milos Djermanovic)f9774ecNew: Add default-case-last rule (fixes #12665) (#12668) (Milos Djermanovic)9a93d9eUpdate: fix no-restricted-imports export * false negative (fixes #12737) (#12798) (Milos Djermanovic)0d8c0afFix: improve report location for computed-property-spacing (#12795) (Milos Djermanovic)756b95dFix: id-blacklist should ignore ObjectPatterns (fixes #12787) (#12792) (JP Ramassini)561b6d4Chore: add prerequisites checklist to PR template (#12790) (Kai Cataldo)01ff791Fix: Display pipe character correctly in test output (#12771) (Brad Zacher)68becbdUpdate: fix no-restricted-imports importNames reporting (fixes #12282) (#12711) (Andrey Alexandrov)ae959b6Update: report double extra parens in no-extra-parens (fixes #12127) (#12697) (YeonJuan)02fcc05Docs: Improve sort-keys (#12791) (Steven Vachon)35cd958Sponsors: Sync README with website (ESLint Jenkins)a1d999cNew: Add no-useless-backreference rule (fixes #12673) (#12690) (Milos Djermanovic)b2c6209Update: fix no-extra-parens CallExpression#callee false negatives (#12743) (Milos Djermanovic)14b42c3Update: fix counting jsx comment len in max-len (fixes #12213) (#12661) (YeonJuan)e632c31Upgrade: several dependencies (#12753) (Toru Nagashima)25eb703Docs: fix dead link in max-lines rule docs (#12766) (Christian Bundy)9dfc850Chore: Refactor to use messageId in a number of rules (#12715) (Brad Zacher)1118fceBreaking: runtime-deprecation on '~/.eslintrc' (refs eslint/rfcs#32) (#12678) (Toru Nagashima)2c28fbbBreaking: drop Node.js 8 support (refs eslint/rfcs#44) (#12700) (Toru Nagashima)098b67dDocs: fix minor typo in brace-style.md (#12749) (Marko Kaznovac)313f70aUpdate: add outerIIFEBody: "off" to indent rule (fixes #11377) (#12706) (Kai Cataldo)b77b858Chore: fix separateRequires tests for one-var rule (#12709) (Milos Djermanovic)e4df7dfChore: add JSDoc types for RuleTester test cases (#12325) (Chiawen Chen)b23ad0dDocs: change a broken link in working-with-rules.md (#12732) (Damien Cassou)3fa39a6Update: Handle locally unsupported regex in computed property keys (#12056) (Milos Djermanovic)4744397Chore: remove unused code in max-lines-per-function (#12659) (YeonJuan)4e16957Build: update browser build (#12693) (Toru Nagashima)00ddfffFix: Windows path parsing for JUnit (fixes #12507) (#12509) (Michael Wall)985dac3New: Add no-restricted-exports rule (fixes #10428) (#12546) (Milos Djermanovic)1aff21bFix: no-mixed-spaces-and-tabs reports multiline strings (#12566) (Milos Djermanovic)8f1020fUpdate: no-void add an option to allow void as a statement (#12613) (Brad Zacher)bb6cf50Update: Add offsetTernaryExpressions option for indent rule (#12556) (Adam Stankiewicz)39f5a45Chore: add test cases for for-direction (#12698) (YeonJuan)b340304Chore: Add extra test, improve docs (#12492) (Kevin Partington)827259eBuild: package.json update for eslint-config-eslint release (ESLint Jenkins)prettier/prettier
v2.0.5Compare Source
diff
Less: Fix f
Renovate configuration
📅 Schedule: "after 9pm,before 9am" in timezone Asia/Tokyo.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, 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 has been generated by WhiteSource Renovate. View repository job log here.