Format and lint script fixes (#560)

- Ignore all node_modules folders
- fix "npm run lint:check"
This commit is contained in:
Camillo Bruni 2026-07-13 22:26:13 +02:00 committed by GitHub
parent 9ea7e71ac2
commit d580beea58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
/node_modules
**/node_modules
**/dist
package-lock.json
**/.angular

View file

@ -1,4 +1,4 @@
/node_modules
**/node_modules
**/dist
package-lock.json
**/.angular

View file

@ -16,7 +16,7 @@
"license": "SEE LICENSE IN LICENSE",
"scripts": {
"dev": "node tests/server.mjs",
"lint:check": "eslint **/*.{js,mjs,jsx,ts,tsx}",
"lint:check": "eslint \"**/*.{js,mjs,jsx,ts,tsx}\"",
"lint:fix": "eslint \"**/*.{js,mjs,jsx,ts,tsx}\" --fix",
"pretty:check": "prettier --check ./",
"pretty:fix": "prettier --write ./",