github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/plugin/stub-generator/sources/foo/main.go (about)

     1  package main
     2  
     3  import (
     4  	"github.com/terraform-linters/tflint-plugin-sdk/plugin"
     5  	"github.com/terraform-linters/tflint-plugin-sdk/tflint"
     6  )
     7  
     8  func main() {
     9  	plugin.Serve(&plugin.ServeOpts{
    10  		RuleSet: tflint.RuleSet{
    11  			Name:    "foo",
    12  			Version: "0.1.0",
    13  			Rules:   []tflint.Rule{},
    14  		},
    15  	})
    16  }