Run eslint on .vue files
parent
b7d4d01ff5
commit
8c30834ccc
@ -0,0 +1,21 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
|
||||||
|
"extends": "plugin:vue/recommended",
|
||||||
|
|
||||||
|
"parserOptions": {
|
||||||
|
|
||||||
|
// plugin:vue/recommended set's this to "module" for some reason...
|
||||||
|
"sourceType": "script"
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
"rules": {
|
||||||
|
|
||||||
|
"vue/html-indent": [ "error", 4 ],
|
||||||
|
"vue/singleline-html-element-content-newline": 0,
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
Loading…
Reference in New Issue