Socket
Socket
Sign inDemoInstall

eslint-config-xo

Package Overview
Dependencies
0
Maintainers
3
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.21.0 to 0.22.0

35

esnext.js

@@ -10,21 +10,20 @@ 'use strict';

'prefer-arrow-callback': ['error', {allowNamedFunctions: true}],
'prefer-const': ['error', {
destructuring: 'all'
}],
'prefer-numeric-literals': 2
// Disabled since latest Node.js LTS doesn't yet support it
// 'prefer-reflect': ['error', {exceptions: ['delete']}],
// 'prefer-rest-params': 'error',
// 'prefer-spread': 'error',
// 'prefer-destructuring': ['error', {
// array: true,
// object: true
// }, {
// enforceForRenamedProperties: true
// }]
// Disabled because of https://github.com/eslint/eslint/issues/6572
// 'prefer-template': 'error'
'prefer-const': [
'error',
{
destructuring: 'all'
}
],
'prefer-numeric-literals': 2,
'prefer-reflect': ['error', {exceptions: ['delete']}],
'prefer-rest-params': 'error',
'prefer-spread': 'error',
'prefer-destructuring': [
'error',
{
array: true,
object: true
}
]
}
};

@@ -8,4 +8,3 @@ 'use strict';

ecmaFeatures: {
jsx: true,
experimentalObjectRestSpread: true
jsx: true
}

@@ -12,0 +11,0 @@ },

{
"name": "eslint-config-xo",
"version": "0.21.0",
"version": "0.22.0",
"description": "ESLint shareable config for XO",

@@ -13,3 +13,3 @@ "license": "MIT",

"engines": {
"node": ">=4"
"node": ">=6"
},

@@ -16,0 +16,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc