Skip to content

Commit 7e07f12

Browse files
Chore: fixes lint
1 parent f9b4a21 commit 7e07f12

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/decorators/class.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ClassMethodDecorator extends BaseClassMethodDecorator {
1919
if (config.setters) this.methods.push('set');
2020
}
2121

22-
static FunctionDecorator = FunctionDecorator
22+
static FunctionDecorator = FunctionDecorator;
2323

2424
getFunctionDecoratorConfig() {
2525
return {
@@ -41,7 +41,7 @@ export function classMethodDecorator({ target, methodName, descriptor }, config
4141
}
4242

4343
class ClassDecorator extends BaseClassDecorator {
44-
static ClassMethodDecorator = ClassMethodDecorator
44+
static ClassMethodDecorator = ClassMethodDecorator;
4545

4646
getClassMethodDecoratorConfig(params) {
4747
const { target } = params;

tests/Logger.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ export default class Logger {
2020

2121
_buildLevel = level => arg => {
2222
this.stack[level].push(arg);
23-
}
23+
};
2424

2525
stdout = level => {
2626
return this.stack[level];
27-
}
27+
};
2828
}

tests/package/classes.test.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,11 @@ test('Class with getters and setters', function () {
136136
return 1;
137137
}
138138

139-
two = 2
139+
two = 2;
140140

141141
addOne = a => {
142142
return this._sum(a, this.one);
143-
}
143+
};
144144

145145
_sum(a, b) {
146146
return a + b;
@@ -165,12 +165,12 @@ test('Class support for class-properties (as-class method)', function () {
165165
return 1;
166166
}
167167

168-
two = 2
168+
two = 2;
169169

170170
@verbose
171-
addOne = a => {
172-
return this._sum(a, this.one);
173-
}
171+
addOne = a => {
172+
return this._sum(a, this.one);
173+
};
174174

175175
_sum(a, b) {
176176
return a + b;
@@ -194,11 +194,11 @@ test('Class support for class-properties in class decorator', function () {
194194
return 1;
195195
}
196196

197-
two = 2
197+
two = 2;
198198

199199
addOne = a => {
200200
return this._sum(a, this.one);
201-
}
201+
};
202202

203203
_sum(a, b) {
204204
return a + b;

0 commit comments

Comments
 (0)