-
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.
refactor: use TypeScript + Node 20 + vite (#44)
* refactor: use TypeScript + Node 20 + vite * docs: mention TypeScript, Node 20 and vite * chore: update Node versions in ci matrix
- Loading branch information
1 parent
cc3bbb2
commit 7355ac0
Showing
112 changed files
with
19,696 additions
and
10,571 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// TODO: Expand @wowserhq/eslint-config with TypeScript variant | ||
module.exports = { | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:import/recommended', | ||
'plugin:import/typescript', | ||
], | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint'], | ||
root: true, | ||
env: { browser: true, node: true }, | ||
rules: { | ||
'camelcase': 'off', | ||
'no-console': 'off', | ||
'no-unused-vars': ['error', { | ||
'argsIgnorePattern': '^_', | ||
'varsIgnorePattern': '^_' | ||
}], | ||
'quotes': ['error', 'single', { | ||
'avoidEscape': true | ||
}], | ||
'semi': ['warn'], | ||
}, | ||
}; |
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
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module.exports = { | ||
collectCoverageFrom: [ | ||
'src/**/*.js', | ||
'src/**/*.ts', | ||
], | ||
coverageDirectory: './coverage/', | ||
moduleFileExtensions: ['js', 'ts'], | ||
testMatch: [ | ||
'**/spec/**/*.spec.js', | ||
], | ||
verbose: true, | ||
}; |
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,3 @@ | ||
module.exports = { | ||
'*.{js,ts}': ['eslint'], | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.