Skip to content

Commit

Permalink
fix(): Fixed eslint config to work in new environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
swernerx committed Aug 17, 2017
1 parent 69c4721 commit 989b070
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ module.exports = {
settings: {
flowtype: {
onlyFilesWithFlowAnnotation: true
}
},
'import/resolver': {
node: {
extensions: ['.js', '.css', '.json', '.styl']
}
},
'import/extensions': ['.js'],
'import/ignore': ['node_modules', 'flow-typed', '\\.(css|styl|svg|json)$']
},
globals: {
window: true,
Expand All @@ -29,14 +36,8 @@ module.exports = {
expect: true,
beforeEach: true
},
'import/resolver': {
node: {
extensions: ['.js', '.css', '.json', '.styl']
}
},
'import/extensions': ['.js'],
'import/ignore': ['node_modules', 'flow-typed', '\\.(css|styl|svg|json)$'],
rules: {
'jsx-a11y/href-no-hash': 0,
'no-shadow': 0,
'no-use-before-define': 0,
'no-param-reassign': 0,
Expand Down

0 comments on commit 989b070

Please # to comment.