test(eslint): use .gitignore to ignore files

This commit is contained in:
Alfi Maulana 2023-12-11 19:55:53 +07:00
parent 61dd4011c7
commit a697acef8a
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4

View File

@ -4,7 +4,7 @@
"type": "module",
"scripts": {
"bundle": "tsc && ncc build dist/main.mjs -o main",
"check": "prettier --write . !main !README.md && eslint src package.json",
"check": "prettier --write . !main !README.md && eslint --ignore-path .gitignore .",
"test": "tsc && jest"
},
"dependencies": {