Upgrade eslint plugin functional

This commit is contained in:
Dolan Miu
2023-02-02 17:44:12 +00:00
parent ae48999e38
commit afcd5e70a1
3 changed files with 59 additions and 34 deletions

View File

@ -250,9 +250,12 @@ module.exports = {
ignoreAccessorPattern: ["**.root*", "**.numberingReferences*", "**.sections*", "**.properties*"],
},
],
"functional/no-method-signature": "error",
"functional/no-mixed-type": "error",
"functional/prefer-property-signatures": "error",
"functional/no-mixed-types": "error",
// TODO: Deprecated. Use prefer-immutable-types and type-declaration-immutability instead
"functional/prefer-readonly-type": "error",
// "functional/prefer-immutable-types": "error",
// "functional/type-declaration-immutability": "error",
"no-unused-vars": ["error", { argsIgnorePattern: "^[_]+$" }],
},
overrides: [