aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc24
1 files changed, 24 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 0000000..d33e1cf
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,24 @@
+{
+ "root": true,
+
+ "parserOptions": {
+ "ecmaVersion": 10,
+ "sourceType": "module"
+ },
+
+ "env": {
+ "node": true
+ },
+
+ "rules": {
+ "space-infix-ops": "error",
+ "space-unary-ops": ["error", {
+ "words": true,
+ "nonwords": false,
+ "overrides": {
+ "!": true,
+ "!!": true
+ }
+ }]
+ }
+}