[Credo] fix Credo.Check.Readability.MaxLineLength

This commit is contained in:
Haelwenn (lanodan) Monnier 2019-03-05 05:37:33 +01:00
commit c42d34b2ec
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
17 changed files with 41 additions and 25 deletions

View file

@ -10,6 +10,7 @@ defmodule Pleroma.Formatter do
@markdown_characters_regex ~r/(`|\*|_|{|}|[|]|\(|\)|#|\+|-|\.|!)/
@link_regex ~r{((?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~%:/?#[\]@!\$&'\(\)\*\+,;=.]+)|[0-9a-z+\-\.]+:[0-9a-z$-_.+!*'(),]+}ui
# credo:disable-for-previous-line Credo.Check.Readability.MaxLineLength
@auto_linker_config hashtag: true,
hashtag_handler: &Pleroma.Formatter.hashtag_handler/4,