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

honour .gitignore when linting filesystems #166

Closed
allanbowe opened this issue Aug 2, 2022 · 1 comment · Fixed by #167
Closed

honour .gitignore when linting filesystems #166

allanbowe opened this issue Aug 2, 2022 · 1 comment · Fixed by #167
Assignees
Labels

Comments

@allanbowe
Copy link
Member

allanbowe commented Aug 2, 2022

If we can support regex, we should always ignore those files present in the .gitignore file

In addition, we should add a new attribute to .sasjslint with the following example:

    "ignoreList":[
      "some/relative/directory",
      "/full/path",
      "relative/file.sas",
      "/path/to/file.sas"
    ]

ignoreList would contain a mix of files and directories. For files, we only need to accept .sas as that is the only file type that we lint.

The array items could be relative (to the .sasjslint file) or absolute.

@sasjsbot
Copy link

🎉 This issue has been resolved in version 1.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants