mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 16:48:26 -04:00
29 lines
665 B
JavaScript
29 lines
665 B
JavaScript
/**
|
|
* @type {import("eslint").Linter.Config}
|
|
*/
|
|
module.exports = {
|
|
root: true,
|
|
parser: "@typescript-eslint/parser",
|
|
extends: [
|
|
"@jakejarvis/eslint-config",
|
|
"next/core-web-vitals",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:prettier/recommended",
|
|
],
|
|
plugins: ["@typescript-eslint", "prettier"],
|
|
rules: {
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
"react/no-unescaped-entities": "off",
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
// normal .prettierrc config:
|
|
singleQuote: false,
|
|
tabWidth: 2,
|
|
printWidth: 120,
|
|
},
|
|
],
|
|
},
|
|
};
|