-
Notifications
You must be signed in to change notification settings - Fork 468
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: bump ESLint and migrate to new config format #1033
Conversation
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.
Thanks for that 🙏
18126cc
to
bfd03e9
Compare
}, | ||
}, | ||
...compat.config(wdio.configs.recommended), | ||
...compat.extends("plugin:@rnx-kit/recommended", "plugin:wdio/recommended"), |
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.
nit: Is there a way to separate those two actually? we only need WDIO in default-storage, so maybe we can extend our config with wdio there?
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.
This is a separate config file:
// packages/api/eslint.config.js
module.exports = require("@react-native-async-storage/eslint-config");
// packages/default-storage/eslint.config.js
module.exports = require("@react-native-async-storage/eslint-config/recommended-wdio");
Edit: I was going to make recommended-wdio
import from the default one, but it would require us to create two FlatCompat
objects instead. Once this PR lands, I will come back and make this more obvious: microsoft/rnx-kit#2813
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.
Sounds good
🎉 This PR is included in version 1.20.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
Bump ESLint and migrate to new config format
Test Plan
CI should pass.