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

feat: add config recommended-legacy #132

Merged
merged 2 commits into from
Dec 15, 2023
Merged

feat: add config recommended-legacy #132

merged 2 commits into from
Dec 15, 2023

Conversation

aladdin-add
Copy link
Contributor

it also moves rule tests to ./test/rules/, and adds a test for the configs.

fixes #131

@aladdin-add aladdin-add force-pushed the feat/add-legacy-config branch 2 times, most recently from 69cf370 to f729940 Compare December 14, 2023 02:51
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
it also moves rule tests to `./test/rules`, and adds a test for the configs.

fixes #131

Signed-off-by: 唯然 <weiran.zsd@outlook.com>
README.md Outdated
@@ -70,3 +83,4 @@ npm test
| [detect-unsafe-regex](docs/rules/detect-unsafe-regex.md) | Detects potentially unsafe regular expressions, which may take a very long time to run, blocking the event loop. | ✅ |

<!-- end auto-generated rules list -->
````
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this a mistake?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ops, it was auto-gened, will take a look.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There was an issue with the formatting of the js code block above, which should be fine now.

@aladdin-add aladdin-add marked this pull request as draft December 14, 2023 16:46
@aladdin-add aladdin-add marked this pull request as ready for review December 14, 2023 16:56
Copy link
Contributor

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

LGTM.

Just a note: it's easier to review PRs when you don't force-push. You can just add a new commit and push, then GitHub makes it easy to see what changed.

@nzakas nzakas merged commit 13d3f2f into main Dec 15, 2023
10 checks passed
@nzakas nzakas deleted the feat/add-legacy-config branch December 15, 2023 16:53
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.

Bug: Crashes ESLint due to circular reference in config
2 participants