-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: upgrade eslint to v5 #298
Conversation
N.b. needs to manually run patterns to lint through the glob module before linting until eslint/eslint#10587 is resolved.
9b0dbf6
to
42a8925
Compare
src/lint.js
Outdated
@@ -4,6 +4,8 @@ const CLIEngine = require('eslint').CLIEngine | |||
const path = require('path') | |||
const formatter = CLIEngine.getFormatter() | |||
const userConfig = require('./config/user') | |||
const promisify = require('util').promisify | |||
const glob = promisify(require('glob')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you pls change to https://www.npmjs.com/package/globby which already has a promise api and is based on https://github.com/mrmlnc/fast-glob which is faster than glob
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
@hugomrdias thanks for merging - any chance of this being released? |
Sure I'll release it asap. On my phone right now |
N.b. needs to manually run patterns to lint through the glob module before linting until eslint/eslint#10587 is resolved.