Files
www/.eslintrc.cjs
Zeke Abshire 3f632c98f3
All checks were successful
Deploy / deploy-production (push) Successful in 1m35s
Deploy / deploy-preview (push) Has been skipped
Deploy / cleanup-preview (push) Has been skipped
Standard dependency updates (#1)
Reviewed-on: #1
Co-authored-by: Zeke Abshire <zekeabshire@gmail.com>
Co-committed-by: Zeke Abshire <zekeabshire@gmail.com>
2026-04-11 19:47:19 -05:00

44 lines
1.1 KiB
JavaScript

import tseslint from "typescript-eslint";
import nextVitals from "eslint-config-next/core-web-vitals";
/** @type {import("eslint").Linter.Config} */
const config = {
...nextVitals,
...tseslint.configs.recommended,
...tseslint.configs.stylistic,
languageOptions: {
parser: tseslint.parser,
parserOptions: {
projectService: true,
},
},
plugins: {
"@typescript-eslint": tseslint.plugin,
},
rules: {
// These opinionated rules are enabled in stylistic-type-checked above.
// Feel free to reconfigure them to your own preference.
"@typescript-eslint/array-type": "off",
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/consistent-type-imports": [
"warn",
{
prefer: "type-imports",
fixStyle: "inline-type-imports",
},
],
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
"@typescript-eslint/no-misused-promises": [
2,
{
checksVoidReturn: { attributes: false },
},
],
"react/no-unescaped-entities": ["off"],
"react-hooks/exhaustive-deps": "off",
},
};
module.exports = config;