sonarjs/web-sql-database
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/web-sql-database": "error",
},
},
];This rule is deprecated. Check its documentation for a replacement before enabling it.
Web SQL databases should not be used
var db = window.openDatabase("myDb", "1.0", "Personal secrets stored here", 2*1024*1024); // NoncompliantThe documentation shows no correct example for this rule.
Examples from the ESLint documentation.
No tracked preset enables this rule, so it has no reach yet.
None of the tracked presets enable this rule. Turn it on with the config below.
sonarjs/web-sql-database
eslint-plugin-sonarjs
export default [
{
rules: {
"sonarjs/web-sql-database": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Variable, property and parameter names should comply with a naming convention
Values not convertible to numbers should not be used in numeric comparisons
Regular expressions using Unicode character classes or property escapes should enable the unicode flag
Loops should not contain more than a single "break" or "continue" statement
Shorthand object properties should be grouped at the beginning or end of an object declaration