Mukul Jangid
910a5999c9
Docs: Snippets ( #1729 )
...
* refactor: adds snippets for sendEscrow, claimPayChannel, reliableSubmission, getTransaction, partialPayment, getPaths
2021-10-20 12:29:48 -04:00
ledhed2222
bd154fd6e8
lint filenames ( #1757 )
...
* build: update @xrplf/typescript-style
* fix filename casing
* fix webpack setup
* add missing eslint plugin
Co-authored-by: Nathan Nichols <natenichols@cox.net >
2021-10-19 16:08:46 -04:00
Nathan Nichols
615504db22
docs: finalizes documentation for xrpl.js ( #1703 )
...
docs: Adds JSDoc comments to all functions and interfaces
2021-10-12 14:04:18 -05:00
Nathan Nichols
dd068c2710
build: adjust for updates to @xrplf/eslint-config ( #1633 )
2021-10-04 14:10:13 -04:00
Mayukha Vadari
98c9b9bc14
ci: run lint tests ( #1603 )
...
* turn on lint tests
* remove tsc
* fix errors in src/utils/hashes
* fix linter errors in src/utils
* fix lint issues in test/
* resolve lint issues in src/client
* resolve dependency cycle
* resolve other linting issues in src/models
* resolve rest of linting issues
* fix tests
* fix linting errors in test/integration
* fix rest of linting issues
* fix test name
2021-10-04 14:10:13 -04:00
Mayukha Vadari
eb0445817e
refactor: adds error response object ( #1619 )
...
* add error response object
* export error response properly
* type mockRippled
* fix linter
* fix ts
* fix comments
2021-10-04 14:10:13 -04:00
Mukul Jangid
10445cff01
Refactor: Lint test/client ( #1602 )
...
* lint test/client
2021-10-04 14:10:13 -04:00
Mayukha Vadari
fe919315d4
Lints src/wallet and test/wallet ( #1600 )
...
* lint src/wallet/index
* lint generateFaucetWallet
* lint tests
* respond to comments
* change max-lines-per-function to 40
* remove * import
* fix TS issues
2021-10-04 14:10:12 -04:00
Nathan Nichols
ac66c2174a
build: remove linter rules already in base config ( #1599 )
2021-10-04 14:10:12 -04:00
Mayukha Vadari
949cc031ee
Lints top-level test files ( #1594 )
...
* lint broadcastClient
* lint client
* fix most of connection
* remove unused files
* lint mockRippled
* lint mockRippledTest
* lint runClientTests
* lint setupClient
* lint setupClientWeb
* lint shamap
* lint testUtils
* resolve tsc issues
* Fix tests
* lint rest of connection
* respond to comments
2021-10-04 14:10:12 -04:00
Mayukha Vadari
8c5bc22317
Lints src/client ( #1577 )
...
* lint backoff
* lint wsWrapper
* remove rangeset - not used
* split out connection.ts classes
* lint requestManager
* lint connectionManager
* lint most of connection
* fix most of client
* lint broadcastClient
* resolve more linter issues
* resolve magic numbers
* clean up more linting
* resolve rest of issues
* fix tests
* fix browser tests
* fix tests after rebase
* respond to comments
* fix dependency cycles
2021-10-04 14:10:11 -04:00
Mayukha Vadari
2ca164311b
Lints test/models ( #1578 )
2021-10-04 14:10:11 -04:00
Mayukha Vadari
91cc9e0461
Lints test/utils ( #1575 )
...
* rename model tests
* rename util tests
* turn off `any` complaints in linter
* other linter changes
* fix xrp <-> drops methods
* lint generateAddress
* fix rest of tests
2021-10-04 14:10:11 -04:00
Nathan Nichols
8b95ee5fab
build: Initial linting setup ( #1560 )
...
* sets up linting config and runs `yarn lint --fix` once, so that all changes will show up correctly in future PRs.
* Note that there are still a lot of linter errors.
2021-10-04 14:10:10 -04:00