test: modify lint command to only process src dir (#236)

This commit is contained in:
Alfi Maulana 2024-03-10 17:00:02 +07:00 committed by GitHub
parent 7fdc3b26ea
commit 7ac667c77d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
{
"root": true,
"ignorePatterns": ["dist"],
"extends": ["eslint:recommended"],
"overrides": [
{

View File

@ -4,7 +4,7 @@
"scripts": {
"build": "ncc build src/index.ts",
"format": "prettier --write --cache . !dist !README.md",
"lint": "eslint --ignore-path .gitignore .",
"lint": "eslint src",
"test": "jest"
},
"dependencies": {