Socket
Socket
Sign inDemoInstall

eslint-config-xo

Package Overview
Dependencies
1
Maintainers
3
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.20.1 to 0.21.0

2

esnext.js

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

'object-shorthand': ['error', 'always'],
'prefer-arrow-callback': 'error',
'prefer-arrow-callback': ['error', {allowNamedFunctions: true}],
'prefer-const': ['error', {

@@ -12,0 +12,0 @@ destructuring: 'all'

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

// You can also ignore this rule by wrapping the first word in quotes
ignorePattern: 'pragma|ignore',
ignorePattern: 'pragma|ignore|prettier-ignore',
ignoreInlineComments: true,

@@ -169,10 +169,3 @@ ignoreConsecutiveComments: true

indent: ['error', 'tab', {
SwitchCase: 1,
ignoredNodes: [
// We ignore this as it requires weird indentation in some cases:
// https://gist.github.com/sindresorhus/282415ce6ca759a63c185f58db7bf2c3
// TODO: Somebody please open an issue on ESLint about this.
// I'm not going to, as I have wasted to much time on their issue tracker.
'CallExpression'
]
SwitchCase: 1
}],

@@ -275,4 +268,9 @@ 'jsx-quotes': 'error',

'template-curly-spacing': 'error',
'yield-star-spacing': ['error', 'both']
'yield-star-spacing': ['error', 'both'],
'valid-jsdoc': ['warn', {
'requireReturn': false,
'requireParamDescription': true,
'requireReturnDescription': true
}]
}
};
{
"name": "eslint-config-xo",
"version": "0.20.1",
"version": "0.21.0",
"description": "ESLint shareable config for XO",

@@ -5,0 +5,0 @@ "license": "MIT",

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