Fix include

This commit is contained in:
Marc Rousavy 2021-02-20 17:09:57 +01:00
parent fdbd45871a
commit 49f0169ee4
3 changed files with 10 additions and 4 deletions

View File

@ -3,7 +3,7 @@ module.exports = {
parser: '@typescript-eslint/parser', parser: '@typescript-eslint/parser',
parserOptions: { parserOptions: {
tsconfigRootDir: __dirname, tsconfigRootDir: __dirname,
project: ["./tsconfig.json"], project: ['./tsconfig.json'],
ecmaFeatures: { ecmaFeatures: {
jsx: true, jsx: true,
}, },

View File

@ -1,3 +1,3 @@
module.exports = { module.exports = {
presets: ['module:metro-react-native-babel-preset'] presets: ['module:metro-react-native-babel-preset'],
}; };

View File

@ -26,9 +26,15 @@
"target": "esnext", "target": "esnext",
"outDir": "lib" "outDir": "lib"
}, },
"include": [
"src",
"example",
".eslintrc.js",
".prettierrc.js",
"babel.config.js",
],
"exclude": [ "exclude": [
"node_modules", "node_modules",
"babel.config.js", "lib"
"jest.config.js"
] ]
} }