File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -2089,7 +2089,7 @@ The following flags have been removed:
2089
2089
--output.tab.path
2090
2090
--output.tab.print-linter-name
2091
2091
--output.tab.colors
2092
- ` ` ` bash
2092
+ ` ` `
2093
2093
2094
2094
` ` ` bash
2095
2095
# Previously 'html'
@@ -2124,6 +2124,26 @@ The following flags have been removed:
2124
2124
2125
2125
# ### `--disable-all` and `--enable-all`
2126
2126
2127
- ` --disable-all` has been replaced by `--default=none`.
2127
+ ` --disable-all` has been replaced with `--default=none`.
2128
+
2129
+ ` --enable-all` has been replaced with `--default=all`.
2130
+
2131
+ # ### Example
2132
+
2133
+ <details>
2134
+ <summary style={{color : ' #737380' , paddingLeft: '1rem'}}>v1</summary>
2135
+
2136
+ ` ` ` bash
2137
+ golangci-lint run --disable-all --enable-only=govet --out-format=colored-tab --sort-order=linter --sort-results
2138
+ ` ` `
2139
+
2140
+ </details>
2141
+
2142
+ <details>
2143
+ <summary style={{color : ' #737380' , paddingLeft: '1rem'}}>v2</summary>
2144
+
2145
+ ` ` ` bash
2146
+ golangci-lint run --default=none --enable-only=govet --out-format=colored-tab
2147
+ ` ` `
2128
2148
2129
- ` --enable-all ` has been replaced by `--default=all`.
2149
+ </details>
You can’t perform that action at this time.
0 commit comments