Skip to content

Commit

Permalink
ignore generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Aug 16, 2024
1 parent 2c95aa0 commit 34c99c4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ node_modules
dist
dist-ssr
*.local
tsconfig.tsbuildinfo
*.tsbuildinfo

# Editor directories and files
.idea
Expand All @@ -27,3 +27,4 @@ coverage

# production
/build
*.d.ts
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import tseslint from "typescript-eslint"

// https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts
export default tseslint.config(
{ ignores: ["dist"] },
{ ignores: ["dist", "**/*.d.ts"] },
{
settings: { react: { version: "18.3" } },
extends: [
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"dev": "vite",
"start": "serve -s dist",
"build": "tsc && vite build",
"build": "tsc --build tsconfig.json && vite build",
"preview": "vite preview",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
Expand All @@ -23,7 +23,7 @@
"format:check": "prettier --check --write=false .",
"lint": "eslint --max-warnings=0 .",
"lint:fix": "eslint --fix .",
"type-check": "tsc --noEmit"
"type-check": "tsc --build tsconfig.json"
},
"dependencies": {
"codeforlife": "github:ocadotechnology/codeforlife-package-javascript#template-frontend-1"
Expand Down

0 comments on commit 34c99c4

Please sign in to comment.