chore: find code with high complexity (#17679)
This commit is contained in:
@@ -65,8 +65,6 @@ export default combine(
|
||||
// use `ESLINT_CONFIG_INSPECTOR=true pnpx @eslint/config-inspector` to check the config
|
||||
// ...process.env.ESLINT_CONFIG_INSPECTOR
|
||||
// ? []
|
||||
// TODO: remove this when upgrade to nextjs 15
|
||||
// : fixupConfigRules(compat.extends('next')),
|
||||
{
|
||||
rules: {
|
||||
// performance issue, and not used.
|
||||
@@ -87,6 +85,7 @@ export default combine(
|
||||
{
|
||||
// orignal config
|
||||
rules: {
|
||||
'complexity': ['warn', { max: 10 }],
|
||||
// orignal ts/no-var-requires
|
||||
'ts/no-require-imports': 'off',
|
||||
'no-console': 'off',
|
||||
|
Reference in New Issue
Block a user