Fix linting errors from eslint-plugin-react
This commit is contained in:
1 parent
179d313436
commit
2464da2885
1 file changed
+5
@@ -13,5 +13,10 @@ module.exports = {
|
||||
'import/no-amd': 'error',
|
||||
'import/no-nodejs-modules': 'error',
|
||||
'react/jsx-no-literals': 'error'
|
||||
},
|
||||
settings: {
|
||||
react: {
|
||||
version: '16.2' // Prevent 16.3 lifecycle method errors
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user