File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff line change 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 }
You can’t perform that action at this time.
0 commit comments