Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update region to extended TagoIO Deploy support #19

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .eslintignore

This file was deleted.

103 changes: 0 additions & 103 deletions .eslintrc.js

This file was deleted.

11 changes: 0 additions & 11 deletions .prettierrc

This file was deleted.

116 changes: 116 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 160,
"attributePosition": "auto"
},
"vcs": {
"clientKind": "git",
"enabled": true,
"useIgnoreFile": true
},
"organizeImports": { "enabled": true },
"linter": {
"ignore": ["node_modules", ".tagoio", "build"],
"enabled": true,
"rules": {
"recommended": false,
"complexity": {
"noBannedTypes": "warn",
"noExtraBooleanCast": "error",
"noForEach": "warn",
"noMultipleSpacesInRegularExpressionLiterals": "error",
"noUselessCatch": "error",
"noUselessTypeConstraint": "error",
"noWith": "error",
"useFlatMap": "warn"
},
"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",
"useIsNan": "error",
"useValidForDirection": "error",
"useYield": "error"
},
"style": {
"noDefaultExport": "warn",
"noNamespace": "error",
"useAsConstAssertion": "error",
"useBlockStatements": "error",
"useNodejsImportProtocol": "warn",
"useImportType": "off",
"useExportType": "off",
"useFilenamingConvention": {
"level": "off",
"options": { "requireAscii": true, "filenameCases": ["kebab-case"] }
}
},
"suspicious": {
"noAsyncPromiseExecutor": "error",
"noCatchAssign": "error",
"noClassAssign": "error",
"noCompareNegZero": "error",
"noControlCharactersInRegex": "error",
"noDebugger": "error",
"noDuplicateCase": "error",
"noDuplicateClassMembers": "error",
"noDuplicateObjectKeys": "error",
"noDuplicateParameters": "error",
"noEmptyBlockStatements": "error",
"noExplicitAny": "warn",
"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": "off",
"useGetterReturn": "error",
"useIsArray": "error",
"useValidTypeof": "error"
}
}
},
"javascript": {
"globals": ["test", "it", "describe", "expect"],
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"quoteStyle": "double",
"attributePosition": "auto"
}
}
}
20 changes: 10 additions & 10 deletions docs/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@
"description": "Email of the account",
"type": "string",
"format": "email"
},
"tagoAPIURL": {
"description": "URL to API for TagoDeploy server",
"type": "string",
"format": "uri-reference"
},
"tagoSSEURL": {
"description": "URL to SSE for TagoDeploy server",
"type": "string",
"format": "uri-reference"
}
}
}
Expand All @@ -50,16 +60,6 @@
"type": "string",
"format": "uri-reference"
},
"tagoDeployUrl": {
"description": "URL to API for TagoDeploy server",
"type": "string",
"format": "uri-reference"
},
"tagoDeploySse": {
"description": "URL to SSE for TagoDeploy server",
"type": "string",
"format": "uri-reference"
},
"buildPath": {
"description": "Path from the root of the project to the build folder",
"type": "string",
Expand Down
Loading