mirror of
https://github.com/Mibew/simple-icons.git
synced 2025-02-08 02:04:42 +03:00
Deduplicates Prettier pattern and show that xo --fix
is running (#10739)
This commit is contained in:
parent
1d68b61570
commit
db0c3b56aa
@ -109,10 +109,12 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "./scripts/build/package.js",
|
"build": "./scripts/build/package.js",
|
||||||
"clean": "./scripts/build/clean.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",
|
"lint": "npm run ourlint && npm run prettierlint && npm run jslint && npm run jsonlint && npm run svglint && npm run wslint",
|
||||||
"ourlint": "./scripts/lint/ourlint.js",
|
"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",
|
"jslint": "xo",
|
||||||
"jsonlint": "./scripts/lint/jsonlint.js",
|
"jsonlint": "./scripts/lint/jsonlint.js",
|
||||||
"svglint": "svglint --ci --config svglint.config.mjs icons/*.svg",
|
"svglint": "svglint --ci --config svglint.config.mjs icons/*.svg",
|
||||||
|
Loading…
Reference in New Issue
Block a user