mirror of https://github.com/webpack/webpack.git
chore: fix lint command
This commit is contained in:
parent
16d68e73d1
commit
75d9094922
|
@ -84,8 +84,8 @@
|
|||
"mini-svg-data-uri": "^1.2.3",
|
||||
"nyc": "^15.1.0",
|
||||
"open-cli": "^7.2.0",
|
||||
"prettier": "^3.2.1",
|
||||
"prettier-2": "npm:prettier@^2",
|
||||
"prettier": "^3.2.1",
|
||||
"pretty-format": "^29.5.0",
|
||||
"pug": "^3.0.0",
|
||||
"pug-loader": "^2.4.0",
|
||||
|
@ -159,7 +159,7 @@
|
|||
"special-lint-fix": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-schemas --write && node tooling/generate-runtime-code.js --write && node tooling/generate-wasm-code.js --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/compile-to-definitions --write && node node_modules/tooling/precompile-schemas --write && node node_modules/tooling/generate-types --no-template-literals --write",
|
||||
"fix": "yarn code-lint --fix && yarn special-lint-fix && yarn pretty-lint-fix",
|
||||
"prepare": "husky install",
|
||||
"pretty-lint-base": "prettier --cache .",
|
||||
"pretty-lint-base": "node node_modules/prettier/bin/prettier.cjs --cache .",
|
||||
"pretty-lint-fix": "yarn pretty-lint-base --loglevel warn --write",
|
||||
"pretty-lint": "yarn pretty-lint-base --check",
|
||||
"yarn-lint": "yarn-deduplicate --fail --list -s highest yarn.lock",
|
||||
|
|
Loading…
Reference in New Issue