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

    Remove css-csslint checker
    
    CSSLint has been abandoned since ~2017 with no maintenance. Users
    should use css-stylelint instead.
---
 doc/languages.rst                |  6 ------
 flycheck.el                      | 10 ----------
 test/specs/languages/test-css.el | 19 -------------------
 3 files changed, 35 deletions(-)

diff --git a/doc/languages.rst b/doc/languages.rst
index bb4fbaa07b..4b5c7d37dd 100644
--- a/doc/languages.rst
+++ b/doc/languages.rst
@@ -244,12 +244,6 @@ to view the docstring of the syntax checker.  Likewise, 
you may use
 
 .. supported-language:: CSS
 
-   .. syntax-checker:: css-csslint
-
-      Check syntax and style with `CSSLint`_.
-
-      .. _CSSLint: https://github.com/CSSLint/csslint
-
    .. syntax-checker:: css-stylelint
 
       Syntax-check and lint CSS with stylelint_.
diff --git a/flycheck.el b/flycheck.el
index 7bdf574d51..f8aee02d5b 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -137,7 +137,6 @@
     cfengine
     coffee
     coffee-coffeelint
-    css-csslint
     css-stylelint
     cuda-nvcc
     cwl
@@ -8245,15 +8244,6 @@ See URL `https://www.coffeelint.org/'."
                             (flycheck-sanitize-errors errors))))
   :modes coffee-mode)
 
-(flycheck-define-checker css-csslint
-  "A CSS syntax and style checker using csslint.
-
-See URL `https://github.com/CSSLint/csslint'."
-  :command ("csslint" "--format=checkstyle-xml" source)
-  :error-parser flycheck-parse-checkstyle
-  :error-filter flycheck-dequalify-error-ids
-  :modes (css-mode css-ts-mode))
-
 (defconst flycheck-stylelint-args '("--formatter" "json")
   "Common arguments to stylelint invocations.")
 
diff --git a/test/specs/languages/test-css.el b/test/specs/languages/test-css.el
deleted file mode 100644
index d33750a3d2..0000000000
--- a/test/specs/languages/test-css.el
+++ /dev/null
@@ -1,19 +0,0 @@
-;;; test-css.el --- Flycheck Specs: CSS -*- lexical-binding: t; -*-
-;;; Code:
-(require 'flycheck-buttercup)
-(require 'test-helpers)
-
-(describe "Language CSS"
-  (flycheck-buttercup-def-checker-test css-csslint css nil
-    (flycheck-buttercup-should-syntax-check
-     "language/css/warning.css" 'css-mode
-     '(3 6 warning "Heading (h1) should not be qualified."
-         :id "Disallowqualifiedheadings" :checker css-csslint)))
-
-  (flycheck-buttercup-def-checker-test css-csslint css syntax-error
-    (flycheck-buttercup-should-syntax-check
-     "language/css/syntax-error.css" 'css-mode
-     '(4 14 error "Expected a `FUNCTION` or `IDENT` after colon at line 4, col 
14."
-         :id "ParsingErrors" :checker css-csslint))))
-
-;;; test-css.el ends here

Reply via email to