Skip to content

Commit 46c1632

Browse files
author
haytherecharlie
committed
feat(tde-00): expo 52
1 parent 1c00a25 commit 46c1632

36 files changed

+4225
-8513
lines changed

.eslintrc

Lines changed: 0 additions & 15 deletions
This file was deleted.

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"bracketSpacing": true,
55
"endOfLine": "lf",
66
"jsxSingleQuote": false,
7-
"printWidth": 150,
7+
"printWidth": 200,
88
"semi": false,
99
"singleQuote": true,
1010
"tabWidth": 2,

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ Two sample screens have been created, so everything will run out of the box. Als
2626

2727
- `hooks`: Reusable hooks.
2828

29-
- `types`: Global and local typings.
30-
3129
- `utils`: Helpers and reusable methods.
3230

3331
---

app.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@
66
"version": "1.0.0",
77
"orientation": "portrait",
88
"icon": "./src/assets/images/app-icon.png",
9+
"userInterfaceStyle": "automatic",
10+
"newArchEnabled": true,
911
"splash": {
1012
"image": "./src/assets/images/splash.png",
1113
"backgroundColor": "#222"
1214
},
13-
"assetBundlePatterns": [
14-
"**/*"
15-
],
15+
"experiments": {
16+
"reactServerFunctions": false
17+
},
18+
"assetBundlePatterns": ["assets/*"],
1619
"ios": {
1720
"supportsTablet": false
1821
},
@@ -25,12 +28,10 @@
2528
},
2629
"web": {
2730
"favicon": "./src/assets/images/app-icon.png",
31+
"output": "static",
2832
"bundler": "metro"
2933
},
30-
"plugins": [
31-
"expo-router",
32-
"expo-font"
33-
],
34+
"plugins": ["expo-router", "expo-font"],
3435
"extra": {
3536
"router": {
3637
"origin": false

eslint.config.mjs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import globals from 'globals'
2+
import pluginJs from '@eslint/js'
3+
import tseslint from 'typescript-eslint'
4+
import pluginReact from 'eslint-plugin-react'
5+
6+
/** @type {import('eslint').Linter.Config[]} */
7+
export default [
8+
{ files: ['**/*.{js,mjs,cjs,ts,jsx,tsx}'] },
9+
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
10+
pluginJs.configs.recommended,
11+
...tseslint.configs.recommended,
12+
pluginReact.configs.flat.recommended,
13+
{
14+
plugins: { react: pluginReact },
15+
settings: { react: { version: '^18.3.1' } },
16+
rules: {
17+
'react/react-in-jsx-scope': 'off',
18+
'@typescript-eslint/no-empty-object-type': 'off',
19+
'@typescript-eslint/no-require-imports': 'off'
20+
}
21+
}
22+
]

global.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/* Asset Extensions */
2+
declare module '*.png'
3+
declare module '*.svg'
4+
declare module '*.jpeg'
5+
declare module '*.jpg'
6+
declare module '*.otf'
7+
8+
/* Styled Components */
9+
declare module 'styled-components' {
10+
import type { CSSProp } from 'styled-components'
11+
import { appTheme } from 'src/config/theme'
12+
type ThemeType = typeof appTheme
13+
export interface DefaultTheme extends ThemeType {}
14+
}

0 commit comments

Comments
 (0)