Skip to content

Commit 5f53b82

Browse files
authored
Merge pull request #4 from webdeveric/chore/checkJs
chore: typecheck project files
2 parents cca0089 + 69d449f commit 5f53b82

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

lint-staged.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @type {Record<string, string | (filenames: string[]) => string | string[] | Promise<string | string[]>}
2+
* @type {Record<string, string | string[] | ((files: string[]) => string | string[] | Promise<string | string[]>)>}
33
*/
44
export default {
55
'*.{js,cjs,mjs,ts,cts,mts}': ['eslint --fix', 'prettier --write'],

release.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @type {import('semantic-release').GlobalConfig}
2+
* @type {Partial<import('semantic-release').GlobalConfig>}
33
*/
44
export default {
55
branches: ['main'],

tsconfig.configs.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "./tsconfig.base.json",
33
"compilerOptions": {
44
"allowJs": true,
5+
"checkJs": true,
56
"noEmit": true,
67
"rootDir": "./",
78
"sourceRoot": "./",

0 commit comments

Comments
 (0)