tenets

module
v0.1.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2016 License: AGPL-3.0

README

Lingo Tenets

This is a repository of tenets used by the Lingo tool to manage code and product quality. Each tenet captures a piece of best practice and ensures the documentation and implementation align with it.

Writing a Tenet

Go

Currently Lingo has best support for Go. Start here. The go/tenets directory has a variety of examples of tenets in Go which you can copy to get started.

Python

Support for Python tenets is under way. Get in touch (hello@lingo.reviews) if you would like to help.

Other languages

The api.proto file in the root of this repository can be used to generate the tenet API libs in C, C++, Java, Go, Node.js, Python, Ruby, Objective-C, PHP and C#. Visit grpc.io to learn more.

While each language has its own idiosyncrasies, there are three components that every tenet will need: an RPC API (auto generated), a server to serve up that API and helper libs to analyse code and send back results via the API. If you would like to add support for one of these languages, please open an issue to let us know that you are doing so - so we do not double up.

Directories

Path Synopsis
go
dev/api
Package api is a generated protocol buffer package.
Package api is a generated protocol buffer package.
dev/tenet
Package tenet provides a library to write a tenet in Go.
Package tenet provides a library to write a tenet in Go.
tenets/license/tenet/example
package comment package comment package comment
package comment package comment package comment

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL