branch: elpa/flycheck
commit 52d8ab67a1f68835d5ef34ae9b11ba813086e3da
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Remove coffee-coffeelint checker
CoffeeLint has been effectively inactive with known security
vulnerabilities and no maintenance. Remove the checker and its
next-checker chain from the coffee checker.
---
doc/languages.rst | 6 ------
flycheck.el | 21 ---------------------
test/specs/languages/test-coffee.el | 13 +------------
3 files changed, 1 insertion(+), 39 deletions(-)
diff --git a/doc/languages.rst b/doc/languages.rst
index 4b5c7d37dd..e859b03d1c 100644
--- a/doc/languages.rst
+++ b/doc/languages.rst
@@ -236,12 +236,6 @@ to view the docstring of the syntax checker. Likewise,
you may use
Check syntax with the `Coffeescript <https://coffeescript.org/>`_
compiler.
- .. syntax-checker:: coffee-coffeelint
-
- Lint with `Coffeelint <http://www.coffeelint.org/>`_.
-
- .. syntax-checker-config-file:: flycheck-coffeelintrc
-
.. supported-language:: CSS
.. syntax-checker:: css-stylelint
diff --git a/flycheck.el b/flycheck.el
index f8aee02d5b..22c9bee1ed 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -136,7 +136,6 @@
c/c++-cppcheck
cfengine
coffee
- coffee-coffeelint
css-stylelint
cuda-nvcc
cwl
@@ -8222,26 +8221,6 @@ See URL `https://coffeescript.org/'."
:error-patterns
((error line-start "[stdin]:" line ":" column
": error: " (message) line-end))
- :modes coffee-mode
- :next-checkers ((warning . coffee-coffeelint)))
-
-(flycheck-def-config-file-var flycheck-coffeelintrc coffee-coffeelint
- ".coffeelint.json")
-
-(flycheck-define-checker coffee-coffeelint
- "A CoffeeScript style checker using coffeelint.
-
-See URL `https://www.coffeelint.org/'."
- :command
- ("coffeelint"
- (config-file "--file" flycheck-coffeelintrc)
- "--stdin" "--reporter" "checkstyle")
- :standard-input t
- :error-parser flycheck-parse-checkstyle
- :error-filter (lambda (errors)
- (flycheck-remove-error-file-names
- "stdin" (flycheck-remove-error-ids
- (flycheck-sanitize-errors errors))))
:modes coffee-mode)
(defconst flycheck-stylelint-args '("--formatter" "json")
diff --git a/test/specs/languages/test-coffee.el
b/test/specs/languages/test-coffee.el
index 6e3a077c17..6c734623c5 100644
--- a/test/specs/languages/test-coffee.el
+++ b/test/specs/languages/test-coffee.el
@@ -9,17 +9,6 @@
"language/coffee/syntax-error.coffee" 'coffee-mode
'(4 7 error "missing \"" :checker coffee)))
- (flycheck-buttercup-def-checker-test coffee-coffeelint coffee error
- (flycheck-buttercup-should-syntax-check
- "language/coffee/error.coffee" 'coffee-mode
- '(4 nil error "Throwing strings is forbidden; context:"
- :checker coffee-coffeelint)))
-
- (flycheck-buttercup-def-checker-test coffee-coffeelint coffee warning
- (let ((flycheck-coffeelintrc "lint.json"))
- (flycheck-buttercup-should-syntax-check
- "language/coffee/error.coffee" 'coffee-mode
- '(4 nil warning "Throwing strings is forbidden; context:"
- :checker coffee-coffeelint)))))
+)
;;; test-coffee.el ends here