Skip to content

Commit

Permalink
Add react version and link settings (#12)
Browse files Browse the repository at this point in the history
* Add react version and link settings

* Version bump: 2.5.0
  • Loading branch information
dpikt authored Apr 5, 2019
1 parent fa8b0dd commit 3e7dd86
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpadlab/eslint-config",
"version": "2.4.1",
"version": "2.5.0",
"main": "index.js",
"license": "MIT",
"author": "dpikt",
Expand Down
6 changes: 6 additions & 0 deletions react.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ module.exports = {
]
},
'settings': {
'react': {
'version': 'detect',
},
'linkComponents': [
{'name': 'Link', 'linkAttribute': 'to'},
],
'propWrapperFunctions': [ 'exact' ],
}
}

0 comments on commit 3e7dd86

Please sign in to comment.