sonarjs/object-alt-content
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/object-alt-content": "error",
},
},
];No code example for this rule
The linters' documentation does not include one we could extract.
sonarjs/object-alt-content
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/object-alt-content": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Properties of variables with "null" or "undefined" values should not be accessed
Similar tests should be grouped in a single Parameterized test
Non-existent operators '=+', '=-' and '=!' should not be used
Origins should be verified during cross-origin communications