1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 15:48:31 -04:00
jarv.is/.eslintrc.cjs
2022-06-19 17:31:04 -04:00

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,
},
],
},
};