Skip to content

Commit

Permalink
feat(eslint): add --ext flag to npm run lint:js (#1035)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Aug 15, 2021
1 parent f6bd459 commit 0df9ed0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
"test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage",
"test:types": "tsc --project test/tsconfig.test.json --noEmit",
"lint:js": "eslint --cache .",
"lint:js": "eslint --cache --ext=js,jsx,cjs,mjs,ts,tsx .",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:md": "remark . --frail",
"lint:md:fix": "remark . --output",
Expand Down
4 changes: 2 additions & 2 deletions test/__snapshots__/init.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Object {
"clean": "git clean -dx --force --exclude=node_modules --exclude=.husky",
"format": "npm-run-all --print-label --parallel lint:*:fix prettier:write",
"lint": "npm-run-all --print-label --parallel lint:* prettier:check",
"lint:js": "eslint --cache .",
"lint:js": "eslint --cache --ext=js,jsx,cjs,mjs,ts,tsx .",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:md": "remark . --frail",
"lint:md:fix": "remark . --output",
Expand Down Expand Up @@ -107,7 +107,7 @@ Object {
"clean": "git clean -dx --force --exclude=node_modules --exclude=.husky",
"format": "npm-run-all --print-label --parallel lint:*:fix prettier:write",
"lint": "npm-run-all --print-label --parallel lint:* prettier:check",
"lint:js": "eslint --cache .",
"lint:js": "eslint --cache --ext=js,jsx,cjs,mjs,ts,tsx .",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:md": "remark . --frail",
"lint:md:fix": "remark . --output",
Expand Down

0 comments on commit 0df9ed0

Please sign in to comment.