chore: test precommit

This commit is contained in:
Ayo Ayco 2024-12-27 21:12:50 +01:00
parent 3dfc593e1a
commit 2477f0ad2e
3 changed files with 2 additions and 9 deletions

0
.husky/pre-commit Normal file → Executable file
View file

View file

@ -7,18 +7,12 @@ import astroParser from 'astro-eslint-parser'
import { includeIgnoreFile } from '@eslint/compat'
import path from 'node:path'
import { fileURLToPath } from 'node:url';
import { fileURLToPath } from 'node:url'
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
const gitignorePath = path.resolve(__dirname, '.gitignore')
const unused = 'hey'
export default [
{
languageOptions: {

View file

@ -42,7 +42,6 @@
},
"packageManager": "pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c",
"lint-staged": {
"*.{js,mjs,astro,ts}": "eslint --cache --fix",
"!(*.css, *.md, *.yml, *.yaml, *.html)": "prettier --write"
"*.{js,mjs,astro,ts}": ["eslint --cache --fix", "prettier --write"]
}
}