mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-11-04 20:35:51 +01:00
chore(lint): Eslint 9 update
This commit is contained in:
21
eslint.config.js
Normal file
21
eslint.config.js
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
import js from "@eslint/js";
|
||||
import pluginVue from 'eslint-plugin-vue'
|
||||
import eslintConfigPrettier from "eslint-config-prettier";
|
||||
|
||||
export default [
|
||||
js.configs.recommended,
|
||||
...pluginVue.configs['flat/recommended'],
|
||||
eslintConfigPrettier,
|
||||
{
|
||||
files: ['**/*.{vue,js,jsx,mjs,cjs}'],
|
||||
rules: {
|
||||
"vue/multi-word-component-names": "off",
|
||||
"vue/require-default-prop": "off",
|
||||
"vue/no-v-html": "off",
|
||||
},
|
||||
},
|
||||
{
|
||||
ignores: ["**/dist/"],
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user