Skip to content

Commit d1b85f9

Browse files
committed
Updating Prettier to autoformat + minor bug fixes
Fixed a few instances of incorrect names of CSS Variables. Also updated and including a `.prettierrc` file to autoformat the CSS in the format I'd like.
1 parent 7eb101d commit d1b85f9

File tree

11 files changed

+395
-267
lines changed

11 files changed

+395
-267
lines changed

.prettierrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"arrowParens": "always",
3+
"bracketSpacing": true,
4+
"htmlWhitespaceSensitivity": "css",
5+
"jsxBracketSameLine": false,
6+
"proseWrap": "preserve",
7+
"semicolons": true,
8+
"singleAttributePerLine": true,
9+
"singleQuote": false,
10+
"tabWidth": 2,
11+
"trailingComma": "es5",
12+
"useTabs": true
13+
}

bun.lockb

5.48 KB
Binary file not shown.

package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,24 @@
1212
"bun": ">=1.0.17"
1313
},
1414
"devDependencies": {
15-
"@csstools/postcss-global-data": "^2.0.0",
16-
"autoprefixer": "^10.4.13",
15+
"@csstools/postcss-global-data": "^2.1.1",
16+
"autoprefixer": "^10.4.19",
1717
"cross-env": "^7.0.3",
1818
"eslint": "^9.1.0",
19-
"eslint-config-prettier": "^9.0.0",
20-
"eslint-plugin-prettier": "^5.0.0",
21-
"lightningcss": "^1.22.1",
22-
"postcss": "^8.4.21",
19+
"eslint-config-prettier": "^9.1.0",
20+
"eslint-plugin-prettier": "^5.1.3",
21+
"lightningcss": "^1.24.1",
22+
"postcss": "^8.4.38",
2323
"postcss-cli": "^11.0.0",
2424
"postcss-csso": "^6.0.1",
2525
"postcss-lightningcss": "^1.0.0",
2626
"postcss-mixins": "^10.0.0",
27-
"prettier": "^3.0.0",
28-
"stylelint": "^16.0.2",
27+
"postcss-reporter": "^7.1.0",
28+
"prettier": "^3.2.5",
29+
"stylelint": "^16.4.0",
2930
"stylelint-config-property-sort-order-smacss": "^10.0.0",
3031
"stylelint-config-standard": "^36.0.0",
31-
"svgo": "^3.0.2"
32+
"svgo": "^3.2.0"
3233
},
3334
"scripts": {
3435
"build": "make",

0 commit comments

Comments
 (0)