- Linting: Add replacement

This commit is contained in:
Brett Zamir
2019-05-24 15:00:45 +08:00
parent 098caebae6
commit d88e542dad

View File

@@ -80,7 +80,8 @@ module.exports = {
message: "Use `Integer` or `Float`"
},
Function: {
message: "Point to a `@callback` namepath or `GenericCallback` if truly arbitrary in form"
message: "Point to a `@callback` namepath or `{{preferredType}}` if truly arbitrary in form",
replacement: "GenericCallback"
},
'object<>': {
message: "Use the specific object type or `{{preferredType}}` (or `ArbitraryObject` or `ArbitraryModule`) if truly arbitrary",