-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
29 lines (29 loc) · 1.15 KB
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"root": true,
"env": {
"browser": true,
"es2021": true
},
// Do not change extends order without understanding the consequences.
"extends": [
"eslint:recommended", // https://github.com/eslint/eslint/blob/main/conf/eslint-recommended.js
"plugin:vue/vue3-recommended", // https://eslint.vuejs.org/rules/
"plugin:@typescript-eslint/recommended", // https://www.npmjs.com/package/@typescript-eslint/eslint-plugin
"@nuxtjs/eslint-config-typescript", // https://www.npmjs.com/package/@nuxtjs/eslint-config-typescript
"prettier" // https://github.com/prettier/eslint-config-prettier
],
"overrides": [],
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["vue", "@typescript-eslint"],
"rules": {
"complexity": ["warn", 10], // Cyclomatic Complexity
"vue/multi-word-component-names": "off",
"vue/no-multiple-template-root": "off"
},
"ignorePatterns": ["node_modules", ".git", ".vscode", ".nuxt", ".output", ".nitro"]
}