jest/no-commented-out-tests
eslint-plugin-jest
No autofixRecommended
eslint.config.js
import jest from "eslint-plugin-jest";
export default [
{
plugins: { jest },
rules: {
"jest/no-commented-out-tests": "error",
},
},
];No code example for this rule
The linters' documentation does not include one we could extract.
jest/no-commented-out-tests
eslint-plugin-jest
import jest from "eslint-plugin-jest";
export default [
{
plugins: { jest },
rules: {
"jest/no-commented-out-tests": "error",
},
},
];jest/no-commented-out-tests
jest plugin · suspicious
{
"plugins": [
"jest"
],
"rules": {
"jest/no-commented-out-tests": "error"
}
}Biome does not have this rule.
Disallow use of deprecated functions
Disallow string interpolation inside snapshots
Disallow using expect outside of it or test blocks