Skip to content

Commit

Permalink
fix: eslint ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Oct 5, 2023
1 parent 0fa96b3 commit 1f81870
Show file tree
Hide file tree
Showing 3 changed files with 361 additions and 231 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
"dist"
],
"engines": {
"node": ">=16",
"pnpm": ">=8"
"node": ">=18"
},
"scripts": {
"dev": "pnpm nuxi dev playground-nuxt",
Expand All @@ -46,7 +45,8 @@
"lint:fix": "eslint . --fix",
"test": "pnpm dev:prepare && vitest",
"test:watch": "pnpm dev:prepare && vitest --watch",
"coverage": "vitest run --coverage"
"coverage": "vitest run --coverage",
"postinstall": "npx simple-git-hooks"
},
"peerDependencies": {
"vue": ">=3.3.0"
Expand All @@ -68,6 +68,8 @@
"eslint": "^8.50.0",
"happy-dom": "^12.4.0",
"jsdom": "^22.1.0",
"lint-staged": "^14.0.1",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"unconfig": "^0.3.10",
Expand All @@ -77,6 +79,12 @@
"vitest": "^0.34.6",
"vue": "^3.3.4"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "pnpm eslint . --fix"
},
"publishConfig": {
"access": "public"
}
Expand Down
Loading

0 comments on commit 1f81870

Please sign in to comment.