Skip to content

Commit 48bfbec

Browse files
committed
1 parent 8c12939 commit 48bfbec

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

index.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,16 @@ module.exports = {
159159
],
160160
'keyword-spacing': 'off',
161161
'@typescript-eslint/keyword-spacing': 'error',
162+
'lines-between-class-members': 'off',
163+
'@typescript-eslint/lines-between-class-members': [
164+
'error',
165+
'always',
166+
{
167+
// Workaround to allow class fields to not have lines between them.
168+
// TODO: Get ESLint to add an option to ignore class fields.
169+
exceptAfterSingleLine: true
170+
}
171+
],
162172
'@typescript-eslint/member-delimiter-style': [
163173
'error',
164174
{

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@
4444
"simple"
4545
],
4646
"devDependencies": {
47-
"@typescript-eslint/eslint-plugin": "^2.30.0",
48-
"@typescript-eslint/parser": "^2.30.0",
47+
"@typescript-eslint/eslint-plugin": "^2.33.0",
48+
"@typescript-eslint/parser": "^2.31.0",
4949
"ava": "^2.4.0",
5050
"eslint": "^6.8.0",
5151
"temp-write": "^4.0.0",
52-
"typescript": "^3.8.3"
52+
"typescript": "^3.9.2"
5353
},
5454
"peerDependencies": {
55-
"@typescript-eslint/eslint-plugin": ">=2.30.0",
55+
"@typescript-eslint/eslint-plugin": ">=2.33.0",
5656
"eslint": ">=6.6.0",
5757
"typescript": ">=3.5.3"
5858
}

0 commit comments

Comments
 (0)