Skip to content

Commit 823cbb0

Browse files
committed
chore: adjust eslint rules
1 parent 0d1e468 commit 823cbb0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: .eslintrc.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"func-call-spacing": "error",
134134
"func-name-matching": "error",
135135
"func-names": "off",
136-
"func-style": ["error", "declaration"],
136+
"func-style": ["error", "declaration", { "allowArrowFunctions": true }],
137137
"id-blacklist": "error",
138138
"id-length": "off",
139139
"id-match": "error",
@@ -158,7 +158,7 @@
158158
"newline-per-chained-call": ["error", { "ignoreChainWithDepth": 5 }],
159159
"new-parens": "error",
160160
"no-array-constructor": "error",
161-
"no-bitwise": "error",
161+
"no-bitwise": ["error", { "int32Hint": true }],
162162
"no-continue": "off",
163163
"no-inline-comments": "off",
164164
"no-lonely-if": "error",

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
.idea
12
node_modules

0 commit comments

Comments
 (0)