Skip to content

Commit c35ea30

Browse files
committed
Rewrite index.ts with updated setup
1 parent d285757 commit c35ea30

15 files changed

+14794
-14088
lines changed

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm test

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ module.exports = [
171171
?.parserOptions?.projectService,
172172
...jsdocPlugin.configs['flat/recommended'].languageOptions
173173
?.parserOptions?.projectService,
174-
allowDefaultProject: ['test/*.ts', 'types/*.ts'],
174+
allowDefaultProject: ['test/*.ts', 'types/*.ts', 'vitest.config.mts'],
175175
defaultProject: 'tsconfig.json',
176176
tsconfigRootDir: rootPath,
177177
// Need this to glob test files in src.

knip.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"entry": [
33
"eslint.config.js",
4-
"build/**/*.js",
4+
"scripts/**/*.js",
55
"src/**/*.ts",
6-
"test/**/*.spec.ts"
6+
"test/**/*.test.ts"
77
],
8-
"project": ["build/**/*", "src/**/*", "test/**/*"],
8+
"project": ["scripts/**/*", "src/**/*", "test/**/*"],
99
"ignore": ["dist/**/*"]
1010
}

0 commit comments

Comments
 (0)