I added SwiftLint plugin to my project by following below steps.
You can integrate SwiftLint as a Xcode Build Tool Plug-in if you're working with a project in Xcode.
Add SwiftLint as a package dependency to your project without linking any of the products.
Select the target you want to add linting to and open the
Build Phasesinspector. Open
Run Build Tool Plug-insand select the
SwiftLintPluginfrom the list and add it to the project.
I got "Trust and Enable all" dialogue when run my project very firsttime after adding the SwiftLint plugin to the build tool.
Is there any workaround to avoid this dialogue? I would like to enable plugin by default.