@@ -80,7 +80,7 @@ output:
8080 #  Multiple can be specified by separating them by comma, output can be provided
8181 #  for each of them by separating format name and path by colon symbol.
8282 #  Output path can be either `stdout`, `stderr` or path to the file to write to.
83-  #  Example: "checkstyle:report.json,colored-line-number"
83+  #  Example: "checkstyle:report.xml, json:stdout ,colored-line-number"
8484 # 
8585 #  Default: colored-line-number
8686 format : json 
@@ -1394,6 +1394,13 @@ linters-settings:
13941394 severity : warning 
13951395 disabled : false 
13961396 arguments : [ 7 ] 
1397+  #  https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#comment-spacings
1398+  - name : comment-spacings 
1399+  severity : warning 
1400+  disabled : false 
1401+  arguments :
1402+  - mypragma 
1403+  - otherpragma 
13971404 #  https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#confusing-naming
13981405 - name : confusing-naming 
13991406 severity : warning 
@@ -1800,7 +1807,7 @@ linters-settings:
18001807 #  Suggest the use of rpc.DefaultXXPath.
18011808 #  Default: false
18021809 default-rpc-path : true 
1803-  #  Suggest the use of os.DevNull.
1810+  #  DEPRECATED  Suggest the use of os.DevNull.
18041811 #  Default: false
18051812 os-dev-null : true 
18061813 #  Suggest the use of sql.LevelXX.String().
@@ -1812,7 +1819,7 @@ linters-settings:
18121819 #  Suggest the use of constant.Kind.String().
18131820 #  Default: false
18141821 constant-kind : true 
1815-  #  Suggest the use of syslog.Priority.
1822+  #  DEPRECATED  Suggest the use of syslog.Priority.
18161823 #  Default: false
18171824 syslog-priority : true 
18181825
@@ -1924,48 +1931,48 @@ linters-settings:
19241931 #  this is set to true - the append call must append either a variable
19251932 #  assigned, called or used on the line above.
19261933 strict-append : true 
1927- 
1934+ 19281935 #  Allows assignments to be cuddled with variables used in calls on
19291936 #  line above and calls to be cuddled with assignments of variables
19301937 #  used in call on line above.
19311938 allow-assign-and-call : true 
1932- 
1939+ 19331940 #  Allows assignments to be cuddled with anything.
19341941 allow-assign-and-anything : false 
1935- 
1942+ 19361943 #  Allows cuddling to assignments even if they span over multiple lines.
19371944 allow-multiline-assign : true 
1938- 
1945+ 19391946 #  If the number of lines in a case block is equal to or lager than this
19401947 #  number, the case *must* end white a newline.
19411948 force-case-trailing-whitespace : 0 
1942- 
1949+ 19431950 #  Allow blocks to end with comments.
19441951 allow-trailing-comment : false 
1945- 
1952+ 19461953 #  Allow multiple comments in the beginning of a block separated with newline.
19471954 allow-separated-leading-comment : false 
1948- 
1955+ 19491956 #  Allow multiple var/declaration statements to be cuddled.
19501957 allow-cuddle-declarations : false 
1951- 
1958+ 19521959 #  A list of call idents that everything can be cuddled with.
19531960 #  Defaults to calls looking like locks.
19541961 allow-cuddle-with-calls : [ "Lock", "RLock" ] 
1955- 
1962+ 19561963 #  AllowCuddleWithRHS is a list of right hand side variables that is allowed
19571964 #  to be cuddled with anything. Defaults to assignments or calls looking
19581965 #  like unlocks.
19591966 allow-cuddle-with-rhs : [ "Unlock", "RUnlock" ] 
1960- 
1967+ 19611968 #  Causes an error when an If statement that checks an error variable doesn't
19621969 #  cuddle with the assignment of that variable.
19631970 force-err-cuddling : false 
1964- 
1971+ 19651972 #  When force-err-cuddling is enabled this is a list of names
19661973 #  used for error variables to check for in the conditional.
19671974 error-variable-names : [ "err" ] 
1968- 
1975+ 19691976 #  Causes an error if a short declaration (:=) cuddles with anything other than
19701977 #  another short declaration.
19711978 #  This logic overrides force-err-cuddling among others.
0 commit comments