linter
This commit is contained in:
parent
cc4682d735
commit
9e2beb1342
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npx lint-staged
|
|
@ -13,7 +13,6 @@
|
|||
<header class="page-header" role="banner">
|
||||
<h1 class="project-name">404 Error</h1>
|
||||
<h2 class="project-tagline">Requested page diverges.</h2>
|
||||
|
||||
<a href="/" class="btn">Home</a>
|
||||
</header>
|
||||
</body>
|
||||
|
|
12
package.json
12
package.json
|
@ -1,5 +1,17 @@
|
|||
{
|
||||
"lint-staged": {
|
||||
"**/*": "prettier --write --ignore-unknown"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint-config-prettier": "^8.7.0",
|
||||
"husky": "^8.0.3",
|
||||
"lint-staged": "^13.2.0",
|
||||
"prettier": "2.8.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"eslint": "^8.36.0"
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "husky install"
|
||||
}
|
||||
}
|
||||
|
|
1453
pnpm-lock.yaml
1453
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue