eslint-config-xo
Advanced tools
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 @@ ], |
{ | ||
"name": "eslint-config-xo", | ||
"version": "0.44.0", | ||
"version": "0.45.0", | ||
"description": "ESLint shareable config for XO", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17955
683