SublimeLinter / SublimeLinter-flow

SublimeLinter plugin for JavaScript static type checking, using flow.
MIT License
117 stars 24 forks source link

How can once specify include_warnings for only SublimeLinter-flow? #72

Closed taylorkline closed 5 years ago

taylorkline commented 5 years ago

Flow has an option include_warnings. The linter appears to only show warnings if this is set to true in the .flowconfig, but I would rather not do that for the entire project. Is there a way I can have the linter show warnings without setting the entry in the .flowconfig file?

taylorkline commented 5 years ago

Quick open: Preferences: SublimeLinter Settings, then

// SublimeLinter Settings - User
{
    "linters": {
        "flow": {
            "args": ["--include-warnings"]
        }
    }
}