sonarjs/public-static-readonly
eslint-plugin-sonarjs
SuggestionRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/public-static-readonly": "error",
},
},
];No code example for this rule
The linters' documentation does not include one we could extract.
sonarjs/public-static-readonly
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/public-static-readonly": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Pseudorandom number generators (PRNGs) should not be used in security contexts
Temporary files should not be created in publicly writable directories
Debugging features should not be enabled in production
"Array.reduce()" calls should include an initial value