Fix ESLint Error (#4026) ferotiq

* fix eslint error

* just look for any tsconfigs down the tree
This commit is contained in:
Evan 2023-02-25 15:33:09 -06:00 committed by GitHub
parent 63094521ae
commit 3f73db2e36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -89,7 +89,7 @@
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module",
"project": "./tsconfig.json"
"project": "**/tsconfig.json"
}
}
]

View file

@ -7,8 +7,8 @@
"prepare": "husky install",
"pre-commit": "pretty-quick --staged",
"lint": "npm run lint-be && npm run lint-fe",
"lint-be": "cd backend && eslint \"**/*.ts\"",
"lint-fe": "cd frontend && eslint \"**/*.ts\"",
"lint-be": "eslint \"./backend/**/*.ts\"",
"lint-fe": "eslint \"./frontend/**/*.ts\"",
"install-all": "sh ./bin/install.sh",
"install-windows": ".\\bin\\install.cmd",
"docker": "cd backend && docker-compose up",