37 lines
748 B
JavaScript
37 lines
748 B
JavaScript
import js from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
import globals from "globals";
|
|
import nextConfig from "eslint-config-next/core-web-vitals";
|
|
|
|
export default tseslint.config(
|
|
{
|
|
ignores: [
|
|
"node_modules/**",
|
|
".next/**",
|
|
".worktrees/**",
|
|
".claude/**",
|
|
".design-tmp/**",
|
|
"dist/**",
|
|
"drizzle/**",
|
|
"public/sw.js",
|
|
],
|
|
},
|
|
js.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
...nextConfig,
|
|
{
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.node,
|
|
...globals.browser,
|
|
},
|
|
},
|
|
rules: {
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
|
|
],
|
|
},
|
|
},
|
|
);
|