style(eslint): add no-implicit-coercion rule (#8175)

* refactor: add no-implicit-coercion rule for ESLint

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* Update docs/en/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update docs/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/av01/tag.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/gov/taiwan/mnd.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/ps/product.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* refactor: minify html string

Co-authored-by: Sukka <isukkaw@gmail.com>
This commit is contained in:
Daniel Li (李丹阳)
2021-09-15 21:22:11 +08:00
committed by GitHub
parent a7635464d2
commit d77a039f05
153 changed files with 338 additions and 269 deletions

View File

@@ -12,7 +12,7 @@ module.exports = async (ctx) => {
const name = $('#docContent .content h2').text();
ctx.state.data = {
title: `${name}`,
title: name,
link,
item: ctx.params.caty
? $('#docContent .content h3')
@@ -42,6 +42,6 @@ module.exports = async (ctx) => {
};
})
.get(),
description: `${name}`,
description: name,
};
};