aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-05-11 22:40:53 +0530
committerLibravatar GitHub <noreply@github.com>2021-05-11 17:10:53 +0000
commited59e85fd0b1f7a534009e5ae3ac0b5f1f47d779 (patch)
treef43a038dc0343f340f05735df1c49f4412c6297f /.eslintrc
parentFixing issue with non-sso login for gmail + gdrive not working due to incompa... (diff)
downloadferdi-recipes-ed59e85fd0b1f7a534009e5ae3ac0b5f1f47d779.tar.gz
ferdi-recipes-ed59e85fd0b1f7a534009e5ae3ac0b5f1f47d779.tar.zst
ferdi-recipes-ed59e85fd0b1f7a534009e5ae3ac0b5f1f47d779.zip
Added missing hygiene stuff (#493)
Added husky and pre-commit hook to avoid CI exposing build breakages
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc22
1 files changed, 22 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 0000000..023a0e7
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,22 @@
1{
2 "parser": "babel-eslint",
3 "rules": {
4 "consistent-return": 0,
5 "no-param-reassign": 0,
6 "import/extensions": 0,
7 "import/no-extraneous-dependencies": 0,
8 "import/prefer-default-export": 0,
9 "linebreak-style": 0,
10 "prefer-destructuring": 1,
11 "no-underscore-dangle": 0,
12 "max-len": 0,
13 "class-methods-use-this": 0,
14 "no-console": 0,
15 "no-restricted-syntax": [0, "ForInStatement"]
16 },
17 "globals": {
18 "window": true,
19 "document": true,
20 "ENV": true
21 }
22}