Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

upgrade #6

Merged
merged 4 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
root: true,
extends: ["@toruslabs/eslint-config-typescript"],
parser: "@typescript-eslint/parser",
ignorePatterns: ["*.config.js", ".eslintrc.js"],
parserOptions: {
sourceType: "module",
ecmaVersion: 2022,
project: "./tsconfig.json",
},
rules: {
camelcase: 0,
},
};
14 changes: 0 additions & 14 deletions .eslintrc.json

This file was deleted.

3 changes: 2 additions & 1 deletion .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# .prettierrc or .prettierrc.yaml
printWidth: 150
singleQuote: false
semi: true
semi: true
trailingComma: es5
1 change: 1 addition & 0 deletions demo/sfarndemo/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export default function App() {
const logout = async () => {
setPrivateKey(null);
setUserInfo('');
await web3auth!.logout();
};

const uiConsole = (...args: any) => {
Expand Down
2 changes: 1 addition & 1 deletion demo/sfarndemo/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -677,4 +677,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 582fec4d7d0899fc3a4e77c877e313dff8c55e9d

COCOAPODS: 1.12.1
COCOAPODS: 1.12.0
Loading