-
Notifications
You must be signed in to change notification settings - Fork 9
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
docs: 📝 adds VSCode instructions for official ESlint > v9.9.0 (#268) #269
Merged
AndreaPontrandolfo
merged 8 commits into
AndreaPontrandolfo:master
from
sangrepura:sangrepura/Issue268
Nov 13, 2024
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
ed946b4
docs: :memo: adds instructions for integrating official ESlint > v9.9…
sangrepura 7331234
Merge branch 'master' into sangrepura/Issue268
AndreaPontrandolfo 68fe1cb
feature(cli): removed eslint-ts-patch
AndreaPontrandolfo 556b2d9
docs(website): updated docs
AndreaPontrandolfo 9556270
added changeset
AndreaPontrandolfo 1594814
Merge branch 'master' into sangrepura/Issue268
AndreaPontrandolfo f4d9b8a
added permissions for token
AndreaPontrandolfo 3ad2f1d
Merge branch 'sangrepura/Issue268' of https://github.com/sangrepura/s…
AndreaPontrandolfo 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 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,7 @@ | ||
--- | ||
'@sherifforg/create-config': minor | ||
--- | ||
|
||
feature(cli): removed eslint-ts-patch | ||
Fixes [#201](https://github.com/AndreaPontrandolfo/sheriff/issues/201) | ||
Fixes [#268](https://github.com/AndreaPontrandolfo/sheriff/issues/268) |
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
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
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
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
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
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
13 changes: 13 additions & 0 deletions
13
packages/sheriff-create-config/src/utils/askForEslintTsConfig.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { colors } from 'consola/utils'; | ||
import { customConsolaPrompt } from './customConsolaPrompt'; | ||
|
||
export const askForEslintTsConfig = async (): Promise<boolean> => { | ||
const isEslintTsConfig = await customConsolaPrompt( | ||
`Do you prefer the config as a Typescript file? The generated config will be a ${colors.bold('eslint.config.ts')} file`, | ||
{ | ||
type: 'confirm', | ||
}, | ||
); | ||
|
||
return isEslintTsConfig; | ||
}; |
14 changes: 0 additions & 14 deletions
14
packages/sheriff-create-config/src/utils/askForEslintTsPatch.ts
This file was deleted.
Oops, something went wrong.
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
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
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
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.
FYI, I fixed this over in #305, @AndreaPontrandolfo.
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.
I tried it earlier, but it didn't work for me.
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.
Tried what? Faster works, but rspack 1.1 had an breaking regression and hasn't fixed it. You just need to override it to v1.0.
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.
ye i tried the override, but it didnt work.
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.
Can you try now, after refreshing the lockfile? rspack 1.1.1 should've fixed it.