From 7495c4d13ab032942c1f1974e63904a0f9f2c251 Mon Sep 17 00:00:00 2001 From: Iskander Sharipov <quasilyte@gmail.com> Date: Fri, 15 Jun 2018 22:04:41 +0300 Subject: [PATCH] readme: fix invalid link to issues-options issues-options heading does not exist anymore. Closes thing is command-line-options. --- README.md | 4 ++-- README.md.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fdbd982c..5bb01b12 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # GolangCI-Lint [](https://travis-ci.com/golangci/golangci-lint) -GolangCI-Lint is a linters aggregator. It's fast: on average [5 times faster](#performance) than gometalinter. It's [easy to integrate and use](#issues-options), has [nice output](#quick-start) and has a minimum number of false positives. +GolangCI-Lint is a linters aggregator. It's fast: on average [5 times faster](#performance) than gometalinter. It's [easy to integrate and use](#command-line-options), has [nice output](#quick-start) and has a minimum number of false positives. GolangCI-Lint has [integrations](#editor-integration) with VS Code, GNU Emacs, Sublime Text. @@ -343,7 +343,7 @@ linters: ``` # False Positives -False positives are inevitable, but we did our best to reduce their count. For example, we have a default enabled set of [exclude patterns](#issues-options). If a false positive occurred you have the following choices: +False positives are inevitable, but we did our best to reduce their count. For example, we have a default enabled set of [exclude patterns](#command-line-options). If a false positive occurred you have the following choices: 1. Exclude issue by text using command-line option `-e` or config option `issues.exclude`. It's helpful when you decided to ignore all issues of this type. 2. Exclude this one issue by using special comment `// nolint[:linter1,linter2,...]` on issued line. Comment `// nolint` disables all issues reporting on this line. Comment e.g. `// nolint:govet` disables only govet issues for this line. diff --git a/README.md.tmpl b/README.md.tmpl index cefc70fc..620c3afa 100644 --- a/README.md.tmpl +++ b/README.md.tmpl @@ -1,7 +1,7 @@ # GolangCI-Lint [](https://travis-ci.com/golangci/golangci-lint) -GolangCI-Lint is a linters aggregator. It's fast: on average [5 times faster](#performance) than gometalinter. It's [easy to integrate and use](#issues-options), has [nice output](#quick-start) and has a minimum number of false positives. +GolangCI-Lint is a linters aggregator. It's fast: on average [5 times faster](#performance) than gometalinter. It's [easy to integrate and use](#command-line-options), has [nice output](#quick-start) and has a minimum number of false positives. GolangCI-Lint has [integrations](#editor-integration) with VS Code, GNU Emacs, Sublime Text. @@ -209,7 +209,7 @@ than the default and more strict settings: ``` # False Positives -False positives are inevitable, but we did our best to reduce their count. For example, we have a default enabled set of [exclude patterns](#issues-options). If a false positive occurred you have the following choices: +False positives are inevitable, but we did our best to reduce their count. For example, we have a default enabled set of [exclude patterns](#command-line-options). If a false positive occurred you have the following choices: 1. Exclude issue by text using command-line option `-e` or config option `issues.exclude`. It's helpful when you decided to ignore all issues of this type. 2. Exclude this one issue by using special comment `// nolint[:linter1,linter2,...]` on issued line. Comment `// nolint` disables all issues reporting on this line. Comment e.g. `// nolint:govet` disables only govet issues for this line.