add no-duplicate-imports to eslint

main
raboid 6 years ago committed by Michael Fix
parent fdaa990ab2
commit f261c84e00

@ -19,7 +19,8 @@ module.exports = {
'react/display-name': 'off', 'react/display-name': 'off',
'react/jsx-uses-react': 'error', 'react/jsx-uses-react': 'error',
'react/jsx-uses-vars': 'error', 'react/jsx-uses-vars': 'error',
'import/no-unresolved': 2 'import/no-unresolved': 'error',
'no-duplicate-imports': 'error'
}, },
settings: { settings: {
react: { react: {

Loading…
Cancel
Save