型チェック用のtsconfig.jsonを作成

This commit is contained in:
osamu 2023-11-25 15:40:09 +09:00
parent de37897f92
commit bfc9187e5d
2 changed files with 12 additions and 1 deletions

View File

@ -11,7 +11,7 @@
"chromatic": "chromatic", "chromatic": "chromatic",
"test": "vitest --run", "test": "vitest --run",
"test-and-coverage": "vitest --run --coverage --globals", "test-and-coverage": "vitest --run --coverage --globals",
"typecheck": "vue-tsc --noEmit", "typecheck": "vue-tsc -p tsconfig-test.json --noEmit",
"eslint": "eslint --quiet \"src/**/*.{ts,vue}\"", "eslint": "eslint --quiet \"src/**/*.{ts,vue}\"",
"lint": "pnpm typecheck && pnpm eslint" "lint": "pnpm typecheck && pnpm eslint"
}, },

View File

@ -0,0 +1,11 @@
{
"extends": ["./tsconfig"],
"include": [
"src/**/*.ts",
"src/**/*.vue"
],
"exclude": [
".storybook/**/*",
"test/**/*",
]
}