generated from hanggrian/kotlin-starters
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Hendra Anggrian edited this page Dec 10, 2024
·
57 revisions
Welcome to Rulebook wiki, third-party extended lint rules for JVM and Python.
The ruleset should not cover hints recommended by the IDE, this includes:
- Unused imports, variables and parameters
- Unnecessary lambda, braces and semicolons
- Invalid modifier visibility and ordering
- Conditional or loop statement has empty body
Ideally, most modern IDEs should ideally mark these warnings. But the ruleset is only tested on IntelliJ IDEA and PyCharm.
Rules
- Block tag punctuation
- Built-in type priority
- Contract function inlining
- File size limitation
- Import explicity
- Null structural equality
- Predicate call positivity
- Qualifier consistency
- TODO comment formatting
- Trailing comma arrangement
- Utility class instance hiding
- Error
- Flow
- Fold
- Layout
- Name
- Value
- Whitespace
Rationales