🔧 Move ESLint ignore instructions to .eslintignore file

This commit is contained in:
RaviAnand Mohabir 2022-01-12 18:36:22 +01:00
parent f536d0ed26
commit e664ca602f
2 changed files with 3 additions and 1 deletions

2
.eslintignore Normal file
View File

@ -0,0 +1,2 @@
README.md
app/**/*

View File

@ -21,7 +21,7 @@
"build": "rollup --config",
"dev": "rollup --config --watch",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "prettier --check --plugin-search-dir=. . && eslint --ignore-path .gitignore --ignore-pattern app/**/* .",
"lint": "prettier --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
"format": "prettier --write --plugin-search-dir=. ."
},
"keywords": [