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
|
npx --no-install lint-staged
|
||||||
|
|
|
@ -7,19 +7,12 @@ import astroParser from 'astro-eslint-parser'
|
||||||
|
|
||||||
import { includeIgnoreFile } from '@eslint/compat'
|
import { includeIgnoreFile } from '@eslint/compat'
|
||||||
import path from 'node:path'
|
import path from 'node:path'
|
||||||
import { fileURLToPath } from 'node:url';
|
import { fileURLToPath } from 'node:url'
|
||||||
|
|
||||||
const __filename = fileURLToPath(import.meta.url)
|
const __filename = fileURLToPath(import.meta.url)
|
||||||
const __dirname = path.dirname(__filename)
|
const __dirname = path.dirname(__filename)
|
||||||
const gitignorePath = path.resolve(__dirname, '.gitignore')
|
const gitignorePath = path.resolve(__dirname, '.gitignore')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
|
|
Loading…
Reference in a new issue