-
Notifications
You must be signed in to change notification settings - Fork 797
Expand file tree
/
Copy path.eslintrc.js
More file actions
22 lines (22 loc) · 818 Bytes
/
Copy path.eslintrc.js
File metadata and controls
22 lines (22 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module.exports = {
extends: [
"plugin:@typescript-eslint/recommended",
"plugin:@next/next/recommended",
],
rules: {
// Disable rules that conflict with the project's style
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-namespace": "off",
// Override the base no-shadow rule since it conflicts with TypeScript
"no-shadow": "off",
// camelcase has too many violations (333) to fix now
camelcase: "off",
// This codebase uses <img> for OG images and legacy code
"@next/next/no-img-element": "off",
},
ignorePatterns: ["dist/**"],
};