forked from github-linguist/linguist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat grammar warnings as non-fatal (github-linguist#5497)
* Switch to using Go modules and later Go version * Update cli module * Only show warning-like errors in verbose output * Split warnings when adding new grammar * Print last line to stderr too * Improve warning * Show new grammar warnings * Don't use variadic option * NewExitError is deprecated. Use Exit instead * Flip opt name * Update formatting and wording * Remove checkboxes
- Loading branch information
Showing
8 changed files
with
151 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
module github.com/github/linguist/tools/grammars | ||
|
||
go 1.16 | ||
|
||
require ( | ||
github.com/fatih/color v1.12.0 // indirect | ||
github.com/golang/protobuf v0.0.0-20171113180720-1e59b77b52bf | ||
github.com/groob/plist v0.0.0-20171013152701-7b367e0aa692 | ||
github.com/mattn/go-runewidth v0.0.2 // indirect | ||
github.com/mitchellh/mapstructure v0.0.0-20171017171808-06020f85339e | ||
github.com/urfave/cli/v2 v2.3.0 | ||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect | ||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | ||
gopkg.in/cheggaaa/pb.v1 v1.0.18 | ||
gopkg.in/yaml.v2 v2.2.3 | ||
) |
Oops, something went wrong.