Add JS language support (#24035)

* Add JS language support

* fixes
This commit is contained in:
Charles Gagnon
2023-07-31 14:59:15 -07:00
committed by GitHub
parent f99fd366af
commit ae05fdc332
13 changed files with 12876 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
The file `JavaScript.tmLanguage.json` is derived from [TypeScriptReact.tmLanguage](https://github.com/microsoft/TypeScript-TmLanguage/blob/master/TypeScriptReact.tmLanguage).
To update to the latest version:
- `cd extensions/typescript` and run `npm run update-grammars`
- don't forget to run the integration tests at `./scripts/test-integration.sh`
The script does the following changes:
- fileTypes .tsx -> .js & .jsx
- scopeName scope.tsx -> scope.js
- update all rule names .tsx -> .js