Skip to content

Commit

Permalink
Merge pull request #1876 from Web3Auth:feat/vue-app-fixes
Browse files Browse the repository at this point in the history
fix vue app
  • Loading branch information
chaitanyapotti authored Jul 23, 2024
2 parents 5b58e59 + 561e50e commit 8680d8f
Show file tree
Hide file tree
Showing 23 changed files with 6,677 additions and 3,198 deletions.
70 changes: 35 additions & 35 deletions demo/react-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions demo/vue-app/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
root: true,
extends: ["@toruslabs/vue"],
parser: "vue-eslint-parser",
parserOptions: {
sourceType: "module",
ecmaVersion: 2022,
project: "./tsconfig.json",
},
ignorePatterns: ["*.config.js", "*.d.ts", ".eslintrc.js", "*.config.ts"],
env: {
browser: true,
node: true,
mocha: true,
serviceworker: true,
},
rules: {
"import/no-unresolved": [
"error",
{ ignore: ["@toruslabs/vue-components/*", "@web3auth/checkout/*", "@web3auth/portfolio/*", "@web3auth/walletconnect/*"] },
],
"no-underscore-dangle": "off",
"vue/multi-word-component-names": "off",
"import/extensions": [
"error",
"ignorePackages",
{
js: "never",
jsx: "never",
ts: "never",
tsx: "never",
},
],
},
};
26 changes: 0 additions & 26 deletions demo/vue-app/.eslintrc.json

This file was deleted.

Loading

0 comments on commit 8680d8f

Please sign in to comment.