Ignore scripts/ & lib/

This commit is contained in:
Marc Rousavy 2021-02-23 11:57:31 +01:00
parent 3cb72778cf
commit 80797ce8ef

View File

@ -10,6 +10,7 @@ module.exports = {
ecmaVersion: 2018,
sourceType: 'module',
},
ignorePatterns: ['scripts', 'lib'],
plugins: ['@typescript-eslint', 'react', 'react-native', '@react-native-community', 'prettier', 'react-hooks'],
extends: [
'eslint:recommended',
@ -72,7 +73,7 @@ module.exports = {
// react hooks
'react-hooks/exhaustive-deps': [
'warn',
'error',
{
additionalHooks: '(useDerivedValue|useAnimatedStyle|useAnimatedProps|useWorkletCallback)',
},