Skip to content

Commit 23e9809

Browse files
committed
Lint all js extensions
1 parent fe2a7e1 commit 23e9809

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
3535
"test:debug": "ava debug --break",
3636
"lint": "npm-run-all --parallel lint:*",
3737
"lint:prettier": "prettier --check --ignore-path .gitignore '**/*.(js|cjs|mjs|json|yml|yaml|graphql)'",
38-
"lint:js": "eslint --ignore-path .gitignore --ext .js .",
38+
"lint:js": "eslint --ignore-path .gitignore --ext .js,.cjs,.mjs .",
3939
"preversion": "npm-run-all --parallel lint test",
4040
"postversion": "git push --follow-tags",
4141
"example": "node examples",
4242
"example:inspect": "node --inspect examples",
4343
"format": "npm-run-all --parallel format:*",
4444
"preformat": "prettier --write --ignore-path .gitignore '**/*.(js|cjs|mjs|json|yml|yaml|graphql)'",
45-
"format:js": "eslint --ignore-path .gitignore --fix --ext .js .",
45+
"format:js": "eslint --ignore-path .gitignore --fix --ext .js,.cjs,.mjs .",
4646
"report": "c8 report"
4747
},
4848
"engines": {

0 commit comments

Comments
 (0)