mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": false,
|
|
"ignore": ["dist", "node_modules"]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 100,
|
|
"lineEnding": "lf"
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"trailingCommas": "all",
|
|
"semicolons": "always",
|
|
"arrowParentheses": "always"
|
|
}
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"correctness": {
|
|
"noUnusedVariables": "error",
|
|
"noUnusedImports": "error",
|
|
"useExhaustiveDependencies": "error"
|
|
},
|
|
"style": {
|
|
"useConst": "error",
|
|
"useTemplate": "error",
|
|
"useImportType": "error",
|
|
"useExportType": "error",
|
|
"noNonNullAssertion": "warn"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "error",
|
|
"noConsoleLog": "off"
|
|
},
|
|
"complexity": {
|
|
"noUselessTypeConstraint": "error",
|
|
"useArrowFunction": "error",
|
|
"useLiteralKeys": "off"
|
|
}
|
|
}
|
|
},
|
|
"organizeImports": {
|
|
"enabled": true
|
|
}
|
|
}
|