Add options: max line length, ignore error codes

Added option to specify maximum line length and ignore specified error codes