Simplify prettier
invocations (yarn format
, yarn lint
)
This commit is contained in:
parent
a3b1b696db
commit
88b14e0130
1 changed files with 3 additions and 2 deletions
|
@ -39,10 +39,11 @@
|
|||
"test-mock": "mocha ts/test-mock/**/*_test.js",
|
||||
"test-node-coverage": "nyc --reporter=lcov --reporter=text mocha --recursive test/modules ts/test-node ts/test-both",
|
||||
"eslint": "eslint --cache .",
|
||||
"lint": "run-s --print-label 'format --list-different' check:types eslint",
|
||||
"lint": "run-s --print-label lint-prettier check:types eslint",
|
||||
"lint-deps": "node ts/util/lint/linter.js",
|
||||
"lint-license-comments": "ts-node ts/util/lint/license_comments.ts",
|
||||
"format": "prettier --write \"*.{html,css,js,json,md,scss,ts,tsx}\" \"./**/*.{html,css,js,json,md,scss,ts,tsx}\"",
|
||||
"lint-prettier": "prettier --check .",
|
||||
"format": "prettier --write .",
|
||||
"transpile": "run-p check:types build:esbuild",
|
||||
"check:types": "tsc --noEmit",
|
||||
"clean-transpile-once": "rimraf app/**/*.js app/*.js ts/**/*.js ts/*.js tsconfig.tsbuildinfo",
|
||||
|
|
Loading…
Reference in a new issue