Skip to content

Instantly share code, notes, and snippets.

@Falconiere
Created March 7, 2020 20:28
Show Gist options
  • Save Falconiere/04760658416ae98aa4e77fb48e1f69fb to your computer and use it in GitHub Desktop.
Save Falconiere/04760658416ae98aa4e77fb48e1f69fb to your computer and use it in GitHub Desktop.
My eslint configuration for react-native app
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