-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move local rules eslint plugin to scripts
- Loading branch information
Showing
8 changed files
with
30 additions
and
19 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
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,12 @@ | ||
## ESLint plugin local rules | ||
|
||
This package serves as a local ESLint plugin to be used in the monorepo and help maintainers keep certain code standards. | ||
|
||
### Development | ||
|
||
If you're fixing a rule or creating a new one, make sure to: | ||
|
||
1. Make your code changes | ||
2. Rerun yarn install in the `code` directory. It's necessary to update the module reference | ||
3. Update the necessary `.eslintrc.js` files (if you are adding a new rule) | ||
4. Restart the ESLint server in your IDE |
2 changes: 0 additions & 2 deletions
2
code/eslint-plugin-local-rules/index.js → scripts/eslint-plugin-local-rules/index.js
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
File renamed without changes.
File renamed without changes.
File renamed without changes.