]> git.proxmox.com Git - pve-eslint.git/blobdiff - eslint/lib/config/default-config.js
import 8.41.0 source
[pve-eslint.git] / eslint / lib / config / default-config.js
index c48551a4f2a07b6d2416ecb5287a97de5cbd473e..8a6ff820057de81dcde5b332a952a52389b2d28d 100644 (file)
@@ -19,9 +19,6 @@ exports.defaultConfig = [
     {
         plugins: {
             "@": {
-                parsers: {
-                    espree: require("espree")
-                },
 
                 /*
                  * Because we try to delay loading rules until absolutely
@@ -43,7 +40,7 @@ exports.defaultConfig = [
         languageOptions: {
             sourceType: "module",
             ecmaVersion: "latest",
-            parser: "@/espree",
+            parser: require("espree"),
             parserOptions: {}
         }
     },
@@ -51,8 +48,8 @@ exports.defaultConfig = [
     // default ignores are listed here
     {
         ignores: [
-            "**/node_modules/**",
-            ".git/**"
+            "**/node_modules/",
+            ".git/"
         ]
     },