From b23f923b0e4d316dbb1cbf8fef840db3be0ee978 Mon Sep 17 00:00:00 2001 From: chavacava Date: Thu, 21 Jun 2018 16:35:04 +0200 Subject: [PATCH] clean master --- README.md | 48 ++++++++++++++++++++++++------------------------ config.go | 1 - 2 files changed, 24 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 6c4cfad..da660a3 100644 --- a/README.md +++ b/README.md @@ -30,29 +30,29 @@ Here's how `revive` is different from `golint`: - [revive](#revive) - - [Usage](#usage) - - [Text Editors](#text-editors) - - [Installation](#installation) - - [Command Line Flags](#command-line-flags) - - [Sample Invocations](#sample-invocations) - - [Comment Annotations](#comment-annotations) - - [Configuration](#configuration) - - [Default Configuration](#default-configuration) - - [Recommended Configuration](#recommended-configuration) - - [Available Rules](#available-rules) - - [Available Formatters](#available-formatters) - - [Friendly](#friendly) - - [Stylish](#stylish) - - [Default](#default) - - [Extensibility](#extensibility) - - [Custom Rule](#custom-rule) - - [Example](#example) - - [Custom Formatter](#custom-formatter) - - [Speed Comparison](#speed-comparison) - - [golint](#golint) - - [revive](#revive-1) - - [Contributors](#contributors) - - [License](#license) + - [Usage](#usage) + - [Text Editors](#text-editors) + - [Installation](#installation) + - [Command Line Flags](#command-line-flags) + - [Sample Invocations](#sample-invocations) + - [Comment Annotations](#comment-annotations) + - [Configuration](#configuration) + - [Default Configuration](#default-configuration) + - [Recommended Configuration](#recommended-configuration) + - [Available Rules](#available-rules) + - [Available Formatters](#available-formatters) + - [Friendly](#friendly) + - [Stylish](#stylish) + - [Default](#default) + - [Extensibility](#extensibility) + - [Custom Rule](#custom-rule) + - [Example](#example) + - [Custom Formatter](#custom-formatter) + - [Speed Comparison](#speed-comparison) + - [golint](#golint) + - [revive](#revive-1) + - [Contributors](#contributors) + - [License](#license) @@ -211,7 +211,7 @@ List of all available rules. The rules ported from `golint` are left unchanged a | `empty-block` | n/a | Warns on empty code blocks | no | no | | `superfluous-else` | n/a | Prevents redundant else statements (extends `indent-error-flow`) | no | no | | `confusing-naming` | n/a | Warns on methods with names that differ only by capitalization | no | no | - + ## Available Formatters This section lists all the available formatters and provides a screenshot for each one. diff --git a/config.go b/config.go index 8a22ef3..31a0cdc 100644 --- a/config.go +++ b/config.go @@ -49,7 +49,6 @@ var allRules = append([]lint.Rule{ &rule.FileHeaderRule{}, &rule.EmptyBlockRule{}, &rule.SuperfluousElseRule{}, - &rule.ConfusingNamingRule{}, }, defaultRules...) var allFormatters = []lint.Formatter{