Skip to content

Commit

Permalink
add css order
Browse files Browse the repository at this point in the history
  • Loading branch information
rossrobino committed Aug 26, 2024
1 parent b3b3b12 commit 83a68cd
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-seals-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@robino/prettier": patch
---

Adds `prettier-plugin-css-order`
75 changes: 70 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"prettier": "^3.3.3"
},
"dependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0"
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"prettier-plugin-css-order": "^2.1.2"
},
"devDependencies": {
"@robino/tsconfig": "*"
Expand Down
5 changes: 4 additions & 1 deletion packages/prettier/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
export default {
useTabs: true,
htmlWhitespaceSensitivity: "ignore",
plugins: ["@trivago/prettier-plugin-sort-imports"],
plugins: [
"@trivago/prettier-plugin-sort-imports",
"prettier-plugin-css-order",
],
};

0 comments on commit 83a68cd

Please sign in to comment.