Deduplicates Prettier pattern and show that xo --fix is running (#10739)

This commit is contained in:
Álvaro Mondéjar Rubio 2024-03-30 03:18:06 +01:00 committed by GitHub
parent 1d68b61570
commit db0c3b56aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -109,10 +109,12 @@
"scripts": {
"build": "./scripts/build/package.js",
"clean": "./scripts/build/clean.js",
"format": "prettier --cache --write --ignore-unknown \"**/*.!(js|jsx|mjs|cjs|ts|tsx|mts|cts|svg)\" && xo --fix",
"format": "npm run prettier -- --write && npm run xo:fix",
"xo:fix": "xo --fix",
"prettier": "prettier --cache --ignore-unknown \"**/*.!(js|jsx|mjs|cjs|ts|tsx|mts|cts|svg)\"",
"lint": "npm run ourlint && npm run prettierlint && npm run jslint && npm run jsonlint && npm run svglint && npm run wslint",
"ourlint": "./scripts/lint/ourlint.js",
"prettierlint": "prettier --cache --check --ignore-unknown \"**/*.!(js|jsx|mjs|cjs|ts|tsx|mts|cts|svg)\"",
"prettierlint": "npm run prettier -- --check",
"jslint": "xo",
"jsonlint": "./scripts/lint/jsonlint.js",
"svglint": "svglint --ci --config svglint.config.mjs icons/*.svg",