vitest/padding-around-all
@vitest/eslint-plugin
Safe autofix
eslint.config.js
import vitest from "@vitest/eslint-plugin";
export default [
{
plugins: { vitest },
rules: {
"vitest/padding-around-all": "error",
},
},
];No code example for this rule
The linters' documentation does not include one we could extract.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
vitest/padding-around-all
@vitest/eslint-plugin
import vitest from "@vitest/eslint-plugin";
export default [
{
plugins: { vitest },
rules: {
"vitest/padding-around-all": "error",
},
},
];vitest/padding-around-all
vitest plugin · style
{
"plugins": [
"vitest"
],
"rules": {
"vitest/padding-around-all": "error"
}
}Biome does not have this rule.
Enforce padding around afterEach blocks
Enforce padding around beforeAll blocks
Enforce padding around afterAll blocks
Enforce padding around beforeEach blocks
Disallow using the f and x prefixes in favour of .only and .skip