-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NEW(eslint): @W-17495039@: Allow users to specify file extensions tha…
…t aren't associated with base plugins but only custom plugins
- Loading branch information
1 parent
9b81fbc
commit 48a8cbc
Showing
8 changed files
with
126 additions
and
21 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
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
15 changes: 15 additions & 0 deletions
15
...data/legacyConfigCases/workspace_HasCustomConfigWithNewRules/.eslintrc_customLanguage.yml
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,15 @@ | ||
overrides: | ||
- files: | ||
- "*.html" | ||
- "*.cmp" | ||
plugins: | ||
- "dummy" | ||
parserOptions: | ||
ecmaVersion: 2020 | ||
rules: | ||
"dummy/my-rule-1": | ||
- "error" | ||
"dummy/my-rule-2": | ||
- "error" | ||
"dummy/my-rule-3": | ||
- "error" |
2 changes: 2 additions & 0 deletions
2
...-engine/test/test-data/legacyConfigCases/workspace_HasCustomConfigWithNewRules/dummy.html
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,2 @@ | ||
// Yes I know this isn't an html file. For testing purposes, this javascript file living in an html file is all I need. | ||
let forbidden = 3; |