aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
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"
+}