-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate project to TypeScript and update configurations
This commit updates the file extensions and contents of multiple files across the project from JavaScript to TypeScript for better type checking and autocompletion. Additionally, the ESLint configuration file was converted from .js to .json format, and tsconfig.json was updated to remove "allowJs" and "checkJs" properties. Lastly, imports in files were converted to ES6 syntax. Took 19 minutes
- Loading branch information
Showing
12 changed files
with
619 additions
and
1,485 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,22 @@ | ||
{ | ||
"parserOptions": { | ||
"ecmaVersion": 9, | ||
"sourceType": "module", | ||
"project": "./tsconfig.json" | ||
}, | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es2021": true, | ||
"jest": true | ||
}, | ||
"extends": ['eslint:recommended', 'plugin:@typescript-eslint/recommended'], | ||
"parser": '@typescript-eslint/parser', | ||
"plugins": ['@typescript-eslint'], | ||
"extends": [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended' | ||
], | ||
"overrides": [], | ||
'rules': {} | ||
} |
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.