Skip to content

Commit d580bee

Browse files
authored
Format and lint script fixes (WebKit#560)
- Ignore all node_modules folders - fix "npm run lint:check"
1 parent 9ea7e71 commit d580bee

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/node_modules
1+
**/node_modules
22
**/dist
33
package-lock.json
44
**/.angular

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/node_modules
1+
**/node_modules
22
**/dist
33
package-lock.json
44
**/.angular

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"license": "SEE LICENSE IN LICENSE",
1717
"scripts": {
1818
"dev": "node tests/server.mjs",
19-
"lint:check": "eslint **/*.{js,mjs,jsx,ts,tsx}",
19+
"lint:check": "eslint \"**/*.{js,mjs,jsx,ts,tsx}\"",
2020
"lint:fix": "eslint \"**/*.{js,mjs,jsx,ts,tsx}\" --fix",
2121
"pretty:check": "prettier --check ./",
2222
"pretty:fix": "prettier --write ./",

0 commit comments

Comments
 (0)