-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v7 #173
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…act version 17.0.0+.
…st, prettier, and lint-staged
@manovotny, I think the |
…unicorn/no-abusive-eslint-disable.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Below is the list of changes in the upcoming release. It will be updated as new commits are made.
12.20.0
or higher.8.7.0
or higher. (Updates to ESlint 8. #175).jsx
now instead of.js
to more explicitly call out which files contain React and which files are pure JavaScript.npx renamer --find js --replace jsx "components/**" --dry-run
(remove--dry-run
once everything looks good).eslint . --ext .js,.jsx
.package.json
property ordering for consistency across projects.Link
as an ESLint shared settinglinkComponents
..json5
and.jsonc
as supported extensions.unicorn/no-null
if GraphQL is used. (Conditionally enable / disableno-null
based on presence ofgraphql
#154)eslint-plugin-jest-formatting
#145)eslint-plugin-next
#142)reduce
performance issues #156)14.18.0
or higher.ecmaVersion
tolatest
17.0.0
or higher.17.0.0
and above as they are no longer necessary (see Introducing the New JSX Transform for more information).always-multiline
option. Makes git diffs easier to understand.disallowTemplateShorthand
option.unicorn/no-abusive-eslint-disable
.caseSensitive
andcaseSensitiveStrict
options.warnOnUnassignedImports
option.resolves
matcher as it was causing conflicts with jest/valid-expect and jest/prefer-expect-resolves rules.always
tonever
based on Node.js documentation.always
tonever
based on Node.js documentation.extensions
from.js
to.jsx
to more explicitly call out which files contain React and which files are pure JavaScript.npx renamer --find js --replace jsx "components/**" --dry-run
(remove--dry-run
once everything looks good).eslint . --ext .js,.jsx
forms
option.import/extensions
and mixed CommonJS / ESM usage.eslint-plugin-json
uses a non-standard preprocessor (it's using vscode-json-languageservice) and currently returns an empty string, which makes it difficult for other plugins to work alongside of it (see Combination with eslint-plugin-prettier azeemba/eslint-plugin-json#38 for more information).eslint-plugin-jsonc
uses the standard ESLint parser espree to create compliant, and thus harmonious, AST.exceptAfterSingleLine
option, but ultimately couldn't find a combination we liked, so we're removing it.jest/prefer-to-be-null
jest/prefer-to-be-undefined
jest/valid-describe