]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Test] Fix Stylelint and npm warnings 4453/head
authormoisseev <moiseev@mezonplus.ru>
Wed, 5 Apr 2023 15:21:18 +0000 (18:21 +0300)
committermoisseev <moiseev@mezonplus.ru>
Wed, 5 Apr 2023 15:37:15 +0000 (18:37 +0300)
.drone.yml
.stylelintrc.json
package.json

index 64256d63583fb3293a67e798b53901852deb848a..e28c261f9f33d491ddde1f77c349da416fe670de 100644 (file)
@@ -231,7 +231,7 @@ steps:
       event: [push, tag]
 
   - name: eslint
-    image: node:17-alpine
+    image: node:18-alpine
     pull: if-not-exists
     failure: ignore
     commands:
index 9e810e112261c80e8d6bfe1f90eaada5ad282153..040ffaa9e65dc0229fe7e07f2419943ccf9f3ee6 100644 (file)
@@ -4,15 +4,11 @@
         {
             "files": ["**/*.html"],
             "customSyntax": "postcss-html"
-        },
-        {
-            "files": ["**/*.js"],
-            "customSyntax": "@stylelint/postcss-css-in-js"
         }
     ],
     "ignoreFiles": [
         "**/*.min.css",
-        "**/*.min.js",
+        "**/*.js",
         "interface/css/d3evolution.css",
         "interface/css/nprogress.css",
         "interface/css/prism.css"
@@ -22,7 +18,7 @@
         "at-rule-empty-line-before": null,
         "color-hex-length": null,
         "comment-empty-line-before": null,
-        "indentation": 4,
+        "media-feature-range-notation": "prefix",
         "number-leading-zero": null,
         "property-no-vendor-prefix": null,
         "rule-empty-line-before": null,
index a406f3099360ba7e7626117c3273b0d740e2d6f2..51860e1485c471dbd9a847b235bb2a7be88969fd 100644 (file)
@@ -3,8 +3,7 @@
         "eslint": "*",
         "stylelint": ">=13.6.0",
         "stylelint-config-standard": "*",
-        "postcss-html": "*",
-        "@stylelint/postcss-css-in-js": "*"
+        "postcss-html": "*"
     },
     "eslintIgnore": [
         "*.min.js",