You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…#464)
Fixing DiktatRuleSet crashes when there are no package and no imports. Issue #267
### What's done:
* Fixed logic in rules
* Added tests
* Added way to disable several rules in smoke test
* Handle cases when package and/or imports are missing in FileStructureRule
* Code style
There are some issues stated in comments in code.
handle cases when PACKAGE_DIRECTIVE node is not presentalready supports nullable package directive for default packagefind cases when node.psi.importLists.size > 1- shouldn't happen in valid kotlin code, handle cases when it's not present at allThe text was updated successfully, but these errors were encountered: