mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-12-15 23:00:45 +08:00
Merge commit 'a1bc17ccd0b7d1539a6a9ed9eef5555afc058a73' into main
This commit is contained in:
@@ -3,7 +3,7 @@ command_exists () {
|
||||
command -v "$1" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
# Workaround for Windows 10, Git Bash and Yarn
|
||||
# Workaround for Windows 10, Git Bash and Pnpm
|
||||
if command_exists winpty && test -t 1; then
|
||||
exec < /dev/tty
|
||||
fi
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
module.exports = {
|
||||
"*.{js,jsx,ts,tsx}": ["eslint --fix", "prettier --write"],
|
||||
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
|
||||
"prettier --write--parser json"
|
||||
],
|
||||
"package.json": ["prettier --write"],
|
||||
"*.vue": ["eslint --fix", "prettier --write", "stylelint --fix"],
|
||||
"*.{vue,css,scss,postcss,less}": ["stylelint --fix", "prettier --write"],
|
||||
"*.md": ["prettier --write"]
|
||||
// "*.{js,jsx,ts,tsx}": ["eslint --fix", "prettier --write"],
|
||||
// "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
|
||||
// "prettier --write--parser json"
|
||||
// ],
|
||||
// "package.json": ["prettier --write"],
|
||||
"*.vue": ["eslint --fix", "prettier --write", "stylelint --fix"]
|
||||
// "*.{vue,css,scss,postcss,less}": ["stylelint --fix", "prettier --write"],
|
||||
// "*.md": ["prettier --write"]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user