Force analysis on test files


(Ilia Katz) #1

Is it possible to force SwiftLint, in standalone mode, to run on tests in IntelliJ? I found this quite old discussion in Google Groups saying

Most of our rules are intentionally not raising issues on test files, since we consider that this is not the same level of expectation. That’s why you may think test files are not analyzed in IntelliJ.

(Duarte Meneses) #2

It’s not possible to change that. Files are categorized as test or not test based on IntelliJ’s project structure.

(Ilia Katz) #3

Thanks @dmeneses. IMO it is nice to have feature.