forked from Shubham-Kumar-2000/protocol-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
59 lines (59 loc) · 1.59 KB
/
.eslintrc.json
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"env": {
"commonjs": true,
"es2020": true,
"node": true
},
"extends": ["eslint:recommended", "plugin:node/recommended"],
"plugins": ["prettier"],
"parserOptions": {
"ecmaVersion": 12
},
"rules": {
"node/shebang": "error",
"indent": ["error", 4],
"prefer-const": ["error", {
"destructuring": "any",
"ignoreReadBeforeAssign": false
}],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"linebreak-style": 0,
"no-use-before-define": 0,
"no-tabs": 0,
"no-underscore-dangle": 0,
"space-before-function-paren": 0,
"quote-props": 0,
"comma-dangle": 0,
"operator-linebreak": 0,
"new-cap": 0,
"arrow-parens": 0,
"function-paren-newline": 0,
"no-param-reassign": 0,
"object-curly-newline": 0,
"no-console": 0,
"import/prefer-default-export": 0,
"consistent-return": 0,
"func-names": 0,
"implicit-arrow-linebreak": 0,
"node/no-extraneous-require": [
"error",
{
"allowModules": ["chalk"]
}
],
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": true,
"parser": "flow",
"semi": true,
"endOfLine":"auto",
"tabWidth":4
}
]
}
}