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

Setup custom eslint plugin #5553

Merged
merged 38 commits into from
Feb 21, 2024
Merged

Setup custom eslint plugin #5553

merged 38 commits into from
Feb 21, 2024

Conversation

Latropos
Copy link
Contributor

@Latropos Latropos commented Jan 4, 2024

Summary

Setup custom eslint plugi with one rule - no animated style in non animated component. This rule is turned on in example app.

Test plan

@Latropos Latropos marked this pull request as ready for review January 31, 2024 16:30
app/yarn.lock Show resolved Hide resolved
@tjzel
Copy link
Collaborator

tjzel commented Feb 7, 2024

If you're adding this and it's supposed to be a part of our public API you should also acknowledge it in the docs.

@Latropos
Copy link
Contributor Author

Latropos commented Feb 7, 2024

@tjzel Yes, but we probably should publish it before adding documentation and we also shouldn't make this PR too big.

@Latropos Latropos requested a review from tjzel February 7, 2024 11:49
@tjzel
Copy link
Collaborator

tjzel commented Feb 7, 2024

Why though? If it's tested sufficiently then I see no reason to add the docs immediately. Also change in the docs is independent of the code you already made, that's not really bloating this PR.

@Latropos
Copy link
Contributor Author

Latropos commented Feb 7, 2024

@tjzel
This plugin isn't going to be published with reanimated yet 🤫

@tjzel
Copy link
Collaborator

tjzel commented Feb 7, 2024

Ah, then nvm my rant 😅 🤯

Copy link
Collaborator

@tjzel tjzel left a comment

Choose a reason for hiding this comment

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

Add the tests and correct some minor things and we should be good to go!

Latropos and others added 3 commits February 8, 2024 10:21
Co-authored-by: Tomasz Żelawski <40713406+tjzel@users.noreply.github.com>
@Latropos Latropos requested a review from tjzel February 8, 2024 11:09
@Latropos Latropos requested a review from tjzel February 13, 2024 11:51
@Latropos
Copy link
Contributor Author

@tjzel
I've changed test order of the tests. Here is also the screenshot of how the testing look in terminal:

image

Copy link
Collaborator

@tjzel tjzel left a comment

Choose a reason for hiding this comment

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

Finally! 😻

:shipit:

@tomekzaw tomekzaw requested review from piaskowyk and removed request for piaskowyk February 20, 2024 16:00
@Latropos Latropos added this pull request to the merge queue Feb 21, 2024
Merged via the queue into main with commit ce38226 Feb 21, 2024
7 checks passed
@Latropos Latropos deleted the acynk/eslint-plugin branch February 21, 2024 09:40
github-merge-queue bot pushed a commit that referenced this pull request Feb 22, 2024
## Summary

With
#5553
were merged unnecessary changes in `app/yarn.lock`.
Cause:
`esbuild` from `eslintPlugin/package.json` was moved from `dependency`
to `devDependency` without regeneration of `app/package.json`
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