dotfiles/.config/nvim/rules/biome.json

38 lines
769 B
JSON

{
// Use the schema of the version installed from mason
"$schema": "~/.local/share/nvim/mason/packages/biome/node_modules/@biomejs/biome/configuration_schema.json",
"organizeImports": {
"enabled": true
},
"formatter": {
"enabled": true,
"lineWidth": 120,
"indentStyle": "space",
"indentWidth": 2,
"formatWithErrors": true
},
"javascript": {
"globals": [
"ObjC", // JXA variable
"Application",
"delay",
"Path",
"$",
"dv" // dataview
]
},
"linter": {
"enabled": true,
"rules": {
"all": true
}
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"json": {
"parser": { "allowComments": true } // for `tsconfig.json`
}
}