UNPKG

@lokalise/node-api

Version:
253 lines (252 loc) 5.31 kB
{ "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", "organizeImports": { "enabled": true }, "vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true }, "files": { "ignore": [ "node_modules/**", "dist/**/*", "coverage/**/*", ".github/**/*", "docs/**/*" ] }, "linter": { "enabled": true, "rules": { "recommended": true, "complexity": { "noExtraBooleanCast": "error", "noMultipleSpacesInRegularExpressionLiterals": "error", "noUselessCatch": "error", "noUselessTypeConstraint": "error", "noWith": "error", "noStaticOnlyClass": "error" }, "correctness": { "noConstAssign": "error", "noConstantCondition": "error", "noEmptyCharacterClassInRegex": "error", "noEmptyPattern": "error", "noGlobalObjectCalls": "error", "noInnerDeclarations": "error", "noInvalidConstructorSuper": "error", "noNewSymbol": "error", "noNonoctalDecimalEscape": "error", "noPrecisionLoss": "error", "noSelfAssign": "error", "noSetterReturn": "error", "noSwitchDeclarations": "error", "noUndeclaredVariables": "error", "noUnreachable": "error", "noUnreachableSuper": "error", "noUnsafeFinally": "error", "noUnsafeOptionalChaining": "error", "noUnusedLabels": "error", "noUnusedVariables": "error", "useArrayLiterals": "error", "useIsNan": "error", "useValidForDirection": "error", "useYield": "error" }, "style": { "noNamespace": "error", "useAsConstAssertion": "error", "useBlockStatements": "error" }, "suspicious": { "noAsyncPromiseExecutor": "error", "noCatchAssign": "error", "noClassAssign": "error", "noCompareNegZero": "error", "noControlCharactersInRegex": "error", "noDebugger": "error", "noDuplicateCase": "error", "noDuplicateClassMembers": "error", "noDuplicateObjectKeys": "error", "noDuplicateParameters": "error", "noEmptyBlockStatements": "error", "noExplicitAny": "error", "noExtraNonNullAssertion": "error", "noFallthroughSwitchClause": "error", "noFunctionAssign": "error", "noGlobalAssign": "error", "noImportAssign": "error", "noMisleadingCharacterClass": "error", "noMisleadingInstantiator": "error", "noPrototypeBuiltins": "error", "noRedeclare": "error", "noShadowRestrictedNames": "error", "noUnsafeDeclarationMerging": "error", "noUnsafeNegation": "error", "useAwait": "error", "useGetterReturn": "error", "useNamespaceKeyword": "error", "useValidTypeof": "error" } } }, "javascript": { "globals": [ "Float32Array", "Uint8ClampedArray", "clearTimeout", "clearImmediate", "TextEncoder", "Reflect", "DataView", "Set", "BigUint64Array", "clearInterval", "queueMicrotask", "Int16Array", "global", "root", "globalThis", "BigInt", "Promise", "Int32Array", "setImmediate", "Buffer", "Float64Array", "Symbol", "Uint32Array", "Uint8Array", "Atomics", "WeakMap", "WebAssembly", "Uint16Array", "setTimeout", "Proxy", "Map", "ArrayBuffer", "BigInt64Array", "SharedArrayBuffer", "WeakSet", "TextDecoder", "URL", "console", "process", "GLOBAL", "URLSearchParams", "setInterval", "Int8Array", "Intl" ] }, "overrides": [ { "include": ["*.cjs", ".*.cjs"], "javascript": { "globals": [ "Float32Array", "Uint8ClampedArray", "clearTimeout", "clearImmediate", "TextEncoder", "Reflect", "DataView", "Set", "BigUint64Array", "clearInterval", "queueMicrotask", "Int16Array", "global", "root", "globalThis", "BigInt", "Promise", "require", "Int32Array", "setImmediate", "Buffer", "Float64Array", "Symbol", "Uint32Array", "Uint8Array", "Atomics", "WeakMap", "WebAssembly", "Uint16Array", "module", "setTimeout", "__dirname", "Proxy", "Map", "ArrayBuffer", "BigInt64Array", "SharedArrayBuffer", "WeakSet", "TextDecoder", "URL", "console", "process", "__filename", "GLOBAL", "URLSearchParams", "exports", "setInterval", "Int8Array", "Intl" ] }, "linter": { "rules": {} } }, { "include": ["*.mjs", ".*.mjs"], "javascript": { "globals": [ "Float32Array", "Uint8ClampedArray", "clearTimeout", "clearImmediate", "TextEncoder", "Reflect", "DataView", "Set", "BigUint64Array", "clearInterval", "queueMicrotask", "Int16Array", "global", "root", "globalThis", "BigInt", "Promise", "Int32Array", "setImmediate", "Buffer", "Float64Array", "Symbol", "Uint32Array", "Uint8Array", "Atomics", "WeakMap", "WebAssembly", "Uint16Array", "setTimeout", "Proxy", "Map", "ArrayBuffer", "BigInt64Array", "SharedArrayBuffer", "WeakSet", "TextDecoder", "URL", "console", "process", "GLOBAL", "URLSearchParams", "setInterval", "Int8Array", "Intl" ] }, "linter": { "rules": {} } } ] }