sasjs / lint

Linting and formatting for SAS® code

Home Page:https://sasjs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

honour `.gitignore` when linting filesystems

allanbowe opened this issue · comments

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.

🎉 This issue has been resolved in version 1.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀