2019-01-17 17:07:37 +00:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true,
|
|
|
|
browser: true
|
|
|
|
},
|
|
|
|
extends: [
|
|
|
|
"plugin:vue/recommended",
|
|
|
|
"@vue/typescript"
|
|
|
|
],
|
|
|
|
rules: {
|
2019-02-08 22:02:29 +00:00
|
|
|
semi: ["error", "never"],
|
2019-01-17 17:07:37 +00:00
|
|
|
"no-console": "warn",
|
|
|
|
"no-debugger": "error",
|
|
|
|
quotes: ["error", "single"],
|
|
|
|
"vue/script-indent": "error",
|
|
|
|
"vue/name-property-casing": ["error", "PascalCase"],
|
|
|
|
"vue/component-name-in-template-casing": ["error", "kebab-case"],
|
|
|
|
"indent": ["error", 2],
|
|
|
|
"vue/html-indent": ["error", 2],
|
|
|
|
"vue/script-indent": ["error", 2],
|
|
|
|
},
|
|
|
|
parserOptions: {
|
|
|
|
parser: "typescript-eslint-parser"
|
|
|
|
}
|
2019-02-08 12:09:13 +00:00
|
|
|
}
|