Migrate to forgejo
This commit is contained in:
commit
af654ff353
50 changed files with 8357 additions and 0 deletions
27
eslint.config.js
Normal file
27
eslint.config.js
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import pluginVue from "eslint-plugin-vue";
|
||||
import {
|
||||
defineConfigWithVueTs,
|
||||
vueTsConfigs,
|
||||
} from "@vue/eslint-config-typescript";
|
||||
import oxlint from "eslint-plugin-oxlint";
|
||||
import skipFormatting from "@vue/eslint-config-prettier/skip-formatting";
|
||||
|
||||
export default [
|
||||
{
|
||||
name: "app/files-to-lint",
|
||||
files: ["**/*.{ts,mts,tsx,vue}"],
|
||||
},
|
||||
|
||||
{
|
||||
name: "app/files-to-ignore",
|
||||
ignores: ["**/dist/**", "**/dist-ssr/**", "**/coverage/**"],
|
||||
},
|
||||
|
||||
...defineConfigWithVueTs(
|
||||
pluginVue.configs["flat/essential"],
|
||||
vueTsConfigs.recommended,
|
||||
),
|
||||
|
||||
...oxlint.configs["flat/recommended"],
|
||||
skipFormatting,
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue