Created
July 12, 2022 16:14
-
-
Save estevam5s/c5691307ef06512f33c8bf2e2f3ac7a8 to your computer and use it in GitHub Desktop.
.eslintrc
This file contains 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
{ | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"jest": true | |
}, | |
"plugins": [ | |
"react-native", | |
"jsx-a11y", | |
"import" | |
], | |
"extends": [ | |
"airbnb", | |
"plugin:react-native/all" | |
], | |
"rules": { | |
"react/jsx-filename-extension": [ | |
"error", | |
{ | |
"extensions": [ | |
".js", | |
".jsx" | |
] | |
} | |
], | |
"global-require": "off", | |
"no-console": "off", | |
"import/prefer-default-export": "off", | |
"no-unused-vars": [ | |
"error", | |
{ | |
"argsIgnorePattern": "^_" | |
} | |
] | |
}, | |
"globals": { | |
"__DEV__": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment