diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 1eae0cf..0000000 --- a/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -dist/ -node_modules/ diff --git a/.lintstagedrc.yml b/.lintstagedrc.yml index e333251..7aaad0b 100644 --- a/.lintstagedrc.yml +++ b/.lintstagedrc.yml @@ -1 +1 @@ -"*.js": eslint --fix +"*.js": eslint --fix --ignore-path .gitignore diff --git a/package.json b/package.json index 1ad605e..d5e9bf9 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "test": "npm run test:node", "serve": "vite", "build:docs": "vite build --base /html-minifier-terser/", - "lint": "eslint .", + "lint": "eslint . --ignore-path .gitignore", "prepare": "is-ci || husky install" }, "dependencies": {