-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move configs back to individual packages
- Loading branch information
Showing
14 changed files
with
8,562 additions
and
6,178 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import workleapPlugin from "@workleap/eslint-plugin"; | ||
|
||
const config = workleapPlugin.configs.typescriptLibrary; | ||
|
||
export default config; |
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,10 @@ | ||
# Contributing | ||
|
||
This entire repository uses this ESLint config to lint itself. It uses the live version in the `dist` directory, not the published version. You must build this package in order to lint the project. | ||
|
||
## Inspecting configs | ||
|
||
The easiest way to debug these configs is to use the config inspector provided by ESLint. | ||
|
||
Run `pnpm dlx @eslint/config-inspector`. This will open the browser to a dashboard that will allow you to search by file or rule, and see exactly why a rule is applying to a specific file. | ||
|
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,10 @@ | ||
import workleapPlugin from "@workleap/eslint-plugin"; | ||
|
||
const config = [ | ||
...workleapPlugin.configs.typescriptLibrary.map(conf => ({ | ||
...conf, | ||
ignores: ["lib/plugins.d.ts"] | ||
})) | ||
]; | ||
|
||
export default config; |
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,5 @@ | ||
import workleapPlugin from "@workleap/eslint-plugin"; | ||
|
||
const config = workleapPlugin.configs.typescriptLibrary; | ||
|
||
export default config; |
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,5 @@ | ||
import workleapPlugin from "@workleap/eslint-plugin"; | ||
|
||
const config = workleapPlugin.configs.typescriptLibrary; | ||
|
||
export default config; |
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,5 @@ | ||
import workleapPlugin from "@workleap/eslint-plugin"; | ||
|
||
const config = workleapPlugin.configs.typescriptLibrary; | ||
|
||
export default config; |
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,5 @@ | ||
import workleapPlugin from "@workleap/eslint-plugin"; | ||
|
||
const config = workleapPlugin.configs.typescriptLibrary; | ||
|
||
export default config; |
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,5 @@ | ||
import workleapPlugin from "@workleap/eslint-plugin"; | ||
|
||
const config = workleapPlugin.configs.typescriptLibrary; | ||
|
||
export default config; |
Oops, something went wrong.