-
Notifications
You must be signed in to change notification settings - Fork 2
Add ESLint 9 support and migrate to flat config #216
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
Open
sjinks
wants to merge
21
commits into
trunk
Choose a base branch
from
add-eslint-9-support
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
78b074b
feat: add support for ESLint 9
sjinks 4a459cb
test: update snapshots
sjinks 9aa9f11
fix: bugs
sjinks 9a77a1b
refactor: remove unused files and dependencies
sjinks 8024fc3
chore: update `.nvmrc`
sjinks a85175e
chore: update remaining dependencies
sjinks 9ef85a0
test: update snapshots
sjinks 0d998d4
chore: update vulnerable dependencies
sjinks f712206
chore(deps): semver-compatible updates
sjinks 8253530
fix: TypeScript rules
sjinks 58bfaf9
fix: apply suggestions from code review
sjinks 7a292e8
chore: update `.nvmrc`
sjinks 8690a49
fix: more bug fixes
sjinks e898de1
fix: ignore comments in `tsconfig.json` files
sjinks 8c6ac6e
chore: switch to `@tsconfig/node20`
sjinks f5431d5
fix: use flat configs from `eslint-plugin-jsx-a11y`
sjinks 92b96b9
fix: typo
sjinks 82c3c10
fix: immutability in `addFiles()`
sjinks d1ca596
chore(deps): update `eslint-plugin-jsdoc` and `eslint-plugin-react-ho…
sjinks 500ef87
fix: `no-async-foreach` rule
sjinks 9b02e0b
test: update tests
sjinks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 18.13 | ||
| 20 |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,16 @@ | ||
| module.exports = { | ||
| /** | ||
| * Please include a short description of the rule. For rules that downgrade or | ||
| * disable errors, include a brief justification or reasoning. | ||
| */ | ||
| rules: { | ||
| // Allow child_process and non-literal `exec` arguments. | ||
| 'security/detect-child-process': 'off', | ||
| /** @type import('eslint').Linter.Config[] */ | ||
| module.exports = [ | ||
| { | ||
| /** | ||
| * Please include a short description of the rule. For rules that downgrade or | ||
| * disable errors, include a brief justification or reasoning. | ||
| */ | ||
| rules: { | ||
| // Allow child_process and non-literal `exec` arguments. | ||
| 'security/detect-child-process': 'off', | ||
|
|
||
| // Process.exit is used in CLI context to stop execution. | ||
| 'no-process-exit': 'off', | ||
| // Process.exit is used in CLI context to stop execution. | ||
| 'no-process-exit': 'off', | ||
| }, | ||
| }, | ||
| }; | ||
| ]; |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.