@playfast/eslint-plugin
v0.0.2
Published
<div align="center">
Readme
@playfast/eslint-plugin
Lint rules for reform conventions.
Status
This package is an early placeholder and ships no rules yet. It is published to reserve the name and to give the reform toolchain a home for lint rules as they land. Installing it today adds no checks. Watch this space — or follow the repository — for the first rule set.
reform encodes a number of conventions that a linter can enforce mechanically: the definition / implementation split (X.make is reflectable, .live provides behavior), reducers as the sole writers of state, and nothing self-registering on import. The intent of this plugin is to catch violations of those invariants at lint time, before they reach a test or a review.
Planned direction
- Flag state writes outside reducers.
- Flag
.makedefinitions that are imported but never.live-provided in a layer. - Guard the import-side-effect-free rule (no self-registration on import).
These are goals, not guarantees, and the exact rule names and options will be documented here once implemented.
The reform family
Core @playfast/reform · hosts @playfast/react / @playfast/react-native · forms @playfast/forms + @playfast/forms-react · testing @playfast/proof
License
MIT
