-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: security issues * chore(linter): change max line len * chore(docs): add addresses for other networks * chore(yarn.lock): change registry
- Loading branch information
Showing
27 changed files
with
850 additions
and
4,335 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,6 @@ | ||
module.exports = { | ||
root: true, | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint', 'unused-imports'], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'prettier', | ||
], | ||
extends: ['@1inch'], | ||
rules: { | ||
'@typescript-eslint/member-ordering': 'error', | ||
'lines-between-class-members': 'error', | ||
'padding-line-between-statements': 'error', | ||
'no-unused-vars': 'off', | ||
'max-len': ['error', {code: 120}], | ||
'max-depth': ['error', 3], | ||
'max-lines-per-function': ['error', 70], | ||
'max-params': ['error', 7], | ||
'@typescript-eslint/no-explicit-any': 'error', | ||
'@typescript-eslint/no-unused-vars': 'error', | ||
'unused-imports/no-unused-imports': 'error', | ||
'unused-imports/no-unused-vars': 0, | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['src/**/*.test.ts'], | ||
rules: { | ||
'max-lines-per-function': ['error', 400], | ||
'max-len': ['error', {code: 130}], | ||
}, | ||
}, | ||
], | ||
}; | ||
'max-depth': ['error', 4] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -22,3 +22,6 @@ jobs: | |
|
||
- name: CI | ||
run: yarn run ci-pipeline | ||
|
||
- name: Security | ||
run: yarn audit |
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,8 @@ | ||
{ | ||
"trailingComma": "none", | ||
"tabWidth": 4, | ||
"bracketSpacing": false, | ||
"singleQuote": true, | ||
"semi": false, | ||
"printWidth": 120 | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"jsc": { | ||
"parser": { | ||
"syntax": "typescript", | ||
"decorators": true | ||
}, | ||
"transform": { | ||
"decoratorMetadata": true | ||
} | ||
} | ||
} |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module.exports = { | ||
testTimeout: 200000, | ||
moduleFileExtensions: ['js', 'json', 'ts'], | ||
rootDir: 'src', | ||
testRegex: '.*\\.(spec|test)\\.ts$', | ||
transform: { | ||
'^.+\\.(t|j)s$': '@swc/jest' | ||
}, | ||
collectCoverageFrom: ['**/*.(t|j)s'], | ||
coverageDirectory: '../coverage', | ||
testEnvironment: 'node', | ||
forceExit: true // For close all ws connections. | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// created from 'create-ts-index' | ||
|
||
export * from './provider.connector'; | ||
export * from './web3-provider.connector'; | ||
export * from './provider.connector' | ||
export * from './web3-provider.connector' |
Oops, something went wrong.