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

Issues with --ignore #3

Open
petar-stoyanov7 opened this issue Sep 14, 2018 · 0 comments
Open

Issues with --ignore #3

petar-stoyanov7 opened this issue Sep 14, 2018 · 0 comments

Comments

@petar-stoyanov7
Copy link

petar-stoyanov7 commented Sep 14, 2018

Hello,

First of all - thanks for sharing this project!

I'm having issue with the --ignore option. I've created a sample project with two subdirectories, one of which (faildir) contains a file (fail.go), which triggers flint.

├── faildir
│   └── fail.go
├── README.md
├── somedir
│   └── normie.go
└── square.go

When I try to ignore the "faildir" - it still scans it:

$ flint -ignore "faildir*" ./...
faildir/fail.go => plugin 'imports' failed: the 2nd emptyline is not allowed inside import
Found 1 lint suggestions; failing.

I tried supplying "faildir/*", "faildir/*.*" - to no avail.

Please let me know if I do something wrong! Thank you in advance!

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