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

Commit affa854

Browse files
andreyvolokitinmarkelog
authored andcommitted
Preset: allow URLs inside comments for airbnb
Make an exeption for URLs inside comments in maximumLineLength rule Ref airbnb/javascript#819 Closes gh-2207
1 parent ea7f31e commit affa854

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

presets/airbnb.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,8 @@
7878
"validateLineBreaks": "LF",
7979
"validateQuoteMarks": { "mark": "'", "escape": true, "ignoreJSX": true },
8080
"validateIndentation": 2,
81-
"maximumLineLength": 100
81+
"maximumLineLength": {
82+
"value": 100,
83+
"allExcept": ["urlComments"]
84+
}
8285
}

0 commit comments

Comments
 (0)