Lints test/models (#1578)

This commit is contained in:
Mayukha Vadari
2021-09-02 20:42:17 -05:00
parent 3f365d8591
commit 2ca164311b
6 changed files with 23 additions and 8 deletions

View File

@@ -90,6 +90,21 @@ module.exports = {
// We need to mess with internal things to generate certain testing situations
"@typescript-eslint/no-unsafe-member-access": "off",
// We need to be able to import xrpl-local
"node/no-extraneous-import": [
"error",
{
allowModules: ["xrpl-local"],
},
],
},
},
{
files: ["test/models/*.ts"],
rules: {
"@typescript-eslint/consistent-type-assertions": "off",
"@typescript-eslint/no-explicit-any": "off",
},
},
{