saveourtool / diktat

Strict coding standard for Kotlin and a custom set of rules for detecting code smells, code style issues and bugs
https://diktat.saveourtool.com
MIT License
521 stars 39 forks source link

Polish login in Warnings #1748

Closed nulls closed 11 months ago

nulls commented 11 months ago

Warnings has two methods: warnAndFix and warn.

  1. warnAndFix should use canBeAutoCorrected as true always
  2. warn should use canBeAutoCorrected as false always

@akuleshov7 please review