Skip to content

Rewatch: format --all --check checks formatting of node_modules dependencies #7747

@mediremi

Description

@mediremi

Unlike the legacy formatter, rescript format --all --check checks the formatting of ReScript files in node_modules dependencies:

$ rescript format --all --check
[format check] /home/mediremi/my_project/node_modules/@rescript/react/src/ReactEvent.res
The file listed above needs formatting
Error: Formatting check failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions