Skip to content

Commit

Permalink
feat(deps): upgrade to the latest prettier-eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kent C. Dodds committed Apr 11, 2017
1 parent 8e14dca commit 0442cf8
Show file tree
Hide file tree
Showing 4 changed files with 605 additions and 414 deletions.
4 changes: 2 additions & 2 deletions __mocks__/get-stdin.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = jest.fn(async function mockGetStdin() {
return module.exports.stdin
module.exports = jest.fn(function mockGetStdin() {
return Promise.resolve(module.exports.stdin)
})

module.exports.stdin = ''
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,29 @@
"find-up": "^2.1.0",
"get-stdin": "^5.0.1",
"glob": "^7.1.1",
"ignore": "^3.2.4",
"ignore": "^3.2.7",
"indent-string": "^3.1.0",
"lodash.memoize": "^4.1.2",
"loglevel-colored-level-prefix": "^1.0.0",
"messageformat": "^1.0.2",
"prettier-eslint": "^4.4.0",
"rxjs": "^5.2.0",
"yargs": "^6.6.0"
"prettier-eslint": "^5.0.0",
"rxjs": "^5.3.0",
"yargs": "^7.0.2"
},
"devDependencies": {
"all-contributors-cli": "^4.0.1",
"babel-cli": "^6.23.0",
"all-contributors-cli": "^4.1.0",
"babel-cli": "^6.24.1",
"babel-jest": "^19.0.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.1.10",
"babel-preset-stage-2": "^6.18.0",
"babel-register": "^6.23.0",
"codecov": "^1.0.1",
"babel-preset-env": "^1.3.3",
"babel-preset-stage-2": "^6.24.1",
"babel-register": "^6.24.1",
"codecov": "^2.1.0",
"commitizen": "^2.9.6",
"cz-conventional-changelog": "^2.0.0",
"eslint": "^3.16.1",
"eslint-config-kentcdodds": "^11.1.0",
"husky": "^0.13.1",
"eslint": "^3.19.0",
"eslint-config-kentcdodds": "^12.2.1",
"husky": "^0.13.3",
"jest-cli": "^19.0.2",
"opt-cli": "^1.5.1",
"p-s": "^3.0.3",
Expand All @@ -57,7 +57,7 @@
"semantic-release": "^6.3.3",
"spawn-command": "^0.0.2-1",
"strip-indent": "^2.0.0",
"validate-commit-msg": "^2.8.2",
"validate-commit-msg": "^2.12.1",
"yargs-parser": "^5.0.0"
},
"eslintConfig": {
Expand Down
4 changes: 2 additions & 2 deletions src/format-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const logger = getLogger({prefix: 'prettier-eslint-cli'})

export default formatFilesFromArgv

async function formatFilesFromArgv(
function formatFilesFromArgv(
{
_: fileGlobs,
logLevel = logger.getLevel(),
Expand Down Expand Up @@ -76,7 +76,7 @@ async function formatStdin(prettierESLintOptions) {
}
}

async function formatFilesFromGlobs(
function formatFilesFromGlobs(
fileGlobs,
ignoreGlobs,
cliOptions,
Expand Down
Loading

0 comments on commit 0442cf8

Please sign in to comment.