fix( typing ): fix type of array
fix( rule ): Change RuleError args
feat( formatters ) : add pretty-error