eslint-config-futu
Advanced tools
Comparing version 2.0.0-alpha.0 to 2.0.0-alpha.1
{ | ||
"name": "eslint-config-futu", | ||
"version": "2.0.0-alpha.0", | ||
"version": "2.0.0-alpha.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -115,2 +115,6 @@ # 富途ESLint规则 | ||
### 2.0.0-alpha.1 2021-12-21 | ||
- 禁用`no-magic-numbers`规则 | ||
### 2.0.0-alpha.0 2021-12-17 | ||
@@ -117,0 +121,0 @@ |
@@ -56,3 +56,3 @@ // eslint配置文件 - 基础配置 | ||
// 不允许魔法数字,但允许数组索引、默认值、对象中使用 | ||
'no-magic-numbers': ['error', { ignoreArrayIndexes: true, ignoreDefaultValues: true, enforceConst: false, detectObjects: false }], | ||
// 'no-magic-numbers': ['error', { ignoreArrayIndexes: true, ignoreDefaultValues: true, enforceConst: false, detectObjects: false }], | ||
// 单行代码不得超过100列,HTML模板除外 | ||
@@ -59,0 +59,0 @@ 'max-len': ['error', { code: 100, ignoreComments: true, ignoreRegExpLiterals: true, ignoreStrings: false, ignoreTemplateLiterals: false, ignorePattern: '<.*>' }], |
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
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
160
12089
6
171