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: support type-aware rules #5

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

RebeccaStevens
Copy link
Contributor

Description

Adds support for testing type-aware rules.

Linked Issues

fixes #4

@RebeccaStevens RebeccaStevens changed the title feat: support type-aware rule feat: support type-aware rules Aug 5, 2024
RebeccaStevens added a commit to eslint-functional/eslint-plugin-functional that referenced this pull request Aug 5, 2024
@RebeccaStevens
Copy link
Contributor Author

@antfu ping

Copy link
Owner

@antfu antfu left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

Comment on lines 44 to 45
jsx: 'react.jsx',
tsx: 'react.tsx',
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
jsx: 'react.jsx',
tsx: 'react.tsx',
jsx: 'file.jsx',
tsx: 'file.tsx',

Wouldn't it better just having file and be more natural? Any reason react is needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's just how typescript-eslint does it for their tester so I just copied them.

@antfu antfu merged commit a31002e into antfu:main Aug 12, 2024
5 checks passed
@RebeccaStevens RebeccaStevens deleted the 08-02-feat_support_type-aware_rule branch August 12, 2024 13:18
@pauliesnug
Copy link
Contributor

@antfu Is there any docs for this change? If not that's fine

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.

Support for type-aware rules
3 participants