mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Lints test/models (#1578)
This commit is contained in:
15
.eslintrc.js
15
.eslintrc.js
@@ -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",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user