Skip to content

Feature Request: Add Support for .cflintignore File #43

Description

@cybersonic

Currently, ignoring folders during scans requires creating a .cflintrc file in the target folder with an empty includes: [{}]. This approach is cumbersome and not ideal, especially for folders containing external libraries or dependencies. These folders often fall outside our control and do not need to adhere to linting rules.

To address this, we propose introducing a .cflintignore file that supports relative globbing patterns. This would allow users to specify folders or files to be ignored in a more straightforward and flexible manner, following standard globbing conventions.

Example .cflintignore File:

components/dependencies
generated/**/*.cfm

This enhancement would simplify the process of excluding specific folders or files from linting and improve usability.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions