Repository navigation
Replace antfu's eslint config with xo #8766
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
c5c8caa
Initial plan
Copilot 622e7a7
Replace antfu's eslint config with xo's eslint config
Copilot cbf3fef
Configure xo eslint for Svelte and improve compatibility
Copilot f91102e
Fix TypeScript errors in readme-parser and actions-run-removal
Copilot 4daa205
Fix readme-parser test by restoring null coalescing for screenshots
Copilot c050158
Disable JSX quotes and function-paren-newline rules, revert all auto-…
Copilot 5d6854c
Revert null to undefined changes in types.d.ts
Copilot 7bc4245
me no like
fregante c4c3f33
dos
fregante 2b74727
Some fixes
fregante 1edda27
auto-fixes
fregante 141b8b5
Manual fixes
fregante 616140e
Create eslint-suppressions.json
fregante 2d23dae
Tweaks
fregante 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 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 |
|---|---|---|
| @@ -0,0 +1,212 @@ | ||
| { | ||
| "source/background.ts": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/features/action-pr-link.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 2 | ||
| } | ||
| }, | ||
| "source/features/action-used-by-link.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 3 | ||
| } | ||
| }, | ||
| "source/features/clean-conversation-headers.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/features/comments-time-machine-links.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/features/deep-reblame.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/features/embed-gist-inline.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/features/html-preview-link.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/features/linkify-branch-references.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 2 | ||
| } | ||
| }, | ||
| "source/features/list-prs-for-branch.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 4 | ||
| } | ||
| }, | ||
| "source/features/list-prs-for-file.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 2 | ||
| } | ||
| }, | ||
| "source/features/mark-merge-commits-in-list.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/features/new-repo-disable-projects-and-wikis.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 2 | ||
| } | ||
| }, | ||
| "source/features/one-click-diff-options.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 2 | ||
| } | ||
| }, | ||
| "source/features/pagination-hotkey.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 2 | ||
| } | ||
| }, | ||
| "source/features/pr-first-commit-title.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/features/pr-notification-link.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/features/prevent-link-loss.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 3 | ||
| } | ||
| }, | ||
| "source/features/quick-mention.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/features/quick-repo-deletion.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 3 | ||
| } | ||
| }, | ||
| "source/features/show-associated-branch-prs-on-fork.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 4 | ||
| } | ||
| }, | ||
| "source/features/show-open-prs-of-forks.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 2 | ||
| } | ||
| }, | ||
| "source/features/sort-conversations-by-update-time.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/features/sync-pr-commit-title.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 3 | ||
| } | ||
| }, | ||
| "source/features/update-pr-from-base-branch.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/features/useful-not-found-page.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 2 | ||
| } | ||
| }, | ||
| "source/features/user-profile-follower-badge.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/github-helpers/api.ts": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 9 | ||
| } | ||
| }, | ||
| "source/github-helpers/dom-formatters.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 3 | ||
| } | ||
| }, | ||
| "source/github-helpers/get-default-branch.ts": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 2 | ||
| } | ||
| }, | ||
| "source/github-helpers/github-file-url.ts": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/github-helpers/github-token.ts": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 2 | ||
| } | ||
| }, | ||
| "source/github-helpers/index.ts": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 2 | ||
| } | ||
| }, | ||
| "source/github-helpers/selectors.test.ts": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/globals.d.ts": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/helpers/caller-id.ts": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/helpers/feature-helpers.ts": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/helpers/fetch-dom.ts": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 2 | ||
| } | ||
| }, | ||
| "source/helpers/hotfix.tsx": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/helpers/show-whitespace-on-line.test.ts": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| }, | ||
| "source/options-storage.ts": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 3 | ||
| } | ||
| }, | ||
| "source/resolve-conflicts.ts": { | ||
| "@typescript-eslint/naming-convention": { | ||
| "count": 1 | ||
| } | ||
| } | ||
| } | ||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.