Skip to content

Commit 7d807c7

Browse files
committed
Merge branch 'main' into vit-tieredBankAccountFlow
2 parents 5046ed2 + d75acaf commit 7d807c7

File tree

1,401 files changed

+54989
-73564
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,401 files changed

+54989
-73564
lines changed

.eslintrc.js

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const restrictedImportPatterns = [
2424
];
2525

2626
module.exports = {
27-
extends: ['expensify', 'plugin:storybook/recommended', 'plugin:react-hooks/recommended', 'plugin:react-native-a11y/basic', 'prettier'],
27+
extends: ['expensify', 'plugin:storybook/recommended', 'plugin:react-hooks/recommended', 'plugin:react-native-a11y/basic', 'plugin:@dword-design/import-alias/recommended', 'prettier'],
2828
plugins: ['react-hooks', 'react-native-a11y'],
2929
parser: 'babel-eslint',
3030
ignorePatterns: ['!.*', 'src/vendor', '.github/actions/**/index.js', 'desktop/dist/*.js', 'dist/*.js', 'node_modules/.bin/**', 'node_modules/.cache/**', '.git/**'],
@@ -49,8 +49,31 @@ module.exports = {
4949
touchables: ['PressableWithoutFeedback', 'PressableWithFeedback'],
5050
},
5151
],
52+
'@dword-design/import-alias/prefer-alias': [
53+
'warn',
54+
{
55+
alias: {
56+
'@assets': './assets',
57+
'@components': './src/components',
58+
'@hooks': './src/hooks',
59+
// This is needed up here, if not @libs/actions would take the priority
60+
'@userActions': './src/libs/actions',
61+
'@libs': './src/libs',
62+
'@navigation': './src/libs/Navigation',
63+
'@pages': './src/pages',
64+
'@styles': './src/styles',
65+
// This path is provide alias for files like `ONYXKEYS` and `CONST`.
66+
'@src': './src',
67+
},
68+
},
69+
],
5270
},
5371
},
72+
// This helps disable the `prefer-alias` rule to be enabled for specific directories
73+
{
74+
files: ['tests/**/*.js', 'tests/**/*.ts', 'tests/**/*.jsx', 'assets/**/*.js', '.storybook/**/*.js'],
75+
rules: {'@dword-design/import-alias/prefer-alias': ['off']},
76+
},
5477
{
5578
files: ['*.js', '*.jsx'],
5679
settings: {

.github/ISSUE_TEMPLATE/Standard.md

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -42,45 +42,8 @@ Which of our officially supported platforms is this issue occurring on?
4242
- [ ] MacOS: Desktop
4343

4444
## Screenshots/Videos
45-
<details>
46-
<summary>Android: Native</summary>
4745

48-
<!-- add screenshots or videos here -->
49-
50-
</details>
51-
52-
<details>
53-
<summary>Android: mWeb Chrome</summary>
54-
55-
<!-- add screenshots or videos here -->
56-
57-
</details>
58-
59-
<details>
60-
<summary>iOS: Native</summary>
61-
62-
<!-- add screenshots or videos here -->
63-
64-
</details>
65-
66-
<details>
67-
<summary>iOS: mWeb Safari</summary>
68-
69-
<!-- add screenshots or videos here -->
70-
71-
</details>
72-
73-
<details>
74-
<summary>MacOS: Chrome / Safari</summary>
75-
76-
<!-- add screenshots or videos here -->
77-
78-
</details>
79-
80-
<details>
81-
<summary>MacOS: Desktop</summary>
82-
83-
<!-- add screenshots or videos here -->
46+
Add any screenshot/video evidence
8447

8548
</details>
8649

.github/actions/composite/setupGitForOSBotifyApp/action.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,21 @@ outputs:
2424
runs:
2525
using: composite
2626
steps:
27+
- name: Check if gpg encrypted private key is present
28+
id: key_check
29+
shell: bash
30+
run: |
31+
if [[ -f .github/workflows/OSBotify-private-key.asc.gpg ]]; then
32+
echo "::set-output name=key_exists::true"
33+
fi
34+
35+
- name: Checkout
36+
uses: actions/checkout@v3
37+
if: steps.key_check.outputs.key_exists != 'true'
38+
with:
39+
sparse-checkout: |
40+
.github
41+
2742
- name: Decrypt OSBotify GPG key
2843
run: cd .github/workflows && gpg --quiet --batch --yes --decrypt --passphrase=${{ inputs.GPG_PASSPHRASE }} --output OSBotify-private-key.asc OSBotify-private-key.asc.gpg
2944
shell: bash

0 commit comments

Comments
 (0)