-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for parsing TypeScript files (#49)
* Add methods to handle and find controllers with different fileendings * Use `@typescript-eslint/parser` for parsing * Detect .ts files in project * Rename `ts-rails` to `typescript` controller * Resolve types warnings * Rename `filename` argument * Switch to `@typescript-eslint/typescript-estree` for parsing * Add @typescript-eslint/types * Change TypeScript `module` from `commonjs` to `es2020` and let Vite bundle up the commonjs file * Change TypeScript `module` and `moduleResolution` to `node16` * Drop Vite * Drop direct `@typescript-eslint/types` dependency --------- Co-authored-by: Fran Zekan <[email protected]> Co-authored-by: Carlos Garcia <[email protected]>
- Loading branch information
1 parent
b0e1037
commit 2283575
Showing
6 changed files
with
652 additions
and
168 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
Oops, something went wrong.