Skip to content

Commit

Permalink
test: move vue test app
Browse files Browse the repository at this point in the history
Add vue test app to the workspace
Update biome config
Add `settings.json` on .vscode dir
Update dependencies
  • Loading branch information
Sukaato committed Oct 6, 2024
1 parent 7ff6f28 commit 713e54c
Show file tree
Hide file tree
Showing 27 changed files with 488 additions and 1,500 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ log.txt
.idea/
.vscode/**
!.vscode/extensions.json
!.vscode/settings.json
.sass-cache/
.versions/
coverage/
Expand Down
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.organizeImports.biome": "explicit",
"source.sortImports": "explicit",
"source.removeUnused.ts": "explicit",
"source.removeUnusedImports": "explicit",
}
}
88 changes: 24 additions & 64 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,70 +22,7 @@
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noAssignInExpressions": "off",
"noEmptyBlock": "error",
"noExplicitAny": "off",
"noConfusingVoidType": "off",
"noDoubleEquals": "error",
"noFunctionAssign": "error",
"noSparseArray": "error",
"useIsArray": "error",
"useAwait": "off"
},
"correctness": {
"noUnusedPrivateClassMembers": "error",
"noUnnecessaryContinue": "error",
"noUnreachable": "error",
"noUnsafeOptionalChaining": "error",
"noVoidTypeReturn": "off",
"useIsNan": "error",
"useYield": "error"
},
"nursery": {
"noSubstr": "error",
"useDeprecatedReason": "error"
},
"security": {
"noGlobalEval": "error"
},
"style": {
"useTemplate": "error",
"noImplicitBoolean": "warn",
"noUnusedTemplateLiteral": "error",
"noUselessElse": "error",
"noVar": "error",
"useConst": "error",
"useExportType": "error",
"useImportType": "error",
"useNodejsImportProtocol": "error",
"useSelfClosingElements": "error",
"useShorthandArrayType": "error",
"useSingleVarDeclarator": "error",
"useThrowOnlyError": "error"
},
"complexity": {
"noForEach": "error",
"noUselessConstructor": "error",
"noThisInStatic": "error",
"noUselessEmptyExport": "error",
"noVoid": "off",
"useFlatMap": "error",
"useOptionalChain": "error",
"useRegexLiterals": "warn"
},
"a11y": {
"noRedundantRoles": "error",
"noRedundantAlt": "error",
"useAltText": "error",
"useButtonType": "error",
"useAriaPropsForRole": "error",
"useValidAriaProps": "error",
"useValidAriaRole": "error",
"useValidAriaValues": "error",
"useSemanticElements": "warn"
}
"recommended": true
}
},
"javascript": {
Expand All @@ -103,5 +40,28 @@
"linter": {
"enabled": true
}
},
"css": {
"formatter": {
"enabled": true
},
"linter": {
"enabled": true
},
"parser": {
"cssModules": true
},
"assists": {
"enabled": true
}
},
"assists": {
"enabled": true,
"actions": {
"source": {
"sortJsxProps": "on",
"useSortedKeys": "on"
}
}
}
}
Loading

0 comments on commit 713e54c

Please sign in to comment.