1 | ;
|
2 |
|
3 | module.exports = {
|
4 | parser: "babel-eslint",
|
5 | plugins: ["flowtype"],
|
6 | rules: {
|
7 | // disallow importing from the same path more than once
|
8 | // must import types separately
|
9 | "no-duplicate-imports": 0,
|
10 |
|
11 | // requiring spacing of infix operations
|
12 | // bugged with flow optional types
|
13 | "space-infix-ops": 0,
|
14 |
|
15 | // The use of bitwise operators in JavaScript is very rare and often & or | is simply a mistyped && or ||
|
16 | // flow uses bitwise operators
|
17 | "no-bitwise": 0,
|
18 |
|
19 | // Require Radix Parameter
|
20 | radix: 0,
|
21 | },
|
22 | };
|