Format and lint script fixes (#560)
- Ignore all node_modules folders - fix "npm run lint:check"
This commit is contained in:
parent
9ea7e71ac2
commit
d580beea58
3 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/node_modules
|
||||
**/node_modules
|
||||
**/dist
|
||||
package-lock.json
|
||||
**/.angular
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/node_modules
|
||||
**/node_modules
|
||||
**/dist
|
||||
package-lock.json
|
||||
**/.angular
|
||||
|
|
|
|||
|
|
@ -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 ./",
|
||||
|
|
|
|||
Loading…
Reference in a new issue