Add *.css files to prettier scripts and apply the script to the current css files

GitOrigin-RevId: 6ee4e9d7ada9d4e6084215c78f919c83f3f60642
This commit is contained in:
M Fahru
2024-02-07 07:13:01 -07:00
committed by Copybot
parent b8990d02c7
commit ce5fa8013b
6 changed files with 69 additions and 58 deletions
+2 -2
View File
@@ -22,8 +22,8 @@
"webpack:profile": "webpack --config webpack.config.prod.js --profile --json > stats.json",
"format": "prettier --list-different $PWD/'**/*.{js,jsx,mjs,ts,tsx,json}'",
"format:fix": "prettier --write $PWD/'**/*.{js,jsx,mjs,ts,tsx,json}'",
"format:styles": "prettier --list-different $PWD/'**/*.less'",
"format:styles:fix": "prettier --write $PWD/'**/*.less'",
"format:styles": "prettier --list-different $PWD/'**/*.{css,less}'",
"format:styles:fix": "prettier --write $PWD/'**/*.{css,less}'",
"lint": "eslint --max-warnings 0 --format unix --ext .js,.jsx,.mjs,.ts,.tsx .",
"lint:fix": "eslint --fix --ext .js,.jsx,.mjs,.ts,.tsx .",
"type-check": "tsc --noEmit",