Skip to content

Commit

Permalink
Merge pull request #47 from Web3Auth/feat/vue-modal-composable
Browse files Browse the repository at this point in the history
Feat/vue modal composable
  • Loading branch information
chaitanyapotti authored Nov 1, 2024
2 parents 647d5e6 + b95070d commit 4426fcb
Show file tree
Hide file tree
Showing 47 changed files with 3,859 additions and 2,330 deletions.
30 changes: 0 additions & 30 deletions .eslintrc.cjs

This file was deleted.

45 changes: 45 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,
extends: ['@toruslabs/vue'],
parser: 'vue-eslint-parser',
ignorePatterns: ['*.config.js', '.eslintrc.js', '*.config.mts'],
parserOptions: {
parser: '@typescript-eslint/parser',
sourceType: 'module',
ecmaVersion: 2022,
project: './tsconfig.json'
},
env: {
browser: true,
node: true,
mocha: true
},
rules: {
'vue/multi-word-component-names': 'off',
'no-console': 'off',
'prettier/prettier': [
'error',
{ semi: false, tabWidth: 2, singleQuote: true, printWidth: 100, trailingComma: 'none' }
],
camelcase: 0,
'import/extensions': [
'error',
'ignorePackages',
{
js: 'never',
jsx: 'never',
ts: 'never',
tsx: 'never'
}
]
},
settings: {
'import/resolver': {
typescript: {
project: './tsconfig.json'
}
}
}
}
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"singleQuote": true,
"printWidth": 100,
"trailingComma": "none"
}
}
12 changes: 2 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<script type="module">
import { Buffer } from 'buffer'
import process from 'process'
window.Buffer = Buffer
window.process = process
</script>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Inter:100,200,300,400,500,600,700,800,900"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<title>Web3Auth Demo</title>
</head>
<body class="bg-app-gray-100 dark:bg-app-gray-900">
Expand Down
Loading

0 comments on commit 4426fcb

Please sign in to comment.