mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
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
This commit is contained in:
@@ -88,6 +88,8 @@ module.exports = {
|
||||
|
||||
// We need to test things without type guards sometimes
|
||||
"@typescript-eslint/no-unsafe-assignment": "off",
|
||||
"@typescript-eslint/no-unsafe-call": "off",
|
||||
"@typescript-eslint/consistent-type-assertions": "off",
|
||||
|
||||
// We need to mess with internal things to generate certain testing situations
|
||||
"@typescript-eslint/no-unsafe-member-access": "off",
|
||||
@@ -99,6 +101,9 @@ module.exports = {
|
||||
allowModules: ["xrpl-local"],
|
||||
},
|
||||
],
|
||||
|
||||
// Tests are already in 2 callbacks, so max 3 is pretty restrictive
|
||||
"max-nested-callbacks": "off",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user