Skip to content

Commit

Permalink
Enable Biome CSS linting and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
martpie committed Sep 6, 2024
1 parent 2e329cc commit aff0333
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@
"quoteStyle": "single"
}
},
"css": {
"parser": {
"cssModules": true,
"allowWrongLineComments": true
},
"formatter": {
"enabled": true
},
"linter": {
"enabled": true
}
},
"files": {
"ignore": [
"node_modules",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"test:typings": "tsc --noEmit --project ./tsconfig.json",
"test:unit": "bun test",
"test:lint": "biome ci .",
"test:lint:fix": "biome check --apply .",
"test:lint:fix": "biome check --write .",
"test:css": "stylelint \"src/**/*.css\"",
"package:checksums": "bash scripts/checksum.sh"
},
Expand Down

0 comments on commit aff0333

Please sign in to comment.