-
Notifications
You must be signed in to change notification settings - Fork 1
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
this should get the rules working again #35
Conversation
Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 eslint
packages/eslint-plugin-rxjs/src/index.tsOops! Something went wrong! :( ESLint: 9.17.0 ESLint couldn't find an eslint.config.(js|mjs|cjs) file. From ESLint v9.0.0, the default configuration file is now eslint.config.js. https://eslint.org/docs/latest/use/configure/migration-guide If you still have problems after following the migration guide, please stop by WalkthroughThe pull request introduces a change in the module export mechanism for the RxJS ESLint plugin. The modification switches the export style from ES module syntax to CommonJS, specifically changing how the Changes
Poem
Tip CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)packages/eslint-plugin-rxjs/src/index.ts (1)
This change looks good for ensuring compatibility in environments or tooling expecting CommonJS. However, double-check that any ES import statements in the consuming code—e.g., Run the following script to find references to ES imports of this plugin throughout the codebase: ✅ Verification successfulNo impact found from CommonJS export change Based on the verification results, there are no direct ES imports of this plugin found in the codebase. While the plugin is referenced in package.json files, this is normal for package dependencies. The change from ESM default export to CommonJS export appears to be safe as:
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Detect ES import statements referencing the plugin
rg -A 3 "import .* from ['\"]@smarttools/rxjs['\"]"
Length of output: 57 Script: #!/bin/bash
# Let's try searching for any import statements referencing 'eslint-plugin-rxjs' instead
rg -A 3 "import .* from ['\"]eslint-plugin-rxjs['\"]"
# Also search for potential require statements
rg "require\(['\"]eslint-plugin-rxjs['\"]\)"
# Let's also check package.json files to see if this plugin is a dependency somewhere
fd "package.json" --exec grep -l "eslint-plugin-rxjs"
Length of output: 220 Script: #!/bin/bash
# Let's examine the package.json files to understand how the plugin is being used
cat package.json | jq '.dependencies["eslint-plugin-rxjs"] // .devDependencies["eslint-plugin-rxjs"]'
cat packages/eslint-plugin-rxjs/package.json | jq '.dependencies["eslint-plugin-rxjs"] // .devDependencies["eslint-plugin-rxjs"]'
# Let's also check the eslint config files for how the plugin is being used
fd "\.eslintrc" --exec cat {}
Length of output: 279 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
View your CI Pipeline Execution ↗ for commit afecb8e.
☁️ Nx Cloud last updated this comment at |
Issue Number: #34
Body
Rollback to using module.exports
Summary by CodeRabbit