diff options
author | 2021-05-11 22:40:53 +0530 | |
---|---|---|
committer | 2021-05-11 17:10:53 +0000 | |
commit | ed59e85fd0b1f7a534009e5ae3ac0b5f1f47d779 (patch) | |
tree | f43a038dc0343f340f05735df1c49f4412c6297f /.eslintrc | |
parent | Fixing issue with non-sso login for gmail + gdrive not working due to incompa... (diff) | |
download | ferdium-recipes-ed59e85fd0b1f7a534009e5ae3ac0b5f1f47d779.tar.gz ferdium-recipes-ed59e85fd0b1f7a534009e5ae3ac0b5f1f47d779.tar.zst ferdium-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-- | .eslintrc | 22 |
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 | } | ||