buster/apps/web/.eslintrc.json

37 lines
956 B
JSON

{
"extends": ["next/core-web-vitals", "next/typescript"],
"ignorePatterns": [
"**/*.test.*",
"**/*.stories.*",
".next/**",
"node_modules/**",
"out/**",
"build/**",
"dist/**",
"playwright-test/*",
"playwright-report/*",
"coverage/*"
],
"rules": {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-empty-object-type": "off",
"no-console": "off",
"react/no-array-index-key": "off",
"react-hooks/exhaustive-deps": "off",
"@next/next/no-img-element": "off"
},
"overrides": [
{
"files": ["**/*.{test,spec}.{js,jsx,ts,tsx}", "**/*.stories.{js,jsx,ts,tsx}"],
"rules": {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off",
"react/no-children-prop": "off",
"no-console": "off"
}
}
]
}