This repository has been 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.1
Release Notes
eslint/eslint
v7.32.0
Compare Source
3c78a7b
Chore: Adopteslint-plugin/prefer-message-ids
rule internally (#14841) (Bryan Mishkin)faecf56
Update: change reporting location forcurly
rule (refs #12334) (#14766) (Nitin Kumar)d7dc07a
Fix: ignore lines with empty elements (fixes #12756) (#14837) (Soufiane Boutahlil)1bfbefd
New: Exit on fatal error (fixes #13711) (#14730) (Antonios Katopodis)ed007c8
Chore: Simplify internalno-invalid-meta
rule (#14842) (Bryan Mishkin)d53d906
Docs: Prepare data for website to indicate rules with suggestions (#14830) (Bryan Mishkin)d28f2ff
Docs: Reference eslint-config-eslint to avoid potential for staleness (#14805) (Brett Zamir)8be8a36
Chore: Adopteslint-plugin/require-meta-docs-url
rule internally (#14823) (Bryan Mishkin)f9c164f
Docs: New syntax issue template (#14826) (Nicholas C. Zakas)eba0c45
Chore: assertions on reporting loc inunicode-bom
(refs #12334) (#14809) (Nitin Kumar)ed945bd
Docs: fix multiple broken links (#14833) (Sam Chen)60df44c
Chore: useactions/setup-node@v2
(#14816) (Nitin Kumar)6641d88
Docs: Update README team and sponsors (ESLint Jenkins)v7.31.0
Compare Source
efdbb12
Upgrade: @eslint/eslintrc to v0.4.3 (#14808) (Brandon Mills)a96b05f
Update: add end location to report inconsistent-return
(refs #12334) (#14798) (Nitin Kumar)e0e8e30
Docs: update BUG_REPORT template (#14787) (Nitin Kumar)39115c8
Docs: provide more context to no-eq-null (#14801) (gfyoung)9a3c73c
Docs: fix a broken link (#14790) (Sam Chen)ddffa8a
Update: Indicating the operator in question (#14764) (Paul Smith)bba714c
Update: Clarifying what changes need to be made in no-mixed-operators (#14765) (Paul Smith)b0d22e3
Docs: Mention benefit of providingmeta.docs.url
(#14774) (Bryan Mishkin)000cc79
Sponsors: Sync README with website (ESLint Jenkins)a6a7438
Chore: pin fs-teardown@0.1.1 (#14771) (Milos Djermanovic)yannickcr/eslint-plugin-react
v7.26.1
Compare 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.0
Compare Source
Added
no-namespace
] rule (#2640 @yacinehmito @ljharb)jsx-max-props-per-line
]: addsingle
andmulti
options (#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.3
Compare Source
Fixed
prop-types
],propTypes
: bail out unknown generic types inside func params (#3076 @vedadeepta)Changed
isCreateElement
andisDestructuredFromPragmaImport
utils (@ljharb)v7.25.2
Compare Source
Fixed
jsx-no-useless-fragments
]: Handle insignificant whitespace correctly whenallowExpressions
istrue
(#3061 @benj-dobs)prop-types
],propTypes
: handle implicitchildren
prop 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.1
Compare Source
Fixed
no-this-in-sfc
], component detection: Improve stateless component detection (#3056 @Wesitos)v7.25.0
Compare 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
]: addforms
option (#1617 @jaaberg)jsx-pascal-case
]: addallowLeadingUnderscore
option (#3039 @pangaeatech)no-children-prop
]: AddallowFunctions
option (#1903 @alexzherdev)jsx-runtime
]: setparserOptions.jsxPragma
for@typescript-eslint/parser
(bb64df65 @ljharb)Fixed
estraverse
to 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-runtime
config (#3052 @ljharb)prettier/prettier
v2.4.1
Compare 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-ast
CLI flag for debugging.v2.4.0
Compare 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.