Created
March 7, 2020 20:28
-
-
Save Falconiere/04760658416ae98aa4e77fb48e1f69fb to your computer and use it in GitHub Desktop.
My eslint configuration for react-native app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
root: true, | |
extends:[ | |
'@react-native-community', | |
"plugin:import/errors", | |
"plugin:import/warnings" | |
], | |
"settings": { | |
"import/resolver": { | |
"babel-module": {} | |
} | |
}, | |
rules: { | |
semi: ["error", "never"], | |
'comma-dangle': ["error", "never"], | |
"react/prop-types": 1, | |
"react/no-unused-prop-types": 1, | |
"no-return-assign": ["off"], | |
"no-unused-vars": "error" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment