-
Notifications
You must be signed in to change notification settings - Fork 501
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1862 from pinterest/1456-miscellaneous-todo
Cleanup miscellaneous todo's Closes #1456
- Loading branch information
Showing
39 changed files
with
554 additions
and
525 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
ktlint-rule-engine/src/main/kotlin/com/pinterest/ktlint/rule/engine/api/LintError.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
package com.pinterest.ktlint.rule.engine.api | ||
|
||
import com.pinterest.ktlint.rule.engine.core.api.RuleId | ||
|
||
/** | ||
* Lint error found by the [KtLintRuleEngine]. | ||
* | ||
* [line]: line number (one-based) | ||
* [col]: column number (one-based) | ||
* [ruleId]: rule id (prepended with "<ruleSetId>:" in case of non-standard ruleset) | ||
* [ruleId]: rule id | ||
* [detail]: error message | ||
* [canBeAutoCorrected]: flag indicating whether the error can be corrected by the rule if "format" is run | ||
*/ | ||
public data class LintError( | ||
val line: Int, | ||
val col: Int, | ||
val ruleId: String, | ||
val ruleId: RuleId, | ||
val detail: String, | ||
val canBeAutoCorrected: Boolean, | ||
) |
Oops, something went wrong.