sonarjs/no-session-cookies-on-static-assets
eslint-plugin-sonarjs
No autofixRecommended
eslint.config.js
export default [
{
rules: {
"sonarjs/no-session-cookies-on-static-assets": "error",
},
},
];Static Assets should not serve session cookies
No code example for this rule
The linters' documentation does not include one we could extract.
sonarjs/no-session-cookies-on-static-assets
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/no-session-cookies-on-static-assets": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Methods should not contain selector parameters
Tests should not be skipped without providing a reason
"if" statements should be preferred over "switch" when simpler
Assertions should not be given twice the same argument
HTML "<table>" should not be used for layout purposes