]> git.eshelyaron.com Git - emacs.git/commitdiff
; Documentation updates
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 25 Dec 2018 15:32:10 +0000 (17:32 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 25 Dec 2018 15:32:10 +0000 (17:32 +0200)
etc/NEWS
lisp/progmodes/ruby-mode.el

index a018bc39563989150bb41d1a92811fba74ed585d..34151d8caad07275ae77a7b4d6a265ef8ff7cc6f 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -506,6 +506,11 @@ Control whether Flymake starts checking the buffer on save.
 This enables more efficient backends.  See the docstring of
 'flymake-diagnostic-functions' or the Flymake manual for details.
 
+** Ruby
+
+*** The Rubocop Flymake diagnostic function will only run Lint cops if
+it can't find the config file.
+
 ** Package
 
 *** New function 'package-get-version' lets packages query their own version.
index 2a50374765c90212abd2472c15b9956e6f14a1b4..351dac2f8527e9f110a005851040a122348056ba 100644 (file)
@@ -2301,7 +2301,10 @@ It will be properly highlighted even when the call omits parens.")
 
 (defcustom ruby-flymake-use-rubocop-if-available t
   "Non-nil to use the RuboCop Flymake backend.
-Only takes effect if RuboCop is installed."
+Only takes effect if RuboCop is installed.
+
+If there is no Rubocop config file, Rubocop will be passed a flag
+'--lint' to only show syntax errors and important problems."
   :version "26.1"
   :type 'boolean
   :safe 'booleanp)