-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
16 lines (16 loc) · 842 Bytes
/
Copy path.eslintrc.json
File metadata and controls
16 lines (16 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"extends": [
"next/core-web-vitals"
// "plugin:@typescript-eslint/recommended",
// "plugin:react/recommended"
]
// "rules": {
// "react/prop-types": "off", // Disable prop-types (since you're using TypeScript)
// "@typescript-eslint/explicit-module-boundary-types": "error", // Enforce explicit types for function props
// "@typescript-eslint/no-unused-vars": "error", // Unused variables become errors
// "react/jsx-boolean-value": ["error", "always"], // Ensure boolean values are passed explicitly
// "react/jsx-no-undef": "error", // Prevent undefined components from being used
// "react/jsx-no-literals": ["error", { "noStrings": true }], // Enforce no raw strings in JSX
// "@typescript-eslint/no-missing-props": "error" // Catch missing required props as errors
// }
}