UNPKG
eslint-config-mlt
Version:
beta (1.0.0)
latest (1.0.9)
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.5-patch.1
1.0.4
1.0.3
1.0.3-0
1.0.2
1.0.0
0.1.0
MLT ESLint 规则
hulu.voc.mlamp.cn/kaleidoscope/eslint-config-mlt
eslint-config-mlt
/
test
/
typescript
/
no-invalid-void-type
/
.eslintrc.js
10 lines
(9 loc)
•
208 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
module
.
exports
= { rules: {
/** * 禁止使用无意义的 void 类型 *
@reason
void 只能用在函数的返回值中 */
'@typescript-eslint/no-invalid-void-type'
:
'error'
, }, };