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:
20892089--output.tab.path
20902090--output.tab.print-linter-name
20912091--output.tab.colors
2092- ` ` ` bash
2092+ ` ` `
20932093
20942094` ` ` bash
20952095# Previously 'html'
@@ -2124,6 +2124,26 @@ The following flags have been removed:
21242124
21252125# ### `--disable-all` and `--enable-all`
21262126
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+ ` ` `
21282148
2129- ` --enable-all ` has been replaced by `--default=all`.
2149+ </details>
You can’t perform that action at this time.
0 commit comments