Skip to content

Commit

Permalink
refactor lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzahamidi committed Jun 7, 2020
1 parent 4dfa4fb commit 628abd1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .eslintrc.js
Expand Up @@ -11,6 +11,9 @@ const config = {
asyncArrow: "always"
}
]
},
settings: {
"import/core-modules": [ "core-js" ]
}
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -26,7 +26,7 @@
"indent-string": "^4.0.0",
"lodash.merge": "^4.6.0",
"loglevel-colored-level-prefix": "^1.0.0",
"prettier": "^1.7.0",
"prettier": "^2.0.0",
"pretty-format": "^23.0.1",
"require-relative": "^0.8.7",
"typescript": "^3.2.1",
Expand Down
5 changes: 5 additions & 0 deletions src/index.js
@@ -1,5 +1,10 @@
/* eslint no-console:0, global-require:0, import/no-dynamic-require:0 */
/* eslint complexity: [1, 13] */

// Add node 8 polyfills, to be removed if we decide to let go node 8 support
import 'core-js/modules/es.string.trim-start';
import 'core-js/modules/es.string.trim-end';

import fs from 'fs';
import path from 'path';
import requireRelative from 'require-relative';
Expand Down

0 comments on commit 628abd1

Please sign in to comment.