sonarjs/vitest-mock-at-module-scope
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/vitest-mock-at-module-scope": "error",
},
},
];No code example for this rule
The linters' documentation does not include one we could extract.
sonarjs/vitest-mock-at-module-scope
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/vitest-mock-at-module-scope": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Loop counters should not be assigned within the loop body
Web application technologies should not disclose version information