chore: test lint-staged
This commit is contained in:
parent
2546199dd3
commit
76ebb4fefe
2 changed files with 1 additions and 9 deletions
|
@ -1,2 +1 @@
|
|||
git add .
|
||||
npx --no-install lint-staged
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue