.eslintrc.json 834 字节
Newer Older
F
Fatih Acet 已提交
1
{
2 3
  "extends": ["airbnb-base", "prettier"],
  "plugins": ["import", "prettier"],
4 5 6 7 8 9 10
  "ignorePatterns": [
    "node_modules/",
    "src/webview/node_modules/",
    "src/webview/dist/",
    ".vscode-test/",
    "out"
  ],
11
  "rules": {
A
alpcanaydin 已提交
12
    "no-console": "off",
F
Fatih Acet 已提交
13 14 15 16
    "no-return-await": "off",
    "import/no-unresolved": [
      2,
      {
17
        "ignore": ["vscode", "vue", "v-tooltip"]
F
Fatih Acet 已提交
18 19
      }
    ],
20 21 22 23 24 25 26 27 28 29 30 31 32 33
    "prettier/prettier": ["error"],
    "no-underscore-dangle": "warn",
    "class-methods-use-this": "warn",
    "camelcase": "warn",
    "no-param-reassign": "warn",
    "prefer-destructuring": "warn",
    "no-useless-escape": "warn",
    "prefer-template": "warn",
    "no-plusplus": "warn",
    "no-shadow": "warn",
    "no-else-return": "warn",
    "prefer-const": "warn",
    "no-empty": "warn",
    "no-unused-vars": "warn"
34 35
  }
}