sonarjs/prefer-native-lodash-alternative
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/prefer-native-lodash-alternative": "error",
},
},
];Native APIs should be preferred over Lodash and Underscore.js methods
No code example for this rule
The linters' documentation does not include one we could extract.
sonarjs/prefer-native-lodash-alternative
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/prefer-native-lodash-alternative": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Native APIs should be preferred over jQuery utility methods
Native APIs should be preferred over Axios utility methods
"RegExp.exec()" should be preferred over "String.match()"