未验证 提交 952441fd 编写于 作者: M Marco Fugaro 提交者: GitHub

Rename `test-lint` script to `lint` (#21652)

* package.json Rename test-lint script to lint

* Update lint script calls

* lint-fix: Use existing scripts
上级 3ab091a8
......@@ -28,7 +28,7 @@ jobs:
run: npm ci
- name: === Linting ===
run: npm run test-lint
run: npm run lint
unit:
name: "Unit testing"
......
......@@ -54,14 +54,14 @@
},
"scripts": {
"start": "npm run dev",
"test": "npm run test-lint && npm run test-unit",
"test": "npm run lint && npm run test-unit",
"build": "rollup -c utils/build/rollup.config.js",
"build-examples": "rollup -c utils/build/rollup.examples.config.js && echo '\nFormatting...' && eslint examples/js --ext js --ignore-pattern libs --ignore-pattern ifc --fix",
"dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"servez -p 8080\"",
"lint-fix": "eslint src --ext js --fix && eslint examples/js examples/jsm --ext js --ignore-pattern libs --ignore-pattern ifc --fix",
"lint-docs": "eslint docs --ext html",
"lint": "eslint src --ext js",
"lint-examples": "eslint examples/js examples/jsm --ext js --ignore-pattern libs --ignore-pattern ifc",
"test-lint": "eslint src --ext js",
"lint-fix": "npm run lint -- --fix && npm run lint-examples -- --fix",
"lint-docs": "eslint docs --ext html",
"test-unit": "npm run unit --prefix test",
"test-unit-examples": "npm run unit-examples --prefix test",
"test-e2e": "node test/e2e/puppeteer.js",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册