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
@aladdin-add aladdin-add requested a review from nzakas December 14, 2023 02:58
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
@aladdin-add aladdin-add force-pushed the feat/add-legacy-config branch from 2bee9f1 to 1ad8593 Compare December 14, 2023 16:17
@aladdin-add aladdin-add requested a review from nzakas December 14, 2023 16:20
it also moves rule tests to `./test/rules`, and adds a test for the configs.

fixes #131

Signed-off-by: 唯然 <weiran.zsd@outlook.com>
@aladdin-add aladdin-add force-pushed the feat/add-legacy-config branch from 45f2813 to 5dbc55c Compare December 14, 2023 16:26
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 force-pushed the feat/add-legacy-config branch from 114f214 to 88741a3 Compare December 14, 2023 16:52
@aladdin-add aladdin-add marked this pull request as ready for review December 14, 2023 16:56
@aladdin-add aladdin-add requested a review from nzakas December 15, 2023 14:55
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