Skip to content

Commit 02428a0

Browse files
committed
turn underscore dangle to warn in ts only
1 parent 7173d5d commit 02428a0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.eslintrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"no-import-assign": 2,
4141
"no-promise-executor-return": 0, //temporarily off
4242
"no-restricted-exports": 1,
43-
"no-underscore-dangle": 1,
43+
"no-underscore-dangle": 0,
4444
"no-useless-catch": 2,
4545
"no-plusplus": "off",
4646
"prefer-object-spread": 0,
@@ -133,7 +133,9 @@
133133
"rules": {
134134
"no-use-before-define": "off",
135135
"import/no-extraneous-dependencies": "off",
136-
"no-unused-vars": "off"
136+
"no-unused-vars": "off",
137+
"import/no-default-export": "warn",
138+
"no-underscore-dangle": "warn",
137139
}
138140
},
139141
{

0 commit comments

Comments
 (0)