-
Notifications
You must be signed in to change notification settings - Fork 280
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
chore: eslint-plugin migration #1505
chore: eslint-plugin migration #1505
Conversation
When enabling:
😢 Also, It emits some warnings like: for sorting keys but it's just a warning ohh, but I saw this commit here and since this project is under maintenance mode I think it's okay to not working in fixing those warns. So, I think this PR is okay to be merged since it disables the failing rules. Hey @markocikos, @carloslancha can I hit merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @kresimir-coko, could you run npx yarn-deduplicate
and squash with the changes in the lockfile? When running in my machine it detected some possible optimizations :)
a37d08f
to
c5dda68
Compare
Hey @diegonvs I've ran the command and squashed all commits before force-pushing. So give it another try and lemme know if I need to change anything else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kresimir-coko I tried it out, looks good! yarn lint
:
But, I needed to install these packages, that ended up in root package.json
. If this the result of something missing on my side, or do we need to update these dependencies?
"devDependencies": {
...
"eslint-plugin-notice": "^0.9.10",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-sort-destructure-keys": "^1.3.5",
...
}
I'll investigate a bit later and report back with my findings |
@markocikos so you pulled my changes and just ran |
@kresimir-coko It looks like this was fake news, something was messed up with my repo. After cleaning up I did need to do |
c5dda68
to
d02db4d
Compare
I don't get the issue with
Note: I force-pushed once again because either my initial |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works flawlessly now! 👍
Part of liferay/liferay-frontend-projects#677.
I've disabled rules that were spitting errors so that
yarn lint
returns the same warnings as it does onmaster
.This is my first time contributing here, so if I overlooked something, let me know