refactor: clean up code formatting and improve readability across multiple components
- Standardized the use of quotes and spacing in various files. - Removed unnecessary line breaks and trailing spaces in components. - Improved the structure of computed properties and methods for better clarity. - Enhanced the consistency of prop definitions and emit events in Vue components. - Updated the GraphQL composable to streamline error handling and data processing. - Refactored network configuration files for better organization and readability. - Cleaned up model files by removing redundant lines and ensuring consistent formatting. - Adjusted router configuration for improved readability. - Enhanced utility functions for better maintainability and clarity.
This commit is contained in:
@@ -8,7 +8,10 @@ import svgLoader from "vite-svg-loader";
|
||||
|
||||
function getGitTag(): string {
|
||||
try {
|
||||
const tags = execSync("git tag --sort=-version:refname").toString().trim().split("\n");
|
||||
const tags = execSync("git tag --sort=-version:refname")
|
||||
.toString()
|
||||
.trim()
|
||||
.split("\n");
|
||||
return tags.length > 0 ? tags[0] : "unknown";
|
||||
} catch (fallbackError) {
|
||||
return "";
|
||||
@@ -40,7 +43,7 @@ export default defineConfig({
|
||||
alias: {
|
||||
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
||||
"viem/errors": fileURLToPath(
|
||||
new URL("./node_modules/viem/errors", import.meta.url)
|
||||
new URL("./node_modules/viem/errors", import.meta.url),
|
||||
),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user