sonarjs/no-nested-functions
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/no-nested-functions": "error",
},
},
];No code example for this rule
The linters' documentation does not include one we could extract.
sonarjs/no-nested-functions
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/no-nested-functions": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
OS commands should not rely on PATH resolution
Assignments should not be made from within sub-expressions
Initial values of parameters, caught exceptions, and loop variables should not be ignored
Reactive state should not be unconditionally mutated inside Vue's "updated" lifecycle hook
Wrapper objects should not be used for primitive types