-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Move JS parsing logic into JS language (#18448)
* feat: Implement language plugins Refs eslint/rfcs#99 * Add JS language index file stub * Refactor to use language parser * Add language to flat config * Fix up linter errors * Add VFile class * Hook up validation and esquery * Update flat config schema to account for new languageOptions * Fix linting errors * Add visitorKeys property per RFC * Remove unused eslint-utils * Fix test failures * Ensure columnStart and lineStart are honored * Update lib/languages/js/validate-language-options.js Co-authored-by: Milos Djermanovic <[email protected]> * Update lib/languages/js/validate-language-options.js Co-authored-by: Milos Djermanovic <[email protected]> * Update lib/languages/js/validate-language-options.js Co-authored-by: Milos Djermanovic <[email protected]> * Update lib/languages/js/validate-language-options.js Co-authored-by: Milos Djermanovic <[email protected]> * Clean up logic and comments; update docs * Fix passing hasBOM to constructor * Update location info with language settings * Fix line/column errors in linter * Revert changes to tests for endLine/endColumn * Revert fuzzer tests * Fix global merge behavior * Fix tests * Remove restriction on ESTree for scope analysis * Fix RuleTester conflict * Fix RuleTester tests * Remove check for global scope * Remove ESTree check * Ensure globals is serialized properly --------- Co-authored-by: Milos Djermanovic <[email protected]>
- Loading branch information
1 parent
6880286
commit 4b23ffd
Showing
38 changed files
with
1,220 additions
and
257 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
Oops, something went wrong.