aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-04-07 01:23:29 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-04-07 01:23:29 +0530
commit1471aae8927c20d646cc2aa5ab0e20c1a7f2c0ca (patch)
tree32d32d7f33b2ca64cf101006442b1b17bfaf61aa /.eslintrc.js
parent47787c0b0b846d5f4a057661efdd05d8786032f1 (diff)
linter / simpler webextension pack
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index c3e588250..1cd05edd3 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -8,6 +8,12 @@ module.exports = {
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
],
+ settings: {
+ "react": {
+ "version": "16.9.6",
+ },
+
+ },
rules: {
"no-constant-condition": ["error", { "checkLoops": false }],
"prefer-const": ["warn", { destructuring: "all" }],