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

eslint-config-xo

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-xo - npm Package Compare versions

Comparing version 0.44.0 to 0.45.0

21

index.js

@@ -377,7 +377,20 @@ 'use strict';

'error',
'always',
{
// Workaround to allow class fields to not have lines between them.
// TODO: Get ESLint to add an option to ignore class fields.
exceptAfterSingleLine: true,
enforce: [
{
blankLine: 'always',
prev: '*',
next: 'method',
},
{
blankLine: 'always',
prev: 'method',
next: 'field',
},
{
blankLine: 'never',
prev: 'field',
next: 'field',
},
],
},

@@ -384,0 +397,0 @@ ],

2

package.json
{
"name": "eslint-config-xo",
"version": "0.44.0",
"version": "0.45.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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc