parent
038be2ee09
commit
38acbb56a7
@ -1,19 +0,0 @@ |
|||||||
{ |
|
||||||
"root": true, |
|
||||||
"parser": "vue-eslint-parser", |
|
||||||
"parserOptions": { |
|
||||||
"ecmaVersion": 2020, |
|
||||||
"sourceType": "module" |
|
||||||
//"parser": "babel-eslint" |
|
||||||
}, |
|
||||||
"env": { |
|
||||||
"browser": true, |
|
||||||
"node": true, |
|
||||||
"es6": true |
|
||||||
}, |
|
||||||
"extends": [ |
|
||||||
"eslint:recommended", |
|
||||||
"plugin:vue/vue3-recommended", |
|
||||||
"prettier" |
|
||||||
] |
|
||||||
} |
|
||||||
@ -0,0 +1,18 @@ |
|||||||
|
import globals from "globals" |
||||||
|
import pluginJs from "@eslint/js" |
||||||
|
import pluginVue from "eslint-plugin-vue" |
||||||
|
import pluginPrettierRecommended from "eslint-plugin-prettier/recommended" |
||||||
|
|
||||||
|
export default [ |
||||||
|
{ |
||||||
|
files: ["**/*.{js,mjs,cjs,vue}"], |
||||||
|
}, |
||||||
|
{ |
||||||
|
languageOptions: { |
||||||
|
globals: globals.browser, |
||||||
|
}, |
||||||
|
}, |
||||||
|
pluginJs.configs.recommended, |
||||||
|
...pluginVue.configs["flat/essential"], |
||||||
|
pluginPrettierRecommended, |
||||||
|
] |
||||||
Loading…
Reference in new issue