Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Support uint256[] decoding #280

Merged
merged 8 commits into from
Apr 8, 2024
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
17 changes: 5 additions & 12 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,29 @@ module.exports = {
es2021: true,
node: true,
},
plugins: ['@typescript-eslint', 'vitest'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:jest/all',
'plugin:vitest/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 12,
sourceType: 'module',
},
plugins: ['@typescript-eslint', 'jest'],
rules: {
'jest/unbound-method': 'off',
'no-empty': 'warn',
'no-console': 'error',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'jest/expect-expect': 'off',
'jest/lowercase-name': 'off',
'jest/max-expects': 'off',
'jest/no-commented-out-tests': 'off',
'jest/no-conditional-expect': 'off',
'jest/no-disabled-tests': 'warn',
'jest/prefer-expect-assertions': 'off',
'jest/require-hook': 'off',
'jest/require-to-throw-message': 'off',
'@typescript-eslint/ban-ts-comment': 'warn',
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
'@typescript-eslint/consistent-type-imports': 'error',
'vitest/expect-expect': 'warn',
'vitest/no-commented-out-tests': 'warn',
},

overrides: [
{
files: 'src/**/*.ts',
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/codecov.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: ['20', '18', '16', '14']
node-version: ['21', '20', '18', '14']
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
. "$(dirname "$0")/_/husky.sh"

npm run build:readme
npx lint-staged
npx lint-staged --concurrent false
git add readme.md
# npm run pre-commit
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ We have set up a GitHub project [here](https://github.com/dawsbot/essential-eth/
# Install and build
npm install

# Run jest test suite
# Run test suite
npm run test
```

Expand Down
9 changes: 0 additions & 9 deletions jest.config.cjs

This file was deleted.

Loading
Loading