Skip to content

Commit

Permalink
Fix ts config and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofwoldrich committed Dec 4, 2023
1 parent d164636 commit 916c4ef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
settings: {
version: 'detect', // React version. "detect" automatically picks the version you have installed.
},
ignorePatterns: ['test/react-native/versions/**/*', 'coverage/**/*', 'test/typescript/**/*'],
ignorePatterns: ['test/react-native/versions/**/*', 'coverage/**/*', 'test/typescript/**/*', 'metro.d.ts'],
overrides: [
{
// Typescript Files
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"exclude": ["node_modules"],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"metro": ["node_modules/metro/src/index"]
},
"outDir": "dist",
"rootDir": "src",
"lib": ["es7"],
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.build.tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"exclude": ["node_modules"],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"metro": ["node_modules/metro/src/index"]
},
"outDir": "dist",
"rootDir": "src",
"lib": ["es7"],
Expand Down

0 comments on commit 916c4ef

Please sign in to comment.