Skip to content

Commit

Permalink
Disallow console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed May 4, 2024
1 parent b23756f commit 47020f5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
"style": {
"noParameterAssign": "off",
"useNodeAssertStrict": "error"
},
"suspicious": {
"noConsoleLog": "error"
}
}
},
Expand Down Expand Up @@ -70,6 +73,23 @@
}
}
}
},
{
"include": [
"packages/docs",
"packages/knip/scripts",
"packages/knip/src/cli.ts",
"packages/knip/src/reporters",
"packages/knip/src/util/cli-arguments.ts",
"packages/knip/src/util/debug.ts"
],
"linter": {
"rules": {
"suspicious": {
"noConsoleLog": "off"
}
}
}
}
]
}

0 comments on commit 47020f5

Please sign in to comment.