Skip to content

Commit

Permalink
fixed package field retrieval for eslint rescript
Browse files Browse the repository at this point in the history
  • Loading branch information
harrysolovay committed Mar 9, 2019
1 parent ef96b30 commit f09731f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions packages/rescripts/use-babel-config/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// fix any babel configuration

const {
allPass,
prop,
Expand Down
2 changes: 1 addition & 1 deletion packages/rescripts/use-eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = source => config =>
}
case 'package':
case 'package.json': {
const eslintConfig = loadFromPackageField('eslintConfig')
const eslintConfig = loadFromPackageField('eslintConfig') // ?
return useConfigFile(eslintConfig, subConfig)
}
default: {
Expand Down

0 comments on commit f09731f

Please sign in to comment.