17 lines
462 B
JavaScript
17 lines
462 B
JavaScript
import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
|
|
import nextTypescript from "eslint-config-next/typescript";
|
|
|
|
/** @type {import('eslint').Linter.Config[]} */
|
|
const eslintConfig = [
|
|
{ ignores: [".next/**", "node_modules/**"] },
|
|
...nextCoreWebVitals,
|
|
...nextTypescript,
|
|
{
|
|
rules: {
|
|
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }],
|
|
},
|
|
},
|
|
];
|
|
|
|
export default eslintConfig;
|