Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-12-30 22:37:41 +0300
committerMark Otto <otto@github.com>2021-01-05 09:12:48 +0300
commit117dabbe6938331abeb348167f6da08d4e320019 (patch)
tree16b0f115c52949877e95e5d148f59f0475ee4a4f /.eslintrc.json
parent78b8c228c109d079d5ebc1ba2c6b4ddddf491593 (diff)
Tweak build-svgs.js
* change `process.argv` to `includes()`; should work with multiple arguments if we decide to add them later * switch to function declarations * remove redundant return await * catch errors in `processFile()` * add missing `await` in cheerio.load
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index c1b8b05e3..b336507b8 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -9,6 +9,7 @@
},
"extends": "eslint:recommended",
"rules": {
+ "no-return-await": "error",
"object-curly-spacing": [
"error",
"always"
@@ -17,6 +18,7 @@
"semi": [
"error",
"never"
- ]
+ ],
+ "strict": "error"
}
}