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

Ignore node_modules directory or add option to exclude directories from linting #29

Open
leontraykov opened this issue Sep 20, 2024 · 0 comments

Comments

@leontraykov
Copy link

leontraykov commented Sep 20, 2024

Hello,

In our Rails application, we have a combination of Cuke_linter and Prettier with prettier-plugin-gherkin for working with feature files.

This plugin places negative tests in the node_modules directory, which Cuke_linter reacts to.

Expected Behavior

Cuke_linter should either ignore the node_modules directory by default or provide an option to exclude specific directories from checks.

Proposed Solution

Add the node_modules directory to the list of directories ignored by default.
OR Implement an option to specify directories that should be excluded from checks (e.g., through a configuration file or command-line parameter).

Steps to Reproduce

Set up a Rails project with Prettier and prettier-plugin-gherkin
Install Cuke_linter
Run cuke_linter
Observe that it reports issues in the node_modules directory

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

No branches or pull requests

1 participant