Skip to content

Commit a225b14

Browse files
authored
Update xrpl dependency to 4.2.5 and replace @xpring-eng/eslint-config-base with xrplf/config-base (#335)
## High Level Overview of Change <!-- Please include a summary/list of the changes. If too broad, please consider splitting into multiple PRs. If a relevant Asana task, please link it here. --> The following changes will be applied: - Versions 4.2.1 -> 4.2.4 of `xrpl` were compromised. Set the caret version to the latest rectified version 4.2.5. - `@xpring-eng/eslint-config-base` was decommissioned. Replace with `xrplf/config-base` ### Type of Change <!-- Please check relevant options, delete irrelevant ones. --> - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Refactor (non-breaking change that only restructures code) - [ ] Tests (You added tests for code that already exists, or your new feature included in this PR) - [ ] Documentation Updates - [ ] Release
1 parent 2df37ca commit a225b14

30 files changed

+3275
-1599
lines changed

.eslintrc.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,22 @@ module.exports = {
3838

3939
plugins: ['jest', 'disable'],
4040
processor: 'disable/disable',
41-
extends: ['@xpring-eng/eslint-config-base/loose', 'plugin:jest/recommended'],
41+
extends: ['@xrplf/eslint-config', 'plugin:jest/recommended'],
4242
rules: {
4343
'@typescript-eslint/no-magic-numbers': 'off',
4444
'@typescript-eslint/naming-convention': 'off',
4545
'no-await-in-loop': 'off',
4646
'@microsoft-tsdoc/tsdoc-param-tag-with-invalid-name': 'off',
47+
'jsdoc/check-examples': 'off',
48+
// Allows the use of 'as' for type assertion for websocket messages retrieval.
49+
'@typescript-eslint/consistent-type-assertions': [
50+
'warn',
51+
{
52+
assertionStyle: 'as',
53+
},
54+
],
55+
'max-params': ['warn', 4],
56+
4757
// Removes comments and blank lines from the max-line rules
4858
'max-lines-per-function': [
4959
'warn',

0 commit comments

Comments
 (0)