# Hacking the Framework This file contains some brief instructions on contributing to Arachni. ## Code Style In order to maintain consistency and keep the code pretty you should adhere to the following guidelines: - 4 spaces, no tabs. - Maximum line length 75-80 columns, try not to exceed that limit. - {} instead of "`do`" for blocks and keep the iterator var in it's own line.
Like so: arr.each { |item| } In general, take a look at the existing code and try to follow that style. ## Code No-Nos **1. Don't print to standard output.**
The interface in use won't be able to see your output and route it accordingly. Arachni provides you with wrappers that you can use, take a look in {Arachni::UI::Output}.
All UIs will provide these methods to handle your output, use them. **2. Don't use "sleep".**
It is unlikely that you will need it, but if you do, use `select(nil, nil, nil,