Skip to content

Add support upper and mixed case file extensions #99

@kehoecj

Description

@kehoecj

Source

Can the finder code be more tolerant to unofficial extensions(such as .TOML)? I know that the spec says that the extension should be .toml, but some of the projects I am currently working on did use unofficial extensions.

Description

Update the config-file-validator to support upper and mixed case file extensions for each supported file type. The file extension comparision in the fsfinder.go needs to be updated to compare the lowercase version of the file extension found during the filepath.WalkDir execution instead of the raw filename.

The unit tests will need to be updated to provide upper and mixed case files to support this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomershas-prThis issue has an associated PRhelp wantedExtra attention is neededvalidator-coreIssues that relate to the core validator functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions