Skip to content

Commit

Permalink
Inherit from the root eslint package, add an empty line at the end of…
Browse files Browse the repository at this point in the history
… env sample file, remove leftover comments
  • Loading branch information
mmv08 committed Jan 22, 2024
1 parent 4fdefa7 commit 08b2fbb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
module.exports = {
root: true,
env: {
browser: true,
es2021: true,
node: true,
},
ignorePatterns: ['dist', '.eslintrc.cjs'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', 'plugin:react-hooks/recommended'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
overrides: [],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ['@typescript-eslint', 'no-only-tests', 'react-refresh'],
plugins: ['@typescript-eslint', 'no-only-tests'],
rules: {
'@typescript-eslint/no-explicit-any': 'warn',
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
},
}
2 changes: 1 addition & 1 deletion examples/safe-4337-passkeys/.env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Get projectId at https://cloud.walletconnect.com
VITE_WC_CLOUD_PROJECT_ID=
// 4337 Bundler URL. We recommend https://www.pimlico.io/
VITE_WC_4337_BUNDLER_URL=
VITE_WC_4337_BUNDLER_URL=
8 changes: 8 additions & 0 deletions examples/safe-4337-passkeys/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
ignorePatterns: ['dist', '.eslintrc.cjs'],
extends: ['../../.eslintrc.js', 'plugin:react-hooks/recommended'],
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
},
}
1 change: 0 additions & 1 deletion examples/safe-4337-passkeys/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
/* text-align: center; */
}

.header {
Expand Down

0 comments on commit 08b2fbb

Please sign in to comment.