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": {
|
"rules": {
|
||||||
"no-extra-parens": 2,
|
"no-extra-parens": 2,
|
||||||
|
"no-inner-declarations": 0,
|
||||||
|
"consistent-return": 0,
|
||||||
"no-eq-null": 2,
|
"no-eq-null": 2,
|
||||||
"no-floating-decimal": 2,
|
"no-floating-decimal": 2,
|
||||||
"no-self-compare": 2,
|
"no-self-compare": 2,
|
||||||
|
|
@ -22,6 +24,7 @@
|
||||||
"no-void": 2,
|
"no-void": 2,
|
||||||
"wrap-iife": [2, "outside"],
|
"wrap-iife": [2, "outside"],
|
||||||
"strict": [2, "global"],
|
"strict": [2, "global"],
|
||||||
|
"no-use-before-define": [2, "nofunc"],
|
||||||
"no-var": 2,
|
"no-var": 2,
|
||||||
"generator-star-spacing": [2, "after"],
|
"generator-star-spacing": [2, "after"],
|
||||||
"object-shorthand": [2, "always"]
|
"object-shorthand": [2, "always"]
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,6 @@ const cachePath = path.resolve("cache");
|
||||||
const outPath = path.resolve("out");
|
const outPath = path.resolve("out");
|
||||||
const contentPath = path.resolve(outPath, "OEBPS");
|
const contentPath = path.resolve(outPath, "OEBPS");
|
||||||
|
|
||||||
const rawChapterDocs = new Map();
|
|
||||||
|
|
||||||
let chapters;
|
let chapters;
|
||||||
getChapters()
|
getChapters()
|
||||||
.then(function (theChapters) {
|
.then(function (theChapters) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue