-
-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy path.eslintrc.js
More file actions
28 lines (28 loc) · 738 Bytes
/
Copy path.eslintrc.js
File metadata and controls
28 lines (28 loc) · 738 Bytes
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
module.exports = {
root: true,
env: {
node: true,
browser: true
},
extends: [
"plugin:vue/recommended",
"@vue/eslint-config-typescript"
],
rules: {
semi: ["error", "never"],
"no-console": "warn",
"no-debugger": "error",
quotes: ["error", "single"],
"vue/script-indent": "error",
"vue/component-definition-name-casing": ["error", "PascalCase"],
"vue/component-name-in-template-casing": ["error", "kebab-case"],
"vue/html-indent": ["error", 2],
"vue/script-indent": ["error", 2],
"vue/multi-word-component-names": "off",
"vue/no-v-text-v-html-on-component": "off",
"prefer-rest-params": "off",
},
parserOptions: {
parser: "@typescript-eslint/parser"
}
}