Skip to content

Commit

Permalink
fix: Use require.resolve to resolve babel-eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Okonetchnikov authored and okonet committed Sep 11, 2017
1 parent c9e0f2b commit 4dad21b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"homepage": "https://github.com/okonet/eslint-config-okonet#readme",
"dependencies": {
"babel-eslint": "^7.0.0",
"babel-eslint": "^7.2.3",
"eslint-config-airbnb": "^15.1.0",
"eslint-config-prettier": "^2.3.0",
"eslint-plugin-flowtype": "^2.19.0",
Expand Down
2 changes: 1 addition & 1 deletion react.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

module.exports = {
parser: 'babel-eslint',
parser: require.resolve('babel-eslint'),
parserOptions: {
sourceType: 'module'
},
Expand Down

0 comments on commit 4dad21b

Please sign in to comment.