Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
Preset: allow URLs inside comments for airbnb
Browse files Browse the repository at this point in the history
Make an exeption for URLs inside comments in maximumLineLength rule

Ref airbnb/javascript#819
Closes gh-2207
  • Loading branch information
andreyvolokitin authored and markelog committed Apr 13, 2016
1 parent ea7f31e commit affa854
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion presets/airbnb.json
Expand Up @@ -78,5 +78,8 @@
"validateLineBreaks": "LF",
"validateQuoteMarks": { "mark": "'", "escape": true, "ignoreJSX": true },
"validateIndentation": 2,
"maximumLineLength": 100
"maximumLineLength": {
"value": 100,
"allExcept": ["urlComments"]
}
}

0 comments on commit affa854

Please sign in to comment.