This repository was archived by the owner on Dec 17, 2024. It is now read-only.
chore: update eslint and prettier (minor) #348
Closed
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.30.0->^7.32.0^7.24.0->^7.26.1^2.3.2->^2.4.1Release Notes
eslint/eslint
v7.32.0Compare Source
3c78a7bChore: Adopteslint-plugin/prefer-message-idsrule internally (#14841) (Bryan Mishkin)faecf56Update: change reporting location forcurlyrule (refs #12334) (#14766) (Nitin Kumar)d7dc07aFix: ignore lines with empty elements (fixes #12756) (#14837) (Soufiane Boutahlil)1bfbefdNew: Exit on fatal error (fixes #13711) (#14730) (Antonios Katopodis)ed007c8Chore: Simplify internalno-invalid-metarule (#14842) (Bryan Mishkin)d53d906Docs: Prepare data for website to indicate rules with suggestions (#14830) (Bryan Mishkin)d28f2ffDocs: Reference eslint-config-eslint to avoid potential for staleness (#14805) (Brett Zamir)8be8a36Chore: Adopteslint-plugin/require-meta-docs-urlrule internally (#14823) (Bryan Mishkin)f9c164fDocs: New syntax issue template (#14826) (Nicholas C. Zakas)eba0c45Chore: assertions on reporting loc inunicode-bom(refs #12334) (#14809) (Nitin Kumar)ed945bdDocs: fix multiple broken links (#14833) (Sam Chen)60df44cChore: useactions/setup-node@v2(#14816) (Nitin Kumar)6641d88Docs: Update README team and sponsors (ESLint Jenkins)v7.31.0Compare Source
efdbb12Upgrade: @eslint/eslintrc to v0.4.3 (#14808) (Brandon Mills)a96b05fUpdate: add end location to report inconsistent-return(refs #12334) (#14798) (Nitin Kumar)e0e8e30Docs: update BUG_REPORT template (#14787) (Nitin Kumar)39115c8Docs: provide more context to no-eq-null (#14801) (gfyoung)9a3c73cDocs: fix a broken link (#14790) (Sam Chen)ddffa8aUpdate: Indicating the operator in question (#14764) (Paul Smith)bba714cUpdate: Clarifying what changes need to be made in no-mixed-operators (#14765) (Paul Smith)b0d22e3Docs: Mention benefit of providingmeta.docs.url(#14774) (Bryan Mishkin)000cc79Sponsors: Sync README with website (ESLint Jenkins)a6a7438Chore: pin [email protected] (#14771) (Milos Djermanovic)yannickcr/eslint-plugin-react
v7.26.1Compare Source
Fixed
no-namespace]: fix crash on non-string React.createElement name (#3082 @ljharb)no-namespace]: avoid crash on non-string createElement values (#3085 @ljharb)jsx-no-target-blank]: improve error messages (#3088 @cutiful)Changed
jsx-max-props-per-line]: fix options example (#3083 @MrRaiter)v7.26.0Compare Source
Added
no-namespace] rule (#2640 @yacinehmito @ljharb)jsx-max-props-per-line]: addsingleandmultioptions (#3078 @SIL0RAK)Fixed
display-name]: Get rid of false position on component detection (#2759 @iiison)Changed
no-access-state-in-setstate]: passing test for “don't error if it's not a React Component” (#1873 @kentcdodds)v7.25.3Compare Source
Fixed
prop-types],propTypes: bail out unknown generic types inside func params (#3076 @vedadeepta)Changed
isCreateElementandisDestructuredFromPragmaImportutils (@ljharb)v7.25.2Compare Source
Fixed
jsx-no-useless-fragments]: Handle insignificant whitespace correctly whenallowExpressionsistrue(#3061 @benj-dobs)prop-types],propTypes: handle implicitchildrenprop in react's generic types (#3064 @vedadeepta)display-name]: fix arrow function returning result of function call with JSX arguments being interpreted as component (#3065 @danielfinke)jsx-no-target-blank]: avoid crash on attr-only href (#3066 @ljharb @gaz77a)jsx-uses-vars]: ignore lowercase tag names (#3070 @alanorozco)v7.25.1Compare Source
Fixed
no-this-in-sfc], component detection: Improve stateless component detection (#3056 @Wesitos)v7.25.0Compare Source
Added
jsx-no-useless-fragments]: add option to allow single expressions in fragments (#3006 @mattdarveniza)prefer-exact-props] rule (#1547 @jomasti)jsx-no-target-blank]: addformsoption (#1617 @jaaberg)jsx-pascal-case]: addallowLeadingUnderscoreoption (#3039 @pangaeatech)no-children-prop]: AddallowFunctionsoption (#1903 @alexzherdev)jsx-runtime]: setparserOptions.jsxPragmafor@typescript-eslint/parser(bb64df65 @ljharb)Fixed
estraverseto improve component detection (#2992 @Wesitos)destructuring-assignment], [no-multi-comp], [no-unstable-nested-components], component detection: improve component detection (#3001 @vedadeepta)no-deprecated]: fix crash on rest elements (#3016 @ljharb)destructuring-assignment]: get the contextName correctly (#3025 @ohhoney1)no-typos]: prevent crash on styled components and forwardRefs (#3036 @ljharb)destructuring-assignment], component detection: handle default exports edge case (#3038 @vedadeepta)no-typos]: fix crash on private methods (#3043 @ljharb)jsx-no-bind]: handle local function declarations (#3048 @p7g)prop-types],propTypes: handle React.* TypeScript types (#3049 @vedadeepta)prop-types],propTypes: add handling forFC<Props>, improve tests (#3051 @vedadeepta)prop-types],propTypes: prevent crash introduced in #3051 (#3053 @ljharb)Changed
jsx-no-bind]: updates discussion of refs (#2998 @dimitropoulos)utils/Components: correct spelling and delete unused code (#3026 @ohhoney1)jsx-uses-react], [react-in-jsx-scope]: document [react/jsx-runtime] config (#3018 @pkuczynski @ljharb)require-default-props]: fix small typo (#2994 @evsasse)jsx-runtimeconfig (#3052 @ljharb)prettier/prettier
v2.4.1Compare Source
diff
Fix wildcard syntax in
@forward(#11482) (#11487 by @niksy)Add new CLI option
debug-print-ast(#11514 by @sosukesuzuki)A new
--debug-print-astCLI flag for debugging.v2.4.0Compare Source
diff
🔗 Release Notes
Configuration
📅 Schedule: "before 10am on Monday" 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.