配置文件

您可以将 ESLint 项目配置放在配置文件中。您可以包含内置规则、您希望它们如何执行、具有自定义规则的插件、可共享配置、您希望规则应用到哪些文件等等。

配置文件的格式

ESLint 支持多种格式的配置文件:

  • JavaScript - 使用 .eslintrc.js 并导出包含您的配置的对象。
  • JavaScript (ESM) - 在 package.json 中指定 "type":"module" 的 JavaScript 包中运行 ESLint 时使用 .eslintrc.cjs。请注意,ESLint 目前不支持 ESM 配置。
  • YAML - 使用 .eslintrc.yaml.eslintrc.yml 定义配置结构。
  • JSON - 使用 .eslintrc.json 定义配置结构。ESLint 的 JSON 文件也允许 JavaScript 样式的注释。
  • package.json - 在您的 package.json 文件中创建一个 eslintConfig 属性并在那里定义您的配置。

如果同一个目录下有多个配置文件,ESLint 只使用一个。优先顺序如下:

  1. .eslintrc.js
  2. .eslintrc.cjs
  3. .eslintrc.yaml
  4. .eslintrc.yml
  5. .eslintrc.json
  6. package.json

使用配置文件

有两种使用配置文件的方法。

G80fZLvtbE+zANfyMfoGplT1tiBL5WvX0y5jjTAJB+ytRhV0l0/ZcaEmN9ya5Vgt5b7aomDEgPZ0Lvt/cxqv2vO6F9hSa6ow81EUkW2M8gXDaCQ2+TdABE0axFZeZddBGEx4ecHdYPf4VZ0RcSa5V1jqPIg9aFQgsVIuVBvWjIFvWckHwzbe3mP18NcmkW/AtE2JD3aL5ULCpi7kaeSK4UdqLOhpq9WqUMYX1+RlUvXGyt46z9HoGvpqiyRKdLi2hVBK1m+EccGpDMI1BiKZqWjklbIZNqU6qMEYj6KUl/K7I+TyBc5JLIxF6HE6twC8J2bXH6GZnkXdFnZ78T/k8vZASv8uItlD0gk4iuzXch2JqAd8xPtcEqWTTz4JkwNwFo7gPMOEdPTieYGZoiZNu16Y+saESB2ahBiPXV7ibluzdKyUazKa9TqFQva5+lRt1b9BIcDgv5KTMJp1KBTwPW5ATRU+FUhrR6mp9nQNpyJvYjE+1IqdoXPwXlAqJJwQExgWA76r94iCPOhzploQZG3w8CQkS1ZO8XlT5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JvOw0np6XmkiX9UDQ43nzK9F5Qg69AZGXXyvPIh+j40v+JFfYa3QM=

{
    "root": true,
    "extends": [
        "eslint:recommended",
        "plugin:@typescript-eslint/recommended"
    ],
    "parser": "@typescript-eslint/parser",
    "parserOptions": { "project": ["./tsconfig.json"] },
    "plugins": [
        "@typescript-eslint"
    ],
    "rules": {
        "@typescript-eslint/strict-boolean-expressions": [
            2,
            {
                "allowString" : false,
                "allowNumber" : false
            }
        ]
    },
    "ignorePatterns": ["src/**/*.test.ts", "src/frontend/generated/*"]
}

配置文件中的注释

QUTHV1nAuh/kBRHNskUDcD9FGpVEqx+4cXfcjoTCs0ksOt0Y5pZcNMaKp+TkoYMlcRO2mBMkxQZUXLa3ptr1GYWpGApedJQ/7X9UMgHK5EN+tWGj3+gV/iNtZGEF6UR/xhIcF3rTeLTxO0E9YFsFidov7IezjTtykuT/15sa25xQbPazWkmPYl7brqnYhbZ8yOrXCVZ9wqcsCRgN0gP8SQ2pHsDN9S+2p1gJpEi0N4cAsJx+0buQ7aUQT5330/7acmV2T88avKYcpzz8aCqRHhPuiOegnoZqmmdLl0jnymC+ZeoAstgvFZxIT89nF61nRsHzWmRP9ZCazGIDd5z0pddeSBhtOnEsyXMFqhGlZjlND3+HY4yefF6AG+ACPbq78zPQwf6KvcqkijKjBA810w==

CwGuYamZv/s0+NyQsEmuwq4dhoROcXVjWV29Vl4nyw9RE/dcv8uTIj3iostCmu9m

{
    "env": {
        "browser": true
    },
    "rules": {
        // Override our default settings just for this directory
        "eqeqeq": "warn",
        "strict": "off"
    }
}

e96WcAtMG+WisbUff4+KuYhXbWnG/tO5WXWndRk2h/g=

env:
    browser: true
rules:
    # Override default settings
    eqeqeq: warn
    strict: off

添加共享设置

h71Lb7ccD0KhhxpBilrwN3Kju09xSM3vMy3ErLpJkGUHG7FYX8yDHq0HQ6jqH8/MfWhVnqi0VO7Ky/oH82Yl0+zfr/yL8H9YOYvnlPRUkcQjEO6M/RaNSjfC0XjLpOWkqZ9284066+8yHUXb90Farnc10kqXO5DJTiz1eA1KEnL1d5v2HkVfBnRxdGl/7WVyQTw1/XIllwKf7LtOGVCHcQKcNrDQUtWj/L60nPqoetbCNcmAGjReEpCI/GpBEwvFm9KE3274uM6jhv8k6bpxA7cJdcrdEFSGro2rLixV+nguv2t4QAZj1nptMm/GmEZr2pvbpbFAIXN9jrjZ0v6b9efZ2XMYB4iYX3Ps0ZMIdoxeZf/yEgJa18nh+p9DivDGNPNnZjqDl57bJ0hS0PuMrj5eLyutPFCdE7p6LciRHD+vJHkghMFo0i72pNla6kAnwrqLusjs3jhEa5BEGMmi5j6f3JBNsc+5otoo9/5ujlzVwn0lOMADp1I0GCOKaPjP

jt2n4sxTTKhSFPlPNYz8hQ==

{
    "settings": {
        "sharedData": "Hello"
    }
}

6ahD2zkxGAmi8Uj+8N1YMg==

---
  settings:
    sharedData: "Hello"

级联和层次结构

QXAtWVGvampqn9oIiPBztmlmgiWG3vBS7CkqR8SE16ly5cav/OnQizwX/NNvNUd5YElGNr2ExdbeIncynRNu/yfsvovc1MSeq2Py01atKHAd5ryFmSohEHG2dODuCP2Nc0vTefgT7urNQlLHjI53ODK9/YhJUqggV7g2kKhXSkO6FhY2q1EsCExxvB4l9VLeW/3bIiEHfGdCYeFMc5kpCQ==

your-project
├── .eslintrc.json
├── lib
│ └── source.js
└─┬ tests
  ├── .eslintrc.json
  └── test.js

uog0ccgD0yMwbeejUm8AP2DPPora52q2O9JbBfAMg2d/mKInUHY0OivpOSIRzxdDfWcBrdjzwFRu8HuBXFJeZJOMmAHyy3Ft92T4n9h+uyY45tz4RrPd71fzdQaAzuEu7ucAbmdS/2mlLV13m4GajOA+ZCuMTzXUvEl370QnfvnZJBfoJm76V/Tuhi9fNZ4fTRrgo1wnyxlqx2XhCgJ5epCIn/LHCL3FTTARitaO9iCGjclzWTyKQGCf+xbehsxiHOyhAKMh1GwiE8MQZsPUmJvzojc/g9wrFpAzDUPKRQgIKLLMWV2H0upVfaVDFs4DgmufmQy/PucVN6kpoRjPCIFRQYVFDfdrl3FBHRM0a4xj/ETAtul5HC7tyOPYW2S8H0YNyVqRJEwbaOibMxKI9/4mThD1A+HasrmM15gHzcSwqMYNHYYfGUK0DkJSpdJUsuHNYHxmlGXDbgCqRzvkPfs4WTKHiBcBiWir3YFY7ZA=

CX0TAa6C6TRavstMbeRi7yCuT5Fcu1EJVltMG5OwvYbm0ThwQY7tRJTXk6HOhzNqoYZXwGMB66ntQKIGqMe64/8deZZwyYYcdZTTEre6ulq0fjNJrVHs6yZYHt/w3qsKycru6FN6jTnJbfcWOfRXgAG3KY2kGi834OolWggT0RLr44DhwFwTCeKoxj+cj0tfv2y6JNm0cmmz+YA8GSjfxwZeGMt6CnBjDfP5xVFZv9l7bxyIDt+a19iiVgDJRZmTniEyD1fUcjhgFSYjF/7CuDvX5JwACdtQw3t6Oz868ppQukH6TINJfcgfRQIghU5Lcu167tboJautAXXek0LgUynxbPuxpD9DO92+Cc79a5Q=

your-project
├── package.json
├── lib
│ └── source.js
└─┬ tests
  ├── .eslintrc.json
  └── test.js

3C2tMYK+tyiJ9HsfMjYYJSEZJ04Ui8eHlwPhEjOxedx1ft/33YkIaOVuWV9VxgnYPiWmYTB0LkCarDb8LLYMEoy4g9I/KO2a5ESML5BL/qc2nTXDmVtiQ9rO0FCBZBiAT6d1M83dBLEliT7WAiePH6A7vLi3uP1rp9Fou3MHi83H/68NoT01jfmmequZg0AZIBuP4tBC0Zvo7FVtpqbKsmKpFdImyYSzQX1pR4hd9B4=

FdWRHSA+JqbZ0J3+JiUFRnPqtAxqgtDEebpGth40Zb831Px6n7Wy49C0EaLETToLOl8fFnPv5hSYyFSZnhvVhO8ziAFpSDDbLK7pyj5CRg+LO3oCWMo9Yw8wJ4QAyLro2ARC/nF/EtYkQVunCuDfF4wSmSiu9g/xrFY7fSZ3bL+jvyi5E24tanL0qt+xNA/DbKoocmklzOJPBGrLcjIt6L166SVMwC1q1THnSS3AQ+Tp27za5Q4fxr1CR+KOrZH7efaZvlqjRJlL0L852ZTvr5aSCHzig2hvv0SZy85P4DujU2zm+VjzT+LvDAmWXiO/+WXflpjbLAT6csSLxPHIZS015bBbkXy855Cg7BIh66HiZIJSF+URoR1s/7asXymg8x6989l7iDtpnoFMas3F81SJ9BqluG/ammQfxOBa9TMxSJp6UD6lmYgjBXG/S1hO1Uah0VuUH19dWAdGFP7GD/EaegsPvYsSfJCJ543fzBOSx8/5vUMppm52wUSr9A6oUZ8oQGMP32SRly5/qXYhOJnsrEYe5MttOdksJYXEVmIhdozcaQVg2gcCRB8rLJU3+fQ/UGHGgBSTIamLUVuYfxbLYlxU3Tjb0aGqoi6pCuHjSUQaTx1PjSlO2Rf88xwBFKV8e3qgBcnnbOZKXNVdNKlOKhMEub4b9n7n8ucuvqKHB9jzfR2sft5YP+YD7IyZdK8f/J2cFArMEGS6SHZW+s5exNAbATffFv33FydPOhYSvz48BHATxpuxDiFTX+Oa

{
    "root": true
}

6ahD2zkxGAmi8Uj+8N1YMg==

---
  root: true

kUlHvVhpvQ1Bgypq7hSrXziqroa179fwAGGDYlawhaKjy0/kUuajgvR5oCmMwhg0lA9nhnQFOmAzPov0N9hqiO9I9LHQrFZkCBDv35MnxjrJukawJWRfXjzkr1MXsF4e4ny9PsAxRCKuQ1mJIHIFkYgquoWUO5SnutZHgZWWLwKKe5KEfgJGMP72B/hG6mV7ZgwAc2XYanoJOfDPqMm6yAP684tyGi2ejEOAvZ/zcS5QcCj4A77kIOzarq3SEHlJWGbAsmyxfsv/4Uixd79vpIze/BP4DB1dTZ+Y3Lavkl5m51GBslAFL84pI+Sqxea0gaYBHlHILACQN3FpAurtMOBezKFk102qi4gChnUzYzQmIzOkSGfocu7GgKlisc4SZVwxw1nRUoPxC0zQHnTcyJTMdN9bw+Fj92AEWNpRYaDC873AQUcvQ50JlqrO6F4w3p3m7kDuL2nXgl5oYCVSaQ==

home
└── user
    └── projectA
        ├── .eslintrc.json  <- Not used
        └── lib
            ├── .eslintrc.json  <- { "root": true }
            └── main.js

4s0uoFo9+bsPisNmXbU1Md0wCj8IlxQ6gDO9z9qMfceJkC2/V0IygghutojagvF/n3ZaWZTZM0Uw5mt6B6QGiJuMkMB/tGZRivSwkwPp+5o=

  1. 内联配置
    1. /*eslint-disable*//*eslint-enable*/
    2. /*global*/
    3. /*eslint*/
    4. /*eslint-env*/
  2. 命令行选项(或 CLIEngine 等效项):
    1. --global
    2. --rule
    3. --env
    4. -c--config
  3. 项目级配置:
    1. 与检查的文件位于同一目录中的 .eslintrc.*package.json 文件
    2. 继续在祖先目录中搜索 .eslintrc.*package.json 文件,直到并包括根目录,或者直到找到带有 "root": true 的配置。

LDneNvWUGWSz5Jk9H44/2YHbUJyWnlwknnvuXZGZs114xo84dAJkwitE8MDaIB6CMldDEC2zo4XynCmJo/tRYAhGOVk8FkyLQX4Ae9gMlWO819U9vtaKS+3rwRdzlSffIn+W0spY4L/NlBN6CAICNJKGjIWWriOCBK6XhiBI9n64Bhs0/TNoE7aITsvVxvdBHRtxb8qRK0sPW+lUo7nmlAuZf5xOA31aNhhfLpPkBcp0uXEPEssiFCGF/hsx/2aY1kQuY6rCE7tmXwXzepjF+Q5ZRQXG8W5fQD5Sz1wzIxxJ7wyKCrebtp7UKD4YIdxhktG/D1S/ITeXUgzIx44f4JIKjIRQ/aNyX2D7Euq+vYAA/iLhIRLFD48DweAeq7rcRf/fiMSLy/RSUuG1AXoGis7P9zXNBR7srxtQfuknHcAdWRB0oGFTy1WvDbYrwaa5xeUPwIstmsQeHZNbWYT9skuflokZXuHzSmhawhNkzbbUiAKSbYGZJgi2Z/cXqFRO

扩展配置文件

9o2qe8lJBVl4/cBzge7acmZeY8JdrGHm40NKT+F1SZBekXXQIIX0jmgfD5R5SnU7qZqEe9cYBuojk44DzR4Z6R158vS1k/RvHg3XCZdeUezqfxFEGjtcIPdfMuy/skySmoVqapL3rVpvBJbGN9JyYKPg8H9JHoprNkXvmAxs9WwLvJCF4a9RPBwZ8ThuNHu+bX7u21XZ2d+Sdm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dkwrnRs0Dp3XSAIvFHsGH4Uc4cSdVq0UNo/ECd9a7+3G53EnGnYhjEfmPPh2NFx9A7z6df6HftvyuM/irMNcEZN+uCXMQtzya4CAJmknWhUa3Fu3C194QPCLhW9qu9aaZtNDzDMlrRcMIW2WgTlgB51Inf9IamJGRAFcnS5Gg==

5cX7Euq3BRIVdr95Y5QpCGQllIyJD898S2mEGMEb2od/AQCqFJGU+kcVqZlG/4UY

extends: standard
rules:
  comma-dangle:
    - error
    - always
  no-empty: warn

使用 eslint:recommended

eXqZXI1x21Die0HIw6Pz/gbRcZYqoC1wPHlldLKS53QDK9H9zvYV/MRoQB8+XMO/gGCRj0ghOEcAe/x+Lg6x9uegToDqHWkTPm8e0DNlkdP3M6qruuhiimXiogQAyNelT+YEjWAC6uB1HcH+NO9WcBLrTRETdInaSfmtzB/q0SHVNGJoqCJH9f//8hr9Mz+l+2OorsDu99pXFQj+tA0fFK9IFx23wgWomZpz68isH7Ltv3KhSfymIhCOMqg+6YkYtGY+Wa37KlOl7FHIVECjhOcDvd6sS7lp3cbrDpDlzp5VeckR9fqTUqEVjszc+li3JxbFbV3o1DftyahChYMhDQ==

DnPVazSXuLeq6xZErtBb8Arzeto6YguUm8qs1CYcRjuTt/1ZwTYVQoZAgRSGfJBbgHECEqmbuWkRHELPtx4p7nphqh8Z5WAQMquUIo3EIS2jPyP60OWbMMU1Y5i4Rzlb

Pbl0XWvUoBmao0ynZ4OHFGWn5DZUpbJ9xFGLg0q1/lLUTg+lcOCqXwmDzPzFC/70

module.exports = {
    "extends": "eslint:recommended",
    "rules": {
        // enable additional rules
        "indent": ["error", 4],
        "linebreak-style": ["error", "unix"],
        "quotes": ["error", "double"],
        "semi": ["error", "always"],

        // override configuration set by extending "eslint:recommended"
        "no-empty": "warn",
        "no-cond-assign": ["error", "always"],

        // disable rules from base configurations
         "for-direction": "off",
    }
}

使用插件中的配置

sJQxDcu6mSD45ns/NABoKMPEctDwcwt5ZdH2Q/qG2sZRG3E9PSus9hcSrKGA5J5go6DG40t93jFbq4QAm2cMrpcU+TDQmZi/zy/lvzffxVxxkek0gCp9pQgE/PJfRhva7nF0xQ14hyphqO2DNHdbtCJayf6NJQ8hxrD3BolqX3XppcKATcnaLtvzuy64vmDiYOXnnZRUDNqQOArOAL10zwEqNiPXImQJzDClrtxQ45RD6ZD6gg7xOf/u8jWcYoRRhPXk1kN/bx3ZQnCrNwvVG9ZHMxfpIIYa7aIdm8ZfVRlRMFXz+qj1gakO1LtqoWJLCzH5Wws40DXlWmlls4MBs2J0vlpxj7LaqvZWZ2FRGGtIf9HoEN44P57+RvjvHYlPfRpOKKOcnSSxN4Mvs3RzAoECytuJ1egx2uuN9tf61J+lay6w9e9ViDFfSn3tGm5P

XgGCVXYo4U5mhica7BBWrxQUEFdIPKFs8xF2203pITBFX3lwUudoShr3RT6IOuBP22Se/gWOY+WxlyRIMFYIt2bA3WOp0xN2m3OuFSc12wYIALD8sFH40dto9tuNhnSGBK4F4Yo8m3+FifcKSJlcETya/LEKC0zXJJWl6htjp817yTCzKx4K5onQthIgk1jh

NJpIXBSOdrv+NU0Oy621UFrTt5k2JmwqPo/kRMtli9MvF8DW2JS5WSEdpfyiSBjR

    hZkqdH7Cx9rCMlTaMo6XrMpZ1CurDG+IZnwxFxX2I2GL8cfaY3qJeXYM2lv3e/RYab67ANNnMkMrJYPek3pq1ZLQz7MiPH2JSWHj4pr+rZg+lAVFQpmbrO4Wb0w8pfbhg82lhfXm2sfYDbZVFU8lvhiO17ZJhtA8HLApUKU6sAidFflRVAdKfxF92/qPU5UjUbIri05HxyfP7LS/DOx1P9HBYagITlCjtuxBih7GIZi2c44mZD3SpLn0ODm2XGjcxRf2ol8KMWLi5dNJlViCJs24oJqDdQ6gkP6sGvuTEnQx+X9CF9C5jzFXM8ertGrD

VLq7KwUrSiXkyGmj3ShSY2HhjbkM37xUrOwu5jN/q7CdFPQ52qAXBs5hgu+3EWSz

{
    "plugins": [
        "react"
    ],
    "extends": [
        "eslint:recommended",
        "plugin:react/recommended"
    ],
    "rules": {
       "react/no-set-state": "off"
    }
}

使用配置文件

NJpIXBSOdrv+NU0Oy621UFrTt5k2JmwqPo/kRMtli9NeyLHVoTBetl94cvCLwiUPDAvmepl0rMf+RPviDm6QucaoRac1QDCKZJ0Bp+ziBZ2jBiSttbbBI837PZC6wsOnK0OH7udO59UZh0l65eGIrZTepXJcno7Aceyyj34ZYwK8GS/7LN2y1R2gXEB5pH5M2XvY+Rx/d9OQ4Vl0oFexoO8QN70xTgKsjOK1dHVIwMOnm09Ga6RUk4DPmR1lGljDDNgigRzkXr6HHYPUhRYMwD+8Smt0pWAg2yKkMiMGULU=

VLq7KwUrSiXkyGmj3ShSY2HhjbkM37xUrOwu5jN/q7CdFPQ52qAXBs5hgu+3EWSz

{
    "extends": [
        "./node_modules/coding-standard/eslintDefaults.js",
        "./node_modules/coding-standard/.eslintrc-es6",
        "./node_modules/coding-standard/.eslintrc-jsx"
    ],
    "rules": {
        "eqeqeq": "warn"
    }
}

使用 "eslint:all"

NJpIXBSOdrv+NU0Oy621UFrTt5k2JmwqPo/kRMtli9Nc45qylhu0Z93qeHb8ocWV6Hjmc9EYsBzSQ+I0XHgt7PMSnvkdoIFU0xEK0girtOcVFkLKRjR1gZv6nFwmEeEijgMa0tGltMOvMQW/Wejhm0vyoLu7g0y8xwGlH5JO26UDG3RrX9t0roMjOlCDarJApK+OUiwCjgkZXy5cIQV9ditFAu2AlpMgf3URE6YJAe/VXPf+l2uhczoDkDK0LRdXvcxzHNXsbt3aCA2E3Zayhw==

nkY+r6YkqStM6gml6lItNkpcQG+r8VqEi7q0ssCoYWl3+BBcNnL3xcdCxsnxvQlF+QpBAtaS3v0JjStkAyrt7B1Zbc/wrY0WldYZjaaGw7vEk/lmcQ0jnxNkW5aR8flcS2U0koxzQQtixqIybOCL2xRWfsKCtcM32Wb7Z2B7lre250A158lCBpgxEd4avIPocKoHlgyc6IZbR+kuLgDpFNpd1NyVAhani5VyOitIyFI=

KUuu0v/I0wG66FeAO8pCJQ9wqOH5fR9dZPeyEtb67rmN2xLkhvZ9Bl724mcshLZJafHcz9p5Ds8v1HjpuKwckTlL5Gr1y8ONUBaqSW2cEmX1JDLRqZoi1EMfjwbUKedr7dJljq9BeEyID4OvuuFElk3DMozYwjmnY30/G/niEtLf9qFckyzug+src1ozQFsaMUGGhq17fGBH9XfDmSktjpbNIo9jXa2QNGY/Xdih7pjBTD1iOyr+R15n/bVj+33BQGH+f30k39ix5bsvhCLc/SvuShVd+tSatHQnfycgeZo4Lm2E92056gAGmLHe5oAuToPyqHA4N98HpwHqvSfD2vfurGvqTvef4apnb1Tyfbc8l13/a6wS7WBZWv8p0k/DBI+R01FLCkjYQzf6WXQpcBnrYVDwgUa8Amdx8Ei5d+jdXnrBIAgmzKLkkSBK2GGDh5nypM4ae87hc4NhmErYczvzirwpYjFpA2w5ZABeg+g=

6p0EPBWALrTZqGjK/08FaO9WE60CwkM4zc7J/OaBBmUCraNBxIWUJUqtz5K4rTN9IQt+AwJ2mR6cTX9GjiJHjqXxWLcLPPvK26aBR3dXX0T3f/ODebmCJKT8Zn8zhvpOBMEG4PSPMQw8vSKNZa1M/T9RKSU4Fs+7qrG7pWNyoHxE1VuePH+xhFXmEH1Yddm1PcVMSeKveYSmuMRDj3mL+l9Ny1pU7BU0ZGkvJy0esJLY0P+YfMgVzi4oEZgapNOQMn69dsRBeIgf3FWqVqlyz5v6/6s6CREwjywe06MjY/blQZrIGJrWlmu1CrfS0aJKLMa+0C+971qWHmkSZPjENAjOgcwDHn5F7yYI9VzSh0/EfKKq0uT75L1W+Pgbo2Zu6xsYLC2insh6swdNSQLemI+TKOaTXEw7xZRnOcup0jM=

Pbl0XWvUoBmao0ynZ4OHFGWn5DZUpbJ9xFGLg0q1/lLUTg+lcOCqXwmDzPzFC/70

module.exports = {
    "extends": "eslint:all",
    "rules": {
        // override default options
        "comma-dangle": ["error", "always"],
        "indent": ["error", 2],
        "no-cond-assign": ["error", "always"],

        // disable now, but enable in the future
        "one-var": "off", // ["error", "never"]

        // disable
        "init-declarations": "off",
        "no-console": "off",
        "no-inline-comments": "off",
    }
}

基于通配符模式的配置

mNO9AK6IvD4l0vdJkJB2H77KDHnQsVlsAYxln/VcnaxE9yx01ZuJVfaTOLgZWpCoCWIWbM4v/+Wz7q6e8wo+2wJ9BhVqo2314nQYm2lN5fPI4/Vo3DW/P3YwBMnSADH02mdOL/XGQKjuaaw3TKYFS/wECegwrjA3V2/Ox2WJUmNxeaIenDjcXP/yIqnVclCJT5QrSaSn1WKIlb/UG3DYrQpb7DY5IMwPqow8cFPke4KOQXXFgA3hEx9qsGVu6YsXSqwSNqpt8J8CDTllaf9Pv4tvQMroXbmoKou9NuaU07ndZQNPI4fRhpREO7gUwroNb3udXanAjnasBcN0PeGhovaVdsJ5aBu3Gl3YGlQHn0xm61fGCso2E+FZuWAbeE7ZFpA8fiL8Gxt1I5MfqULlT8lcK590GNasRUco8do6eLD3+Ni9S7rl1g/qMLJ1PuVN

RFC9l194wRAt0g3AETV1IbQeVmMWez0uAfX/kvbGeNAuMVHU9er6NyC1P1fYnlBAmn8nf+CXAVzNJTuXBmxw5zPIri7WEZRXVVaYtA6tCSKXDnS9mbxt6DEwnJJMismJqWrNW7Vn32CAyIGjcfh83g==

覆盖如何工作?

pd8VlOYnjEVtTJT+16Qws0rJqoe+pNSX8KYNGLfUnzRkqpU3KHTTeqIh+Nrcckdq939EfF6gG8DgVcw9JHtDy5kGSKN/obtK+SK8r5ZxdiNh2pbnn2eEvJJoe0lEBjCPb8LoQV0WANv8ZeKuHX1ryXkx/YyKRsuISGpkT304k6FPhdCGxK1ZY8u+GNj8ye+mceEp7zm0mXYgWX0azm6h6A==

meHhs6Z5FDF1seVBC36BdRCaWoMp99FroYKUBwuQBFRFVLVZsdcLsA1MiRGmkjvO

{
  "rules": {
    "quotes": ["error", "double"]
  },

  "overrides": [
    {
      "files": ["bin/*.js", "lib/*.js"],
      "excludedFiles": "*.test.js",
      "rules": {
        "quotes": ["error",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的通配符模式

project-root
├── app
│   ├── lib
│   │   ├── foo.js
│   │   ├── fooSpec.js
│   ├── components
│   │   ├── bar.js
│   │   ├── barSpec.js
│   ├── .eslintrc.json
├── server
│   ├── server.js
│   ├── serverSpec.js
├── .eslintrc.json

DleqH/VzB//FWQUXoUIpBUhJlWME8nEQskYObEEP5Y1qp04k+8+syjXc3vJ8hUEmTN8Se9e8wk4MuPK6yZFxh+xViNN0Sv0lL4Hm6JMOKZxQ/OObbE1yGHF1qEcvDyYePH/ECRq9ObObPa4/Cbb2tQHQz7O4K5vQiJjTWM3dbt3jxbqQzLhaQzTwAt+XfuDKyaNpSqZYtssZE9O0DRI7OfVtNDXUAfTdEBZ9zu4PModSwo8c0CncI8lWAR/s/TAaoyjyeYOKtR+U/hoQNxLUawA/Cu5Do9865O6CzO6sk7AljKQfqBr5Y3AGzs7oevdXFuHHxLoCd8+87FtUbApmPGR1ZS4A2jZwbUe9PtgmZhXEQYtquh37J11CpdH0OGpFTOL8bm08g4rGDXIhPBN8aBXTyTgV1buPBTysFbUg1uvtcxW+w3HdStIaxZmTgP6qhZwSaQb5X8urfDh//3Lv9cSU6/4aRH+ZO44BPsgdTrtyvtCoWuCLGQOut2923cSYmkAJVHZdcBty7yvZzCW0sKK0MVjATZ9A8rsEtdNtgDTcoim+KwGnG+pGljyCXFGoPOgR5zGh3tKqoTAn/JpqH1nyuoSN6+ZQ7tO1kchaMpxRw0CtK6u/r6kXIVzFg86z9IrfBPfeEOnuBrEjy2np3fUI3Qu7QYC5UNyCDGzbArs=

CQhtnzWfOo5MQTfl4WXXgoDDX5wjDsdj7R5n1gPVSo4qoevC1zB+y9rKFFa93kGZa3wq3H5hi0QvzddI9Nlk4SMtE77bQFftWP16hwShs0v3bsiAYuKmPBgrRq8NF5cef5VB2eL6kR0tsie6Z/jeo/sdodYk5PWmcbIdTQROqB5KfrBOomumaFzA/aPQkfmBdE5HQUOdfK6L1EXA+UE4o7b8JFZaWS7DKndhnCI8aJCFf3MfK2AE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