Skip to content

Commit f693298

Browse files
committed
changed: remove eslint ext from command line arguments
1 parent 36ed371 commit f693298

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
"format-tools:py": "black --diff --check tools",
2424
"lint": "npm-run-all lint:*",
2525
"lint:src": "npm-run-all lint-src:*",
26-
"lint-src:js": "npx eslint --ext .js,.cjs,.mjs src tests",
26+
"lint-src:js": "npx eslint src tests",
2727
"lint:docs": "npm-run-all lint-docs:*",
28-
"lint-docs:js": "npx eslint --ext .js,.cjs,.mjs docs",
28+
"lint-docs:js": "npx eslint docs",
2929
"lint:tools": "npm-run-all lint-tools:*",
30-
"lint-tools:js": "npx eslint --ext .js,.cjs,.mjs tools",
30+
"lint-tools:js": "npx eslint tools",
3131
"lint-tools:py": "pylint tools",
3232
"type": "npm-run-all type:*",
3333
"type:src": "npm-run-all type-src:*",
@@ -58,11 +58,11 @@
5858
"fix-format-tools:py": "black tools",
5959
"fix-lint": "npm-run-all fix-lint:*",
6060
"fix-lint:src": "npm-run-all fix-lint-src:*",
61-
"fix-lint-src:js": "npx eslint --ext .js,.cjs,.mjs --fix src tests",
61+
"fix-lint-src:js": "npx eslint --fix src tests",
6262
"fix-lint:docs": "npm-run-all fix-lint-docs:*",
63-
"fix-lint-docs:js": "npx eslint --ext .js,.cjs,.mjs --fix docs",
63+
"fix-lint-docs:js": "npx eslint --fix docs",
6464
"fix-lint:tools": "npm-run-all fix-lint-tools:*",
65-
"fix-lint-tools:js": "npx eslint --ext .js,.cjs,.mjs --fix tools",
65+
"fix-lint-tools:js": "npx eslint --fix tools",
6666
"build-docs": "mkdocs build -f ./tools/docs/mkdocs.yml",
6767
"deploy-docs": "python ./tools/docs/deploy.py",
6868
"build": "python ./tools/ci/version.py False && rm -rf dist build && rollup -c && mkdir build && npm pack --pack-destination build && tar -ztvf build/*.tgz"

0 commit comments

Comments
 (0)