flow-typed / eslint-plugin-ft-flow

https://www.npmjs.com/package/eslint-plugin-ft-flow
Other
19 stars 11 forks source link

Add TS syntax support to require-readonly-react-props #54

Closed short-dsb closed 8 months ago

short-dsb commented 8 months ago

Per the changelog for 0.229.0, enabling experimental.ts_syntax=true allows some TypeScript syntax, e.g., Readonly versus $ReadOnly.

This PR adds optional support for this syntax to require-readonly-react-props via useExperimentalTypeScriptSyntax.

This is my first PR for this repo, so any feedback is appreciated. ๐Ÿ™‚

short-dsb commented 8 months ago

@Brianzchen I donโ€™t have write access here. Are you able to merge?

Brianzchen commented 8 months ago

Yep just wanted to wait in case I recall anything else. Will merge now and cut a release for you