Skip to content

Commit

Permalink
Resolve linter errors (#1997)
Browse files Browse the repository at this point in the history
  • Loading branch information
djordjekovac authored Aug 8, 2022
1 parent 8e083f3 commit 52d98b8
Show file tree
Hide file tree
Showing 58 changed files with 1,037 additions and 1,793 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module.exports = {
env: {
es7: true,
es6: true,
node: true,
},
extends: ['airbnb/base', 'prettier'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2018,
ecmaVersion: 2021,
},
rules: {
'linebreak-style': ['error', 'unix'],
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-console */
require('dotenv').config();
const fs = require('fs-extra');
const path = require('path');
Expand Down
76 changes: 0 additions & 76 deletions migrations/20211117005500-create-commands.js

This file was deleted.

33 changes: 0 additions & 33 deletions migrations/20211117005501-create-assertions.js

This file was deleted.

42 changes: 0 additions & 42 deletions migrations/20211117005502-create-jobs.js

This file was deleted.

31 changes: 0 additions & 31 deletions migrations/20211117005504-create-handler_ids.js

This file was deleted.

18 changes: 0 additions & 18 deletions migrations/20211117005505-update-handler_ids.js

This file was deleted.

29 changes: 0 additions & 29 deletions migrations/20220406102807-update-assertions.js

This file was deleted.

1 change: 1 addition & 0 deletions modules/logger/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class Logger {
level: logLevel,
});
} catch (e) {
// eslint-disable-next-line no-console
console.error(`Failed to create logger. Error message: ${e.message}`);
}
}
Expand Down
1 change: 1 addition & 0 deletions modules/logger/pino-pretty-transport.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// pino-pretty-transport.js
// eslint-disable-next-line global-require
module.exports = opts => require('pino-pretty')({
...opts,
translateTime: 'yyyy-mm-dd HH:MM:ss',
Expand Down
93 changes: 0 additions & 93 deletions modules/migration/m1-folder-structure-initial-migration.js

This file was deleted.

Loading

0 comments on commit 52d98b8

Please sign in to comment.