From 49f0169ee40d72d29a16358e811de100e2f99529 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Sat, 20 Feb 2021 17:09:57 +0100 Subject: [PATCH] Fix include --- .eslintrc.js | 2 +- babel.config.js | 2 +- tsconfig.json | 10 ++++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 9c75611..aa02b15 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -3,7 +3,7 @@ module.exports = { parser: '@typescript-eslint/parser', parserOptions: { tsconfigRootDir: __dirname, - project: ["./tsconfig.json"], + project: ['./tsconfig.json'], ecmaFeatures: { jsx: true, }, diff --git a/babel.config.js b/babel.config.js index 6403cbe..f842b77 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,3 +1,3 @@ module.exports = { - presets: ['module:metro-react-native-babel-preset'] + presets: ['module:metro-react-native-babel-preset'], }; diff --git a/tsconfig.json b/tsconfig.json index 16844d6..4d7b584 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -26,9 +26,15 @@ "target": "esnext", "outDir": "lib" }, + "include": [ + "src", + "example", + ".eslintrc.js", + ".prettierrc.js", + "babel.config.js", + ], "exclude": [ "node_modules", - "babel.config.js", - "jest.config.js" + "lib" ] }