Ignore scripts/ & lib/
This commit is contained in:
parent
3cb72778cf
commit
80797ce8ef
@ -10,6 +10,7 @@ module.exports = {
|
|||||||
ecmaVersion: 2018,
|
ecmaVersion: 2018,
|
||||||
sourceType: 'module',
|
sourceType: 'module',
|
||||||
},
|
},
|
||||||
|
ignorePatterns: ['scripts', 'lib'],
|
||||||
plugins: ['@typescript-eslint', 'react', 'react-native', '@react-native-community', 'prettier', 'react-hooks'],
|
plugins: ['@typescript-eslint', 'react', 'react-native', '@react-native-community', 'prettier', 'react-hooks'],
|
||||||
extends: [
|
extends: [
|
||||||
'eslint:recommended',
|
'eslint:recommended',
|
||||||
@ -72,7 +73,7 @@ module.exports = {
|
|||||||
|
|
||||||
// react hooks
|
// react hooks
|
||||||
'react-hooks/exhaustive-deps': [
|
'react-hooks/exhaustive-deps': [
|
||||||
'warn',
|
'error',
|
||||||
{
|
{
|
||||||
additionalHooks: '(useDerivedValue|useAnimatedStyle|useAnimatedProps|useWorkletCallback)',
|
additionalHooks: '(useDerivedValue|useAnimatedStyle|useAnimatedProps|useWorkletCallback)',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user