Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up configs and flows from Expensify repository template #123

Merged
merged 20 commits into from
Jan 18, 2024

Conversation

robertKozik
Copy link
Collaborator

No description provided.

@tomekzaw tomekzaw self-requested a review January 16, 2024 10:41
.eslintignore Outdated
@@ -1,2 +1,8 @@
**/node_modules/*
parser/react-native-live-markdown-parser.js
**/react-native-live-markdown-parser.js
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not parser/react-native-live-markdown-parser.js?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out react-native-live-markdown-parser.js can be found as well inside android subfolders.

But as we wawnt to setup eslints inside each folder, I'll exclude all files from parser as well (alongside every file js file from android and ios folder)

.eslintignore Outdated Show resolved Hide resolved
.eslintignore Outdated Show resolved Hide resolved
.eslintignore Outdated Show resolved Hide resolved
.eslintignore Outdated Show resolved Hide resolved
.prettierignore Outdated Show resolved Hide resolved
example/ios/LiveMarkdownExample.xcodeproj/project.pbxproj Outdated Show resolved Hide resolved
scripts/pod-install.cjs Outdated Show resolved Hide resolved
src/MarkdownTextInput.web.tsx Outdated Show resolved Hide resolved
.prettierignore Outdated Show resolved Hide resolved
.eslintrc.js Outdated Show resolved Hide resolved
@@ -31,6 +31,10 @@
"test": "jest",
"typecheck": "tsc --noEmit",
"lint": "eslint . --ext .js,.ts,.tsx",
"lint:root": "eslint . --ext .js,.ts,.tsx --ignore-pattern '/example/**/*' --ignore-pattern '/WebExample/**/*' --ignore-pattern '/parser/**/*'",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move --ignore-pattern arguments from here to ignorePatterns option in .eslintrc.json?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we cannot as we just want to ignore this directories while executing lint:root. If we would add it to ignorePatterns no errors would be visible in IDE on there directories

.eslintrc.js Outdated
'@typescript-eslint/no-var-requires': 'warn',
'eqeqeq': 'error',
'no-unreachable': 'error',

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

@tomekzaw tomekzaw merged commit d31f3ac into main Jan 18, 2024
1 check passed
@tomekzaw tomekzaw deleted the merge-expensify-template branch January 18, 2024 09:40
@tomekzaw tomekzaw mentioned this pull request Jan 18, 2024
tomekzaw added a commit that referenced this pull request Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants