mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-17 22:10:23 +01:00
ESlint no-plusplus
and no-empty, space-unary-ops
This commit is contained in:
@@ -30,7 +30,7 @@ describe('Plugins', function () {
|
||||
|
||||
it('should register and fire a filter hook', function (done) {
|
||||
function filterMethod1(data, callback) {
|
||||
data.foo ++;
|
||||
data.foo += 1;
|
||||
callback(null, data);
|
||||
}
|
||||
function filterMethod2(data, callback) {
|
||||
|
||||
Reference in New Issue
Block a user