-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
enhancementIdeas for improvements of existing features and rules.Ideas for improvements of existing features and rules.good first issueIssue to be taken up by new contributors yet unfamiliar with the project.Issue to be taken up by new contributors yet unfamiliar with the project.
Description
New Issue Checklist
- I've Updated SwiftLint to the latest version.
- I've searched for existing GitHub issues.
Feature or Enhancement Proposal
The problem I am facing: I want to entirely disable the file_name rule for all Swift files in a codebase that ends with "Types". I guess this is not only specific to file_name but all rules that have an excluded field. I tried:
.*Types\\.swiftTypes**/*Types**/*Types.swift
The examples included in rules documentation for the excluded field does not have any patterns, only hard-coded file names.
The top-level excluded array in a configuration file supports pattern matching (this field is for all the files swiftlint should ignore entirely).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementIdeas for improvements of existing features and rules.Ideas for improvements of existing features and rules.good first issueIssue to be taken up by new contributors yet unfamiliar with the project.Issue to be taken up by new contributors yet unfamiliar with the project.