diff --git a/README.md b/README.md index e56e4b5..dbcb58f 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,6 @@ For general information on how SublimeLinter works with settings, please see [Se |Setting|Description| |:------|:----------| -|all|If set to true, the liner will use pass --all to `flow check` which will check every javascript file regardless of whether they have the `/* @flow */` declaration at the top. [More info](http://flowtype.org/docs/new-project.html#typechecking-your-files)| |lib|Add a path to your interface files. [More info](http://flowtype.org/docs/third-party.html#interface-files)| |show-all-errors|It allows flow to output all errors instead of stopping at 50| |use-server|If set to true, runs `flow --no-auto-start` instead of `flow check`. The former fetch results from an existing server (If there is no existing flow server, nothing will be done. You can use `flow start` to start a server) to speed it up| diff --git a/linter.py b/linter.py index cfa64d5..cc83df0 100644 --- a/linter.py +++ b/linter.py @@ -37,9 +37,6 @@ class Flow(Linter): multiline = True defaults = { - # Allows the user to lint *all* files, regardless of whether they have the `/* @flow */` declaration at the top. - 'all': False, - # Allow to bypass the 50 errors cap 'show-all-errors': True } @@ -62,9 +59,6 @@ def cmd(self): if merged_settings['show-all-errors']: command.append('--show-all-errors') - if merged_settings['all']: - command.append('--all') - # Until we update the regex, will re-use the old output format command.append('--old-output-format') command.append('--color=never') diff --git a/messages.json b/messages.json index ef055d4..cd45980 100644 --- a/messages.json +++ b/messages.json @@ -1,4 +1,5 @@ { "install": "messages/install.txt", - "2.0.0": "messages/2.0.0" + "2.0.0": "messages/2.0.0", + "2.1.0": "messages/2.1.0" } diff --git a/messages/2.1.0 b/messages/2.1.0 new file mode 100644 index 0000000..fcebb64 --- /dev/null +++ b/messages/2.1.0 @@ -0,0 +1,4 @@ + +SublimeLinter-flow +------------------ +* Removed `all` option