Lint better
This commit is contained in:
parent
039c0fb2eb
commit
ae1937df41
2 changed files with 3 additions and 2 deletions
|
|
@ -15,6 +15,8 @@
|
|||
},
|
||||
"rules": {
|
||||
"no-extra-parens": 2,
|
||||
"no-inner-declarations": 0,
|
||||
"consistent-return": 0,
|
||||
"no-eq-null": 2,
|
||||
"no-floating-decimal": 2,
|
||||
"no-self-compare": 2,
|
||||
|
|
@ -22,6 +24,7 @@
|
|||
"no-void": 2,
|
||||
"wrap-iife": [2, "outside"],
|
||||
"strict": [2, "global"],
|
||||
"no-use-before-define": [2, "nofunc"],
|
||||
"no-var": 2,
|
||||
"generator-star-spacing": [2, "after"],
|
||||
"object-shorthand": [2, "always"]
|
||||
|
|
|
|||
|
|
@ -13,8 +13,6 @@ const cachePath = path.resolve("cache");
|
|||
const outPath = path.resolve("out");
|
||||
const contentPath = path.resolve(outPath, "OEBPS");
|
||||
|
||||
const rawChapterDocs = new Map();
|
||||
|
||||
let chapters;
|
||||
getChapters()
|
||||
.then(function (theChapters) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue