S
Supanote
Sign in Sign up

Biome.json Modern Linter & Formatter Configuration

plain (json) 17 hours ago · 33 lines · 8 views
1{
2 "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
3 "organizeImports": {
4 "enabled": true
5 },
6 "linter": {
7 "enabled": true,
8 "rules": {
9 "recommended": true,
10 "correctness": {
11 "noUnusedVariables": "error",
12 "noUnusedImports": "error"
13 },
14 "style": {
15 "useConst": "error",
16 "noNonNullAssertion": "warn"
17 }
18 }
19 },
20 "formatter": {
21 "enabled": true,
22 "indentStyle": "space",
23 "indentWidth": 2,
24 "lineWidth": 100
25 },
26 "javascript": {
27 "formatter": {
28 "quoteStyle": "single",
29 "semicolons": "always"
30 }
31 }

No replies yet

Every reply is a note. Start a discussion, ask a question, or attach a code snippet.

Share Note

Download SVG
Social Card Preview
Open on mobile
Point your phone camera to open this note directly

Report this note

Notification