diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100644 new mode 100755 diff --git a/eslint.config.mjs b/eslint.config.mjs index e767534..7e378e3 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -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: { diff --git a/package.json b/package.json index 3d864b1..e9ebec3 100644 --- a/package.json +++ b/package.json @@ -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"] } }