init
This commit is contained in:
38
nvim/rules/biome.json
Normal file
38
nvim/rules/biome.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
// 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`
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user