Lutz Roeder пре 10 месеци
родитељ
комит
ed63e635a3
3 измењених фајлова са 2 додато и 6 уклоњено
  1. 1 5
      .vscode/settings.json
  2. 0 0
      eslint.config.js
  3. 1 1
      package.js

+ 1 - 5
.vscode/settings.json

@@ -8,9 +8,5 @@
         "dist": true,
         "node_modules": true,
         "third_party": true
-    },
-    "eslint.useFlatConfig": true,
-    "eslint.options": {
-        "overrideConfigFile": "publish/eslint.config.js"
-    },
+    }
 }

+ 0 - 0
publish/eslint.config.js → eslint.config.js


+ 1 - 1
package.js

@@ -513,7 +513,7 @@ const publish = async (target) => {
 const lint = async () => {
     await install();
     writeLine('eslint');
-    await exec('npx eslint --config publish/eslint.config.js *.*js source/*.*js test/*.*js publish/*.*js tools/*.js --cache --cache-location ./dist/lint/.eslintcache');
+    await exec('npx eslint *.*js source/*.*js test/*.*js publish/*.*js tools/*.js --cache --cache-location ./dist/lint/.eslintcache');
     writeLine('ruff');
     await exec('python -m ruff check . --quiet');
 };