func run()

in Sources/swift-format/Subcommands/Lint.swift [31:38]


    func run() throws {
      let frontend = LintFrontend(lintFormatOptions: lintOptions)
      frontend.run()

      if frontend.diagnosticsEngine.hasErrors || strict && frontend.diagnosticsEngine.hasWarnings {
        throw ExitCode.failure
      }
    }