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

Bug: (Issue with Path Configuration Not Recognizing 'src/*.{tsx}' Pattern #228

Open
1 task
amir-ben-shimol opened this issue Jan 22, 2024 · 0 comments
Open
1 task
Labels
bug Something isn't working

Comments

@amir-ben-shimol
Copy link

Environment

Node version: 20.11.0
npm version: 10.2.4
Local Inflint version: 2.1.1
Global Inflint version: 2.1.1
Operating System: macos

What did you do?

Configuration
const inflintConfig = {
	rules: {
		'src/*.tsx': [2, 'kebab-case'],
	},
};

What did you expect to happen?

When I define the path as src/*.{tsx}, the configuration correctly identifies all files ending with .tsx in the src folder.

What actually happened?

The path does not seem to point to any .tsx files under my src directory.

Participation

  • I am willing to submit a pull request for this issue.

Additional comments

This issue limits the flexibility of path configurations, especially in projects where similar patterns might be used for multiple file types.

@amir-ben-shimol amir-ben-shimol added the bug Something isn't working label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant