-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Bump polkadot-js and adjust imports; Update specs (#344)
* fix: Bump polkadot-js and adjust imports; Update specs * Update u32 to no alias * Adjust some imports * Use tabs not spaces * Fix linter complaints
- Loading branch information
Showing
32 changed files
with
390 additions
and
414 deletions.
There are no files selected for viewing
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,29 +1,30 @@ | ||
module.exports = { | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:@typescript-eslint/recommended-requiring-type-checking', | ||
'prettier/@typescript-eslint', | ||
'plugin:prettier/recommended' | ||
], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
project: './tsconfig.json' | ||
}, | ||
plugins: [ | ||
'@typescript-eslint', | ||
'prettier', | ||
'simple-import-sort' | ||
], | ||
rules: { | ||
// Sort imports | ||
'simple-import-sort/sort': 'error', | ||
// https://github.com/eslint/eslint/issues/2321#issuecomment-134665757 | ||
'no-unused-vars': [2, { args: 'all', argsIgnorePattern: '^_' }], | ||
'@typescript-eslint/no-unused-vars': [ | ||
2, | ||
{ args: 'all', argsIgnorePattern: '^_' } | ||
], | ||
"@typescript-eslint/ban-types": 0, | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:@typescript-eslint/recommended-requiring-type-checking', | ||
'prettier/@typescript-eslint', | ||
'plugin:prettier/recommended' | ||
], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
project: './tsconfig.json' | ||
}, | ||
plugins: [ | ||
'@typescript-eslint', | ||
'prettier', | ||
'simple-import-sort' | ||
], | ||
rules: { | ||
// Sort imports | ||
'simple-import-sort/imports': 'error', | ||
'simple-import-sort/exports': 'error', | ||
// https://github.com/eslint/eslint/issues/2321#issuecomment-134665757 | ||
'no-unused-vars': [2, { args: 'all', argsIgnorePattern: '^_' }], | ||
'@typescript-eslint/no-unused-vars': [ | ||
2, | ||
{ args: 'all', argsIgnorePattern: '^_' } | ||
], | ||
"@typescript-eslint/ban-types": 0, | ||
}, | ||
}; |
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 @@ | ||
export { default as AccountsStakingPayouts } from './AccountsStakingPayoutsController'; | ||
export { default as AccountsBalanceInfo } from './AccountsBalanceInfoController'; | ||
export { default as AccountsStakingInfo } from './AccountsStakingInfoController'; | ||
export { default as AccountsStakingPayouts } from './AccountsStakingPayoutsController'; | ||
export { default as AccountsVestingInfo } from './AccountsVestingInfoController'; |
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,6 +1,6 @@ | ||
export * from './transaction'; | ||
export * from './accounts'; | ||
export * from './blocks'; | ||
export * from './runtime'; | ||
export * from './pallets'; | ||
export * from './node'; | ||
export * from './pallets'; | ||
export * from './runtime'; | ||
export * from './transaction'; |
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,3 +1,3 @@ | ||
export { default as NodeNetwork } from './NodeNetworkController'; | ||
export { default as NodeVersion } from './NodeVersionController'; | ||
export { default as NodeTransactionPool } from './NodeTransactionPoolController'; | ||
export { default as NodeVersion } from './NodeVersionController'; |
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,3 +1,3 @@ | ||
export { default as RuntimeCode } from './RuntimeCodeController'; | ||
export { default as RuntimeSpec } from './RuntimeSpecController'; | ||
export { default as RuntimeMetadata } from './RuntimeMetadataController'; | ||
export { default as RuntimeSpec } from './RuntimeSpecController'; |
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 @@ | ||
export { default as TransactionDryRun } from './TransactionDryRunController'; | ||
export { default as TransactionMaterial } from './TransactionMaterialController'; | ||
export { default as TransactionFeeEstimate } from './TransactionFeeEstimateController'; | ||
export { default as TransactionMaterial } from './TransactionMaterialController'; | ||
export { default as TransactionSubmit } from './TransactionSubmitController'; |
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,5 +1,5 @@ | ||
export * from './nodeUtilFormat'; | ||
export * from './stripTimestamp'; | ||
export * from './filterApiRpc'; | ||
export * from './nodeUtilFormat'; | ||
export * from './stripAnsi'; | ||
export * from './stripTimestamp'; | ||
export * from './timeStamp'; |
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,5 +1,5 @@ | ||
export { txErrorMiddleware as txError } from './txErrorMiddleware'; | ||
export { httpErrorMiddleware as httpError } from './httpErrorMiddleware'; | ||
export { errorMiddleware as error } from './errorMiddleware'; | ||
export { legacyErrorMiddleware as legacyError } from './legacyErrorMiddleware'; | ||
export { httpErrorMiddleware as httpError } from './httpErrorMiddleware'; | ||
export { internalErrorMiddleware as internalError } from './internalErrorMiddleware'; | ||
export { legacyErrorMiddleware as legacyError } from './legacyErrorMiddleware'; | ||
export { txErrorMiddleware as txError } from './txErrorMiddleware'; |
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
Oops, something went wrong.