-
Notifications
You must be signed in to change notification settings - Fork 34
build: convert eslint.config to typescript and add our plugin #1112
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,7 @@ describe("configs", () => { | |
| const eslint = new ESLint({ | ||
| baseConfig: plugin.configs.recommended as Linter.Config, | ||
| fix: true, | ||
| overrideConfigFile: true, | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was necessary after adding our plugin to the root config. Without this, eslint was using our config in the root as part of this test (which wasn't really good to begin with) |
||
| }); | ||
| const code = await readFile( | ||
| resolve(import.meta.filename, "../../../package.json"), | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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 bet after a while we'll be able to drop this too.