using lint-staged
This commit is contained in:
@@ -1,8 +1,23 @@
|
||||
# v 0.1
|
||||
# v 0.2
|
||||
# Minified files
|
||||
*.min.*
|
||||
*.min.*
|
||||
|
||||
# Husky
|
||||
.husky/*
|
||||
|
||||
# Git
|
||||
.gitignore
|
||||
|
||||
# Eslint
|
||||
.eslintignore
|
||||
|
||||
# Self
|
||||
.prettierignore
|
||||
|
||||
# Pnpm
|
||||
pnpm-lock.yaml
|
||||
|
||||
# dotenv environment variable files
|
||||
.env
|
||||
.env.development.local
|
||||
@@ -10,9 +25,6 @@
|
||||
.env.production.local
|
||||
.env.local
|
||||
|
||||
# Fix: .eslintignore is being threated as a markdown
|
||||
.eslintignore
|
||||
|
||||
# Runtime data
|
||||
pids
|
||||
*.pid
|
||||
|
@@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
# If not using pnpm, switch this to your package manager
|
||||
pnpm format
|
||||
pnpm lint
|
||||
# If not using pnpm, switch to your package manager
|
||||
pnpm lint-staged
|
||||
|
@@ -1,8 +1,23 @@
|
||||
# v 0.1
|
||||
# v 0.2
|
||||
# Minified files
|
||||
*.min.*
|
||||
*.min.*
|
||||
|
||||
# Husky
|
||||
.husky/*
|
||||
|
||||
# Git
|
||||
.gitignore
|
||||
|
||||
# Eslint
|
||||
.eslintignore
|
||||
|
||||
# Self
|
||||
.prettierignore
|
||||
|
||||
# Pnpm
|
||||
pnpm-lock.yaml
|
||||
|
||||
# dotenv environment variable files
|
||||
.env
|
||||
.env.development.local
|
||||
@@ -10,9 +25,6 @@
|
||||
.env.production.local
|
||||
.env.local
|
||||
|
||||
# Fix: .eslintignore is being threated as a markdown
|
||||
.eslintignore
|
||||
|
||||
# Runtime data
|
||||
pids
|
||||
*.pid
|
||||
|
@@ -24,6 +24,12 @@
|
||||
"svelte:dev": "vite dev",
|
||||
"svelte:preview": "vite preview"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*": [
|
||||
"prettier --write",
|
||||
"eslint"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fontsource/roboto": "^4.5.8",
|
||||
"@fortawesome/fontawesome-svg-core": "^6.2.0",
|
||||
@@ -43,6 +49,7 @@
|
||||
"eslint-plugin-svelte3": "^4.0.0",
|
||||
"eslint-plugin-unused-imports": "^2.0.0",
|
||||
"husky": "^8.0.1",
|
||||
"lint-staged": "^13.0.3",
|
||||
"postcss": "^8.4.16",
|
||||
"postcss-load-config": "^4.0.1",
|
||||
"prettier": "^2.7.1",
|
||||
|
2088
pnpm-lock.yaml
generated
2088
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user