@docubook/create
Version:
CLI to create DocuBook projects
23 lines (21 loc) • 720 B
JavaScript
import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
import nextTypescript from "eslint-config-next/typescript";
import js from "@eslint/js";
import tseslint from "typescript-eslint";
export default tseslint.config(
js.configs.recommended,
...nextCoreWebVitals,
...nextTypescript,
...tseslint.configs["recommended"],
{
rules: {
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": ["warn", {
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
}],
"@typescript-eslint/no-empty-object-type": "off",
},
},
);