chore: test lint-staged

This commit is contained in:
Ayo Ayco 2024-12-27 17:21:08 +01:00
parent 2546199dd3
commit 76ebb4fefe
2 changed files with 1 additions and 9 deletions

View file

@ -1,2 +1 @@
git add .
npx --no-install lint-staged

View file

@ -7,19 +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')
export default [
{
languageOptions: {