Skip to content

Commit

Permalink
chore(lint): enable Biome support for CSS Modules (#3494)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
chenjiahan and renovate[bot] authored Sep 15, 2024
1 parent 423c1f5 commit c693015
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 39 deletions.
5 changes: 5 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"formatter": {
"enabled": false
},
"css": {
"parser": {
"cssModules": true
}
},
"linter": {
"enabled": true,
"rules": {
Expand Down
2 changes: 1 addition & 1 deletion e2e/cases/css/css-modules-dom/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ body {
margin: 0;
font-family:
nunito_for_arco,
Helvetica Neue,
'Helvetica Neue',
Helvetica,
PingFang SC,
Hiragino Sans GB,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"package.json": "pnpm run check-dependency-version"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@biomejs/biome": "1.9.0",
"@changesets/cli": "^2.27.8",
"@modern-js/module-tools": "^2.60.0",
"@rsbuild/config": "workspace:*",
Expand Down
74 changes: 37 additions & 37 deletions pnpm-lock.yaml

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

0 comments on commit c693015

Please sign in to comment.