Simplify prettier invocations (yarn format, yarn lint)

This commit is contained in:
Evan Hahn 2022-03-04 13:00:11 -06:00 committed by GitHub
parent a3b1b696db
commit 88b14e0130
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",