Skip to content

Commit a52f783

Browse files
sonicoder86ngabor84
andcommitted
fix(release): linting issues
EME-5173 Co-authored-by: Gabor Nemeth <gabor.nemeth@emarsys.com>
1 parent a23f37f commit a52f783

File tree

9 files changed

+3
-21
lines changed

9 files changed

+3
-21
lines changed

examples/express.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use strict';
2-
31
const express = require('express');
42
const { createLogger } = require('../dist');
53
const clsAdapter = require('@emartech/cls-adapter');

examples/index-js.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use strict';
2-
31
process.env.DEBUG = 'redis';
42
const { createLogger } = require('../dist');
53

examples/koa.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use strict';
2-
31
const Koa = require('koa');
42
const { createLogger } = require('../dist');
53

src/index.spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use strict';
2-
31
const { createLogger, Logger } = require('./index');
42

53
describe('createLogger', function() {

src/output/color-name/color-name.spec.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
'use strict';
2-
31
const { ColorName } = require('./color-name');
42

53
describe('colorName', function() {
6-
afterEach(function () {
4+
afterEach(function() {
75
ColorName.reset();
86
});
97

src/output/format-body/format-body.spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use strict';
2-
31
const { formatBody } = require('./format-body');
42

53
describe('formatBody', function() {

src/output/format-body/format-body.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use strict';
2-
31
export function formatBody(logBody: any) {
42
const log = Object.assign({}, logBody);
53

src/output/stringify-level/stringify-level.spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use strict';
2-
31
const { stringifyLevel } = require('./stringify-level');
42

53
describe('stringifyLevel', function() {

src/setup.spec.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use strict';
2-
31
const sinon = require('sinon');
42
const chai = require('chai');
53
const sinonChai = require('sinon-chai');
@@ -8,12 +6,12 @@ global.expect = require('chai').expect;
86
chai.use(sinonChai);
97
global.expect = chai.expect;
108

11-
beforeEach(function () {
9+
beforeEach(function() {
1210
this.sandbox = sinon.createSandbox();
1311
this.clock = sinon.useFakeTimers();
1412
});
1513

16-
afterEach(function () {
14+
afterEach(function() {
1715
this.sandbox.restore();
1816
this.sandbox = undefined;
1917
this.clock.restore();

0 commit comments

Comments
 (0)