mirror of
https://github.com/vercel-labs/portless.git
synced 2026-09-14 16:37:59 +08:00
022eca2ed2
* inject --port flag * fix vite * e2e tests * more e2e tests * fixes * improvements
34 lines
736 B
JavaScript
34 lines
736 B
JavaScript
import eslint from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
import prettierConfig from "eslint-config-prettier";
|
|
|
|
export default tseslint.config(
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
prettierConfig,
|
|
{
|
|
ignores: [
|
|
"**/dist/",
|
|
"**/node_modules/",
|
|
".pnpm-store/",
|
|
"**/.next/",
|
|
"**/next-env.d.ts",
|
|
"**/.react-router/",
|
|
"**/.svelte-kit/",
|
|
"**/.astro/",
|
|
"**/.nuxt/",
|
|
"**/.angular/",
|
|
"**/.output/",
|
|
],
|
|
},
|
|
{
|
|
rules: {
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
|
|
],
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
},
|
|
}
|
|
);
|