branch: elpa/flycheck
commit ece43d7910b80155cc139a387cab1ff84bd59f2e
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    Remove eruby-ruumba checker
    
    Ruumba has been abandoned with no updates since 2020. This was the
    last eRuby checker, so ERuby language support is removed entirely.
---
 doc/languages.rst                  | 17 ----------------
 flycheck.el                        | 41 --------------------------------------
 test/specs/languages/test-eruby.el | 13 ------------
 3 files changed, 71 deletions(-)

diff --git a/doc/languages.rst b/doc/languages.rst
index 2ce45255aa..31d1bc11f2 100644
--- a/doc/languages.rst
+++ b/doc/languages.rst
@@ -427,23 +427,6 @@ to view the docstring of the syntax checker.  Likewise, 
you may use
          directories, the eqc profile in eqc directories and the default 
profile
          otherwise.
 
-.. supported-language:: ERuby
-
-   .. syntax-checker:: eruby-ruumba
-
-      Check syntax and lint with `Ruumba 
<https://github.com/ericqweinstein/ruumba>`_.
-
-      .. note::
-
-         This syntax checker requires Ruumba 0.1.7 or newer.
-
-      .. defcustom:: flycheck-ruumba-lint-only
-
-         Whether to suppress warnings about style issues, via the ``--lint``
-         option.
-
-      .. syntax-checker-config-file:: flycheck-ruumbarc
-
 .. supported-language:: Fortran
 
    .. syntax-checker:: fortran-gfortran
diff --git a/flycheck.el b/flycheck.el
index 9ce5009100..88d5048e79 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -146,7 +146,6 @@
     ember-template
     erlang-rebar3
     erlang
-    eruby-ruumba
     fortran-gfortran
     go-gofmt
     go-vet
@@ -9118,46 +9117,6 @@ directory name is \"test\" or \"eqc\", or else 
\"default\"."
   :predicate flycheck-buffer-saved-p
   :working-directory flycheck-rebar3-project-root)
 
-(flycheck-def-config-file-var flycheck-ruumbarc eruby-ruumba ".ruumba.yml")
-
-(flycheck-def-option-var flycheck-ruumba-lint-only nil eruby-ruumba
-  "Whether to only report code issues in Ruumba.
-
-When non-nil, only report code issues in Ruumba, via `--lint'.
-Otherwise report style issues as well."
-  :safe #'booleanp
-  :type 'boolean
-  :package-version '(flycheck . "32"))
-
-(flycheck-define-checker eruby-ruumba
-  "An eRuby syntax and style checker using the Ruumba tool.
-
-You need at least Ruumba 0.1.7 for this syntax checker.
-
-See URL `https://github.com/ericqweinstein/ruumba'."
-  :command ("ruumba"
-            "--display-cop-names"
-            "--force-exclusion"
-            "--format" "emacs"
-            "--cache" "false"
-            (config-file "--config" flycheck-ruumbarc)
-            (option-flag "--lint" flycheck-ruumba-lint-only)
-            ;; Ruumba takes the original file name as argument when reading
-            ;; from standard input
-            "--stdin" source-original)
-  :standard-input t
-  :working-directory flycheck-ruby--find-project-root
-  :error-patterns
-  ((info line-start (file-name) ":" line ":" column ": C: "
-         (optional (id (one-or-more (not (any ":")))) ": ") (message) line-end)
-   (warning line-start (file-name) ":" line ":" column ": W: "
-            (optional (id (one-or-more (not (any ":")))) ": ") (message)
-            line-end)
-   (error line-start (file-name) ":" line ":" column ": " (or "E" "F") ": "
-          (optional (id (one-or-more (not (any ":")))) ": ") (message)
-          line-end))
-  :modes (html-erb-mode rhtml-mode))
-
 (flycheck-def-args-var flycheck-gfortran-args fortran-gfortran
   :package-version '(flycheck . "0.22"))
 
diff --git a/test/specs/languages/test-eruby.el 
b/test/specs/languages/test-eruby.el
deleted file mode 100644
index c211d95685..0000000000
--- a/test/specs/languages/test-eruby.el
+++ /dev/null
@@ -1,13 +0,0 @@
-;;; test-eruby.el --- Flycheck Specs: eRuby -*- lexical-binding: t; -*-
-;;; Code:
-(require 'flycheck-buttercup)
-(require 'test-helpers)
-
-(describe "Language eRuby"
-  (flycheck-buttercup-def-checker-test eruby-ruumba eruby syntax-error
-    (flycheck-buttercup-should-syntax-check
-     "language/eruby.erb" '(html-erb-mode rhtml-mode)
-     '(8 1 error "unexpected token $end (Using Ruby 2.4 parser; configure 
using `TargetRubyVersion` parameter, under `AllCops`)"
-         :id "Lint/Syntax" :checker eruby-ruumba))))
-
-;;; test-eruby.el ends here

Reply via email to