New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tensor-corp/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tensor-corp/eslint-config - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

2

base.js

@@ -204,3 +204,3 @@ 'use strict';

exports: 'only-multiline',
functions: 'only-multiline'
functions: 'never'
}

@@ -207,0 +207,0 @@ ],

@@ -0,1 +1,18 @@

2.0.4
==================
- В конфиге base в конфигурации инспекции comma-dangle поменял для functions значение с 'only-multiline' на 'never'.
Возможность оставить лишнюю запятую в аргументах функции появилась только в ECMAScript 2017.
Парсеры, которые расчитаные на старшие версии стандарта, просто падают.
- В конфиге es6 добавил конфигурацию comma-dangle: [
'warn',
{
arrays: 'only-multiline',
objects: 'only-multiline',
imports: 'only-multiline',
exports: 'only-multiline',
functions: 'only-multiline'
}
]
2.0.3

@@ -2,0 +19,0 @@ ==================

@@ -85,4 +85,14 @@ 'use strict';

'prefer-template': 'warn',
'prefer-object-spread': 'warn'
'prefer-object-spread': 'warn',
'comma-dangle': [
'warn',
{
arrays: 'only-multiline',
objects: 'only-multiline',
imports: 'only-multiline',
exports: 'only-multiline',
functions: 'only-multiline'
}
]
}
};
{
"name": "@tensor-corp/eslint-config",
"version": "2.0.3",
"version": "2.0.4",
"description": "Tensor company's ESLint config, following our styleguide",

@@ -21,3 +21,3 @@ "author": "Aleksey Begunov (https://twitter.com/@catwithapple)",

"devDependencies": {
"eslint": "^5.1.0"
"eslint": "^5.2.0"
},

@@ -24,0 +24,0 @@ "peerDependencies": {

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