From 80797ce8ef98adfd81ca4f89c01b126293a9d33b Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Tue, 23 Feb 2021 11:57:31 +0100 Subject: [PATCH] Ignore scripts/ & lib/ --- .eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 9ff5b39..255a136 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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)', },