eslint-config-futu
Advanced tools
Comparing version 2.0.0-alpha.1 to 2.0.0-alpha.2
{ | ||
"name": "eslint-config-futu", | ||
"version": "2.0.0-alpha.1", | ||
"version": "2.0.0-alpha.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -115,2 +115,5 @@ # 富途ESLint规则 | ||
### 2.0.0-alpha.2 2021-12-21 | ||
- `arrow-parens`规则改为`always`(与`prettier`保持一致 & 预留向 TS 兼容) | ||
### 2.0.0-alpha.1 2021-12-21 | ||
@@ -117,0 +120,0 @@ |
@@ -70,3 +70,4 @@ // eslint配置文件 - 基础配置 | ||
// 箭头函数括号 | ||
'arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }], | ||
// 'arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }], | ||
'arrow-parens': ['error', 'always'], | ||
// fallthrough要有注释 | ||
@@ -73,0 +74,0 @@ 'no-fallthrough': ['error', { commentPattern: 'fall ?through' }], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
12257
172
163
0