* Add react version to prevent warning when running eslint

* Ignore eslint issues in the legacy block
This commit is contained in:
Kelly Dwan 2018-11-30 13:18:52 -05:00 committed by GitHub
parent e9b3b341e5
commit 95b4092567
2 changed files with 6 additions and 0 deletions

View File

@ -3,3 +3,4 @@ build-module
coverage
node_modules
vendor
legacy

View File

@ -29,6 +29,11 @@ module.exports = {
'jsx-a11y',
'jest',
],
settings: {
react: {
"version": "16.6",
}
},
rules: {
'array-bracket-spacing': [ 'error', 'always' ],
'arrow-parens': [ 'error', 'always' ],