This PR addresses the fact that the included rule in the configuration isn't being utilized. Currently only the excluded rule is used. This causes a YAML file used in SwiftLint (that makes use of included) to not fully work as expected when using this plugin.
Problem: Files are only excluded from linting, they cannot be explicitly included.
Solution: In find_swift_files include files specified in included, after files have been excluded.
This PR addresses the fact that the
included
rule in the configuration isn't being utilized. Currently only theexcluded
rule is used. This causes a YAML file used in SwiftLint (that makes use ofincluded
) to not fully work as expected when using this plugin.Problem: Files are only excluded from linting, they cannot be explicitly included.
Solution: In
find_swift_files
include files specified inincluded
, after files have been excluded.