pulumi/sdk/nodejs/rome.json

48 lines
1.5 KiB
JSON

{
"$schema": "./node_modules/rome/configuration_schema.json",
"organizeImports": {
"enabled": false
},
"files": {
"ignore": [
"bin/", "proto/", "dist/", "node_modules", ".nyc_output/", ".direnv/", "tests/runtime/jsClosureCases_*.js",
"tests/runtime/tsClosureCases.ts", "tests/mockpackage/lib/"
]
},
"formatter": {
"indentSize": 4,
"indentStyle": "space",
"lineWidth": 120
},
"linter": {
"enabled": true,
"rules": {
"recommended": false,
"complexity": {
"noExtraBooleanCast": "error",
"useFlatMap": "error",
"useOptionalChain": "error"
},
"performance": {
"noDelete": "error"
},
"suspicious": {
"noExtraNonNullAssertion": "error",
"noExplicitAny": "off",
"noAsyncPromiseExecutor": "error",
"noEmptyInterface": "error",
"noShadowRestrictedNames": "off",
"noLabelVar": "error",
"noCompareNegZero": "error",
"noConstEnum": "error",
"noSparseArray": "error",
"useDefaultSwitchClauseLast": "error",
"noArrayIndexKey": "error",
"noDebugger": "error",
"noImportAssign": "error",
"noFunctionAssign": "error"
}
}
}
}