Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-futu

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-futu - npm Package Compare versions

Comparing version 2.0.0-alpha.0 to 2.0.0-alpha.1

2

package.json
{
"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: '<.*>' }],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc