|
52 | 52 | "homepage": "http://github.com/webpack/enhanced-resolve",
|
53 | 53 | "scripts": {
|
54 | 54 | "prepare": "husky install",
|
55 |
| - "lint": "yarn lint:code && yarn lint:types && yarn lint:types-test && yarn lint:special && yarn lint:spellcheck", |
| 55 | + "lint": "yarn lint:code && yarn lint:types && yarn lint:types-test && yarn lint:special && yarn fmt:check && yarn lint:spellcheck", |
56 | 56 | "lint:code": "eslint --cache .",
|
57 | 57 | "lint:special": "node node_modules/tooling/lockfile-lint && node node_modules/tooling/inherit-types && node node_modules/tooling/format-file-header && node node_modules/tooling/generate-types",
|
58 | 58 | "lint:types": "tsc",
|
59 | 59 | "lint:types-test": "tsc -p tsconfig.types.test.json",
|
60 | 60 | "lint:spellcheck": "cspell --no-must-find-files \"**/*.*\"",
|
61 | 61 | "fmt": "yarn fmt:base --loglevel warn --write",
|
62 | 62 | "fmt:check": "yarn fmt:base --check",
|
63 |
| - "fmt:base": "prettier --cache --ignore-unknown .", |
| 63 | + "fmt:base": "node_modules/prettier/bin/prettier.cjs --cache --ignore-unknown .", |
64 | 64 | "fix": "yarn fix:code && yarn fix:special",
|
65 | 65 | "fix:code": "yarn lint:code --fix",
|
66 | 66 | "fix:special": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/generate-types --write",
|
67 | 67 | "type-report": "rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html",
|
68 |
| - "pretest": "yarn lintqqq", |
| 68 | + "pretest": "yarn lint", |
69 | 69 | "test": "yarn test:coverage",
|
70 | 70 | "test:only": "jest",
|
71 | 71 | "test:watch": "yarn test:only --watch",
|
|
0 commit comments