-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* automatically fetches calldata from `sign()` * remove vitest form tsconfig to fix build * remove extra script * updates packages to latest and cleans up build output * update to use pnpm * update patched vitest loader * fix linting issues * fix patch * fix deps for docs * fix test paths * bump node version * re-add the bn.js pckg * fix rejected tx
- Loading branch information
Showing
35 changed files
with
5,641 additions
and
8,561 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
import js from '@eslint/js'; | ||
import tsPlugin from '@typescript-eslint/eslint-plugin'; | ||
import tsParser from '@typescript-eslint/parser'; | ||
import prettierConfig from 'eslint-config-prettier'; | ||
import prettierPlugin from 'eslint-plugin-prettier'; | ||
|
||
export default [ | ||
js.configs.recommended, | ||
{ | ||
files: ['src/**/*.ts', 'src/**/*.tsx'], | ||
plugins: { | ||
'@typescript-eslint': tsPlugin, | ||
prettier: prettierPlugin, | ||
}, | ||
languageOptions: { | ||
parser: tsParser, | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
}, | ||
globals: { | ||
Buffer: 'readonly', | ||
URL: 'readonly', | ||
fetch: 'readonly', | ||
Response: 'readonly', | ||
Request: 'readonly', | ||
RequestInit: 'readonly', | ||
AbortController: 'readonly', | ||
caches: 'readonly', | ||
setTimeout: 'readonly', | ||
clearTimeout: 'readonly', | ||
// Test globals | ||
describe: 'readonly', | ||
it: 'readonly', | ||
test: 'readonly', | ||
expect: 'readonly', | ||
beforeAll: 'readonly', | ||
afterAll: 'readonly', | ||
beforeEach: 'readonly', | ||
afterEach: 'readonly', | ||
// Node.js globals | ||
process: 'readonly', | ||
__dirname: 'readonly', | ||
__filename: 'readonly', | ||
module: 'readonly', | ||
require: 'readonly', | ||
// Browser globals | ||
window: 'readonly', | ||
document: 'readonly', | ||
console: 'readonly', | ||
}, | ||
}, | ||
rules: { | ||
...tsPlugin.configs.recommended.rules, | ||
...prettierPlugin.configs.recommended.rules, | ||
'prettier/prettier': 'error', | ||
eqeqeq: ['error'], | ||
'no-var': ['warn'], | ||
'no-duplicate-imports': ['error'], | ||
'prefer-const': ['error'], | ||
'prefer-spread': ['error'], | ||
'no-console': ['off'], | ||
'react/react-in-jsx-scope': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'@typescript-eslint/no-unused-vars': [ | ||
'warn', | ||
{ argsIgnorePattern: '^_' }, | ||
], | ||
quotes: [ | ||
'warn', | ||
'single', | ||
{ avoidEscape: true, allowTemplateLiterals: true }, | ||
], | ||
}, | ||
}, | ||
prettierConfig, | ||
{ | ||
ignores: [ | ||
'dist/**', | ||
'node_modules/**', | ||
'coverage/**', | ||
'*.js', | ||
'*.cjs', | ||
'*.mjs', | ||
'build/**', | ||
'docs/**', | ||
'patches/**', | ||
'src/__test__/e2e/**', | ||
'src/__test__/integration/**', | ||
'src/__test__/utils/**', | ||
], | ||
}, | ||
]; |
Submodule openzeppelin-contracts
deleted from
dbb610
Oops, something went wrong.