mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Enable rule no-plusplus (#10876)
This commit is contained in:
committed by
GitHub
parent
08ec509dc9
commit
76275ec410
@@ -47,7 +47,7 @@ export function formatSelectOptionsForRange(start, end) {
|
||||
// formatSelectOptionsForRange(1, 5)
|
||||
// returns [[1,1], [2,2], [3,3], [4,4], [5,5]]
|
||||
const options = [];
|
||||
for (let i = start; i <= end; i++) {
|
||||
for (let i = start; i <= end; i += 1) {
|
||||
options.push([i, i.toString()]);
|
||||
}
|
||||
return options;
|
||||
|
||||
Reference in New Issue
Block a user