summaryrefslogtreecommitdiffstats
path: root/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
new file mode 100644
index 0000000..1445063
--- /dev/null
+++ b/.eslintrc.json
@@ -0,0 +1,24 @@
+{
+ "root": true,
+ "env": {
+ "es6": true,
+ "node": true
+ },
+ "parserOptions": {
+ "ecmaVersion": 2019
+ },
+ "extends": "eslint:recommended",
+ "rules": {
+ "no-return-await": "error",
+ "object-curly-spacing": [
+ "error",
+ "always"
+ ],
+ "prefer-template": "error",
+ "semi": [
+ "error",
+ "never"
+ ],
+ "strict": "error"
+ }
+}