Files
Homer/eslint.config.js

24 lines
656 B
JavaScript
Raw Normal View History

2025-02-22 16:07:40 +01:00
import globals from "globals";
import pluginJs from "@eslint/js";
import pluginVue from "eslint-plugin-vue";
import eslintConfigPrettier from "@vue/eslint-config-prettier";
2024-10-16 21:29:18 +02:00
2025-02-22 16:07:40 +01:00
/** @type {import('eslint').Linter.Config[]} */
2024-10-16 21:29:18 +02:00
export default [
2025-02-22 16:07:40 +01:00
{ files: ["**/*.{js,mjs,cjs,vue}"] },
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
...pluginVue.configs["flat/recommended"],
2024-10-16 21:29:18 +02:00
eslintConfigPrettier,
{
rules: {
"vue/multi-word-component-names": "off",
"vue/require-default-prop": "off",
"vue/no-v-html": "off",
},
2025-02-22 16:07:40 +01:00
},
2024-10-16 21:29:18 +02:00
{
2025-03-01 09:25:49 +01:00
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
2025-02-22 16:07:40 +01:00
},
2024-10-16 21:29:18 +02:00
];