-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
104 additions
and
23 deletions.
There are no files selected for viewing
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,8 +1,24 @@ | ||
{ | ||
// You shouldn't use formatter with this ESLint config | ||
"[javascript][javascriptreact][typescript][typescriptreact][json][jsonc]": { | ||
"editor.formatOnSave": false, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit" | ||
} | ||
} | ||
}, | ||
|
||
// If you do not want to auto fix some rules on save | ||
// You can put this in your user settings or workspace settings | ||
"eslint.codeActionsOnSave.rules": [ | ||
"!prefer-const", | ||
"!unused-imports/no-unused-imports", | ||
"!@stylistic/jsx-self-closing-comp", | ||
"!tailwindcss/classnames-order", | ||
"*" | ||
], | ||
|
||
// You can also silent all auto fixable rules | ||
"eslint.rules.customizations": [ | ||
{ "rule": "*", "fixable": true, "severity": "off" } | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { createNativeBottomTabNavigator } from '@bottom-tabs/react-navigation' | ||
import { withLayoutContext } from 'expo-router' | ||
|
||
export const Tabs = withLayoutContext( | ||
createNativeBottomTabNavigator().Navigator, | ||
) |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.