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.1 to 2.0.0-alpha.2

2

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

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