Closed Brianzchen closed 2 years ago
https://github.com/gajus/eslint-plugin-flowtype#type-id-match This rule only works with type but not interface, eg
eslintrc.js
... 'flowtype/type-id-match': ['error', '^_?([A-Z][A-Za-z0-9]*T|Props)$'], ....
type MyTypeT = {}; // works type MyType = {}; // errors interface MyType {}; // does not error but i would like it to
I think it should be a new rule as opposed to being enforced on type-id-match. Maybe named interface-id-match with the same usage
type-id-match
interface-id-match
:tada: This issue has been resolved in version 5.9.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
https://github.com/gajus/eslint-plugin-flowtype#type-id-match This rule only works with type but not interface, eg
eslintrc.js
I think it should be a new rule as opposed to being enforced on
type-id-match
. Maybe namedinterface-id-match
with the same usage