Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maint/35 eslint 9 migration #424

Merged
merged 9 commits into from
Oct 18, 2024
4 changes: 0 additions & 4 deletions refarch-frontend/.eslintignore

This file was deleted.

32 changes: 0 additions & 32 deletions refarch-frontend/.eslintrc.cjs

This file was deleted.

26 changes: 26 additions & 0 deletions refarch-frontend/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import js from "@eslint/js";
import vuePrettierEslintConfigSkipFormatting from "@vue/eslint-config-prettier/skip-formatting";
import vueTsEslintConfig from "@vue/eslint-config-typescript";
import vueEslintConfig from "eslint-plugin-vue";

export default [
js.configs.recommended,
...vueEslintConfig.configs["flat/recommended"],
...vueTsEslintConfig({
extends: ["strict", "stylistic"],
}),
vuePrettierEslintConfigSkipFormatting,
{
ignores: ["dist", "target", "node_modules", "env.d.ts"],
},
{
rules: {
"no-console": ["error", { allow: ["debug"] }],
"vue/component-name-in-template-casing": [
"error",
"kebab-case",
{ registeredComponentsOnly: false },
],
},
},
];
Loading