-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update eslint-config and lint apps/mobile
- Loading branch information
Showing
18 changed files
with
1,001 additions
and
657 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,41 @@ | ||
{ | ||
"expo": { | ||
"name": "nativewind-expo-router", | ||
"slug": "nativewind-expo-router", | ||
"name": "expo-monorepo", | ||
"slug": "expo-monorepo", | ||
"version": "1.0.0", | ||
"orientation": "portrait", | ||
"icon": "./assets/images/icon.png", | ||
"scheme": "nativewind-expo-router", | ||
"userInterfaceStyle": "automatic", | ||
"icon": "./assets/icon.png", | ||
"splash": { | ||
"image": "./assets/images/splash.png", | ||
"image": "./assets/splash.png", | ||
"resizeMode": "contain", | ||
"backgroundColor": "#ffffff" | ||
}, | ||
"assetBundlePatterns": ["**/*"], | ||
"updates": { | ||
"fallbackToCacheTimeout": 0 | ||
}, | ||
"assetBundlePatterns": [ | ||
"**/*" | ||
], | ||
"ios": { | ||
"supportsTablet": true, | ||
"userInterfaceStyle": "automatic", | ||
"requireFullScreen": true | ||
"bundleIdentifier": "com.bycedric.expomonorepo", | ||
"buildNumber": "1.0.0", | ||
"supportsTablet": true | ||
}, | ||
"android": { | ||
"userInterfaceStyle": "automatic", | ||
"package": "com.bycedric.expomonorepo", | ||
"adaptiveIcon": { | ||
"foregroundImage": "./assets/images/adaptive-icon.png", | ||
"backgroundColor": "#ffffff" | ||
"foregroundImage": "./assets/adaptive-icon.png", | ||
"backgroundColor": "#FFFFFF" | ||
} | ||
}, | ||
"web": { | ||
"bundler": "metro", | ||
"output": "static", | ||
"favicon": "./assets/images/favicon.png" | ||
}, | ||
"plugins": [ | ||
"expo-router", | ||
[ | ||
"expo-screen-orientation", | ||
{ | ||
"initialOrientation": "DEFAULT" | ||
} | ||
] | ||
], | ||
"experiments": { | ||
"tsconfigPaths": true, | ||
"typedRoutes": true | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,4 @@ | |
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import ReactNativeFeatureFlags from "react-native/Libraries/ReactNative/ReactNativeFeatureFlags"; | ||
// eslint-disable-next-line | ||
import ReactNativeFeatureFlags from 'react-native/Libraries/ReactNative/ReactNativeFeatureFlags'; | ||
|
||
import 'expo-router/entry'; | ||
|
||
// enable the JS-side of the w3c PointerEvent implementation | ||
ReactNativeFeatureFlags.shouldEmitW3CPointerEvents = () => true; | ||
|
||
// enable hover events in Pressibility to be backed by the PointerEvent implementation. | ||
// shouldEmitW3CPointerEvents should also be true | ||
ReactNativeFeatureFlags.shouldPressibilityUseW3CPointerEventsForHover = () => | ||
true; | ||
|
||
import "expo-router/entry"; | ||
ReactNativeFeatureFlags.shouldPressibilityUseW3CPointerEventsForHover = () => true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
darkMode: "class", | ||
content: ["app/**/*.{js,jsx,ts,tsx}"], | ||
presets: [require("nativewind/preset")], | ||
darkMode: 'class', | ||
content: ['app/**/*.{js,jsx,ts,tsx}'], | ||
presets: [require('nativewind/preset')], | ||
plugins: [], | ||
}; |
Oops, something went wrong.