mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 17:48:30 -04:00
35 lines
842 B
JavaScript
35 lines
842 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: "@typescript-eslint/parser",
|
|
extends: [
|
|
"@jakejarvis/eslint-config",
|
|
"next/core-web-vitals",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:import/recommended",
|
|
"plugin:import/typescript",
|
|
"plugin:prettier/recommended",
|
|
],
|
|
plugins: ["@typescript-eslint", "prettier"],
|
|
rules: {
|
|
"react/no-unescaped-entities": "off",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
},
|
|
overrides: [
|
|
{
|
|
files: "*.md",
|
|
rules: {
|
|
"prettier/prettier": ["error", { parser: "markdown" }],
|
|
},
|
|
},
|
|
{
|
|
files: ["*.md", "*.mdx"],
|
|
extends: ["plugin:mdx/recommended"],
|
|
rules: {
|
|
"react/jsx-no-undef": "off",
|
|
},
|
|
},
|
|
],
|
|
};
|