- Vendored the compiler subdirector of the rescript compiler repo to support newer syntax within the rescript language. This will allow for better parsing of the AST and better linting going forward
- However, this does mean that linting of the
|>
is no longer supported as the AST no longer has the triangle pipe explicitly in the AST - Also linting support for J String interpolation is no longer supported as the compiler will now warn on this syntax.
- However, this does mean that linting of the
- Changed the nix build to use flakes
- Added a new rule for disallowing regex literals in functions.
- With the rule enabled the literals must be assigned to a variable and then the variable must have a test specified somewhere in the specified directory in the config file.
- Add suggested_component for NoReactComponent rule
- Redesign how AST is parsed to each rule (allow for multiple AST roots)
- New rule: DisallowModuleRule
- Better support for disabling lint
- New rule: NoReactComponent
- Disable lint with comment
- Read lint rules from config file