forked from LedgerHQ/ledger-live-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
39 lines (39 loc) · 1.02 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
module.exports = {
env: {
browser: true,
es6: true,
node: true,
jest: true
},
extends: ["plugin:flowtype/recommended", "prettier", "prettier/react"],
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly"
},
parser: "babel-eslint",
plugins: ["flowtype"],
rules: {
"no-console": ["error", { allow: ["warn", "error"] }],
"linebreak-style": ["error", "unix"],
semi: ["error", "always"],
"no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
"flowtype/generic-spacing": 0,
"flowtype/space-after-type-colon": 0,
"import/prefer-default-export": 0,
"no-plusplus": 0,
"no-underscore-dangle": 0,
"prefer-template": 0,
"no-await-in-loop": 0,
"no-restricted-syntax": 0,
"consistent-return": 0,
"no-lonely-if": 0,
"no-use-before-define": 0,
"no-nested-ternary": 0,
"import/no-cycle": 0,
"no-multi-assign": 0,
"guard-for-in": 0,
"no-continue": 0,
"lines-between-class-members": 0,
"prefer-destructuring": 0
}
};