Skip to content

Commit

Permalink
add prettier check for css files
Browse files Browse the repository at this point in the history
  • Loading branch information
NingW101 committed Oct 24, 2024
1 parent 1135685 commit eda70f0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
style/tailwind.css
style/highlight.js/**/*.css
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"scripts": {
"format": "prettier --log-level warn --write \"./{js,samples,styles}/**/*.{js,css}\"",
"format": "prettier --log-level log --write \"./{js,samples,style}/**/*.{js,css}\"",
"build": "vite build",
"build:use-remote-models": "vite build -- use-remote-models",
"dev": "vite --port 9999 --host -- use-remote-models",
Expand Down Expand Up @@ -44,6 +44,9 @@
"*.js": [
"prettier --write",
"eslint --cache --fix"
],
"*.css": [
"prettier --check"
]
}
}
3 changes: 0 additions & 3 deletions style/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ body {
min-height: 100vh;
}




.text-shadow-sm {
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
Expand Down

0 comments on commit eda70f0

Please sign in to comment.