Add "no-confusing-arrow" eslint check
This commit is contained in:
parent
fee3a459dd
commit
116eec247a
2 changed files with 2 additions and 1 deletions
|
@ -78,5 +78,6 @@ module.exports = {
|
||||||
"block-scoped-var": "error",
|
"block-scoped-var": "error",
|
||||||
"guard-for-in": "error",
|
"guard-for-in": "error",
|
||||||
"no-alert": "error",
|
"no-alert": "error",
|
||||||
|
"no-confusing-arrow": "error",
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -882,7 +882,7 @@ function loadCss(cssFileName) {
|
||||||
["-", "Collapse all sections"],
|
["-", "Collapse all sections"],
|
||||||
].map(x => "<dt>" +
|
].map(x => "<dt>" +
|
||||||
x[0].split(" ")
|
x[0].split(" ")
|
||||||
.map((y, index) => (index & 1) === 0 ? "<kbd>" + y + "</kbd>" : " " + y + " ")
|
.map((y, index) => ((index & 1) === 0 ? "<kbd>" + y + "</kbd>" : " " + y + " "))
|
||||||
.join("") + "</dt><dd>" + x[1] + "</dd>").join("");
|
.join("") + "</dt><dd>" + x[1] + "</dd>").join("");
|
||||||
const div_shortcuts = document.createElement("div");
|
const div_shortcuts = document.createElement("div");
|
||||||
addClass(div_shortcuts, "shortcuts");
|
addClass(div_shortcuts, "shortcuts");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue