aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2020-09-20 19:47:28 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2020-09-20 19:47:28 +0200
commit58906d77975b35fe93569f8083b90140124f9c41 (patch)
tree36ec38adf065424d547ef73d014913c503ab40fe /.eslintrc
parent4b10e604bf4057d7ae8286151d7528d7d7ae1cb9 (diff)
Recover from npm package
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc41
1 files changed, 41 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 0000000..bb7120d
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,41 @@
+{
+ "rules": {
+ "indent": [
+ 2,
+ 2
+ ],
+ "quotes": [
+ 2,
+ "single"
+ ],
+ "linebreak-style": [
+ 2,
+ "unix"
+ ],
+ "semi": [
+ 2,
+ "always"
+ ],
+ "no-trailing-spaces": [
+ 2,
+ {
+ "skipBlankLines": false
+ }
+ ],
+ "eqeqeq": [
+ 2,
+ "allow-null"
+ ],
+ "consistent-return": 2,
+ "curly": 2,
+ "dot-location": [2, "property"],
+ "guard-for-in": 2,
+ "no-extra-bind": 2
+ },
+ "env": {
+ "es6": true,
+ "node": true,
+ "browser": true
+ },
+ "extends": "eslint:recommended"
+}