-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New rule: io-ts codec restrictions #334
Comments
You could probably fix |
Similarly, we likely want to enforce |
|
If we widen the scope of this to fp-ts generally, another useful rule might be forbidding lib imports. Good: import { flow } from 'fp-ts/function' Bad: import { flow } from 'fp-ts/lib/function' |
Oh look, that already exists https://github.com/buildo/eslint-plugin-fp-ts/blob/main/docs/rules/no-lib-imports.md |
t.type
unless it is nested within at.readonly
.t.array
, with fixer tot.readonlyArray
.The text was updated successfully, but these errors were encountered: