UNPKG

@storm-software/linting-tools

Version:

⚡ A package containing various linting tools used to validate syntax, enforce design standards, and format code in a Storm workspace.

101 lines (100 loc) 2.37 kB
{ "$schema": "https://biomejs.dev/schemas/1.5.1/schema.json", "organizeImports": { "enabled": false }, "files": { "ignoreUnknown": true, "ignore": [ "**/package.json/**", "**/.wrangler/**", "**/tamagui.css", "**/workbox*.js", "**/sw*.js", "**/service-worker.js", "**/fallback*.js", "**/node_modules/**", "**/dist/**", "**/ios/**", "**/.git/**", "**/.android/**", "**/.DS_Store/**", "**/Thumbs.db/**", "**/.tamagui*", "**/.next*" ] }, "linter": { "enabled": true, "rules": { "recommended": true, "style": { "useDefaultParameterLast": "off", "useTemplate": "warn", "noUselessElse": "warn", "noNonNullAssertion": "warn" }, "suspicious": { "noAssignInExpressions": "warn", "noEmptyInterface": "off", "noExplicitAny": "off" }, "security": { "noDangerouslySetInnerHtml": "off" }, "nursery": { "useImportType": "error", "useExportType": "error", "noDuplicateJsonKeys": "error", "noMisleadingCharacterClass": "error", "useAwait": "error", "useConsistentArrayType": "error", "useNodejsImportProtocol": "error", "useShorthandFunctionType": "error", "useImportRestrictions": "off", "useForOf": "error" }, "correctness": { "noUnusedVariables": "error", "noUndeclaredVariables": "error", "useHookAtTopLevel": "error", "useExhaustiveDependencies": "warn" } } }, "formatter": { "enabled": true, "lineWidth": 100, "indentStyle": "space", "indentWidth": 2 }, "javascript": { "parser": { "unsafeParameterDecoratorsEnabled": true }, "formatter": { "enabled": true, "quoteStyle": "double", "jsxQuoteStyle": "double", "trailingComma": "none", "semicolons": "always", "arrowParentheses": "always", "quoteProperties": "asNeeded" }, "globals": ["__STORM_CONFIG", "__STORM_CONTEXT"] }, "json": { "parser": { "allowComments": true }, "formatter": { "enabled": true } }, "vcs": { "enabled": true, "clientKind": "git", "defaultBranch": "origin:main", "useIgnoreFile": false } }