Skip to content
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

Add silence support. #4916

Closed
wants to merge 2 commits into from
Closed

Commits on Jun 14, 2018

  1. Add silence support

    With this patch there is a newly supported section in `.flowconfig`:
    
    ```ini
    [silence]
    .*/path/to/file.js
    .*/path/to/dir/*.js
    ```
    
    Paths in `[silence]` will still be typechecked, but any
    warnings and errors will be silenced as if there was a `suppress_comment` comment string
    on every line where there are errors.
    
    It currently silences all warnings and errors, including lints.
    
    I believe this fixes facebook#869, though I admit I didn't read
    the whole issue.
    LegNeato committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    bc10fb3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    06a06af View commit details
    Browse the repository at this point in the history