We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b17659e commit 6f2ff13Copy full SHA for 6f2ff13
index.js
@@ -374,11 +374,24 @@ module.exports = {
374
],
375
'lines-between-class-members': [
376
'error',
377
- 'always',
378
{
379
- // Workaround to allow class fields to not have lines between them.
380
- // TODO: Get ESLint to add an option to ignore class fields.
381
- exceptAfterSingleLine: true,
+ enforce: [
+ {
+ blankLine: 'always',
+ prev: '*',
382
+ next: 'method',
383
+ },
384
385
386
+ prev: 'method',
387
+ next: 'field',
388
389
390
+ blankLine: 'never',
391
+ prev: 'field',
392
393
394
+ ],
395
},
396
397
'logical-assignment-operators': [
0 commit comments