Skip to content

Commit

Permalink
setup eslint for js and vue
Browse files Browse the repository at this point in the history
  • Loading branch information
jinkang-0 committed May 17, 2024
1 parent 0a16398 commit 09ea588
Show file tree
Hide file tree
Showing 3 changed files with 1,010 additions and 0 deletions.
16 changes: 16 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import pluginVue from "eslint-plugin-vue";

export default [
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
...pluginVue.configs["flat/essential"],
{
ignores: [
"docs/.vuepress/.cache",
"docs/.vuepress/.temp",
"docs/.vuepress/dist"
]
}
];
Loading

0 comments on commit 09ea588

Please sign in to comment.