Created
March 24, 2020 09:43
-
-
Save wouterds/2f98921a5fb6e4f840c75568084bc3f1 to your computer and use it in GitHub Desktop.
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, | |
parser: '@typescript-eslint/parser', | |
plugins: [ | |
'@typescript-eslint', | |
'react', | |
'react-hooks', | |
'prettier', | |
], | |
extends: [ | |
'@react-native-community', | |
'plugin:@typescript-eslint/eslint-recommended', | |
'plugin:@typescript-eslint/recommended', | |
'plugin:prettier/recommended', | |
'prettier/react', | |
'prettier/standard', | |
], | |
rules: { | |
'no-unused-vars': 'error', | |
'no-undef': 'error', | |
'react-hooks/rules-of-hooks': 'error', | |
'react-hooks/exhaustive-deps': 'error', | |
'@typescript-eslint/explicit-function-return-type': 'off', | |
'@typescript-eslint/no-empty-function': 'warn', | |
'@typescript-eslint/ban-ts-ignore': 'warn', | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment