Files
riwa-ionic/eslint.config.mjs
Seven 28ddf12d45 feat: add withdraw functionality and related enums
- Introduced WithdrawMethodEnum and ChainEnum in enum.ts for withdrawal methods and blockchain types.
- Updated types.ts to include WithdrawBody type for withdrawal requests.
- Created a new useResetRef composable for managing form state resets.
- Added a withdraw page with form handling in index.vue, including validation and submission logic.
- Integrated the new withdraw functionality into the wallet card component.
- Updated the main.ts file to include Pinia for state management.
- Created a wallet store to manage user balances.
- Modified the deposit page to improve user experience and validation.
- Added number pattern validation for input fields.
- Updated the router to include a new route for the withdraw page.
- Refactored input-label component styles for better layout.
- Added a new rules.ts file for future validation rules.
2025-12-14 18:31:57 +07:00

37 lines
836 B
JavaScript

import process from "node:process";
import antfu from "@antfu/eslint-config";
export default antfu({
vue: true,
typescript: true,
jsonc: true,
gitignore: true,
ignores: [
"ios",
"android",
"dist",
"coverage",
"node_modules",
],
stylistic: {
semi: true,
quotes: "double",
},
formatters: {
css: "prettier",
},
parserOptions: {
ecmaVersion: 2020,
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-unused-vars": "off",
"unused-imports/no-unused-vars": "off",
"unused-imports/no-unused-imports": "off",
"vue/no-deprecated-slot-attribute": "off",
"@typescript-eslint/no-explicit-any": "off",
"prefer-promise-reject-errors": "off",
},
});