Skip to content

Commit 4ffdf83

Browse files
amuzalevskiymichael-oro
authored andcommitted
CRM-4725 Update jshint and jscs to allow comments be longer than 120 symbols
1 parent 179c363 commit 4ffdf83

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.jscsrc

+6-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
"**/*.min.js"
88
],
99
"validateIndentation": 4,
10-
"maximumLineLength": 120,
10+
"maximumLineLength": {
11+
"value": 120,
12+
"tabSize": 4,
13+
"allowComments": true,
14+
"allowRegex": true
15+
},
1116
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
1217
"disallowSpaceAfterObjectKeys": true,
1318
"requireSpaceBeforeObjectValues": true,

.jshintrc

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"maxdepth": 5,
1919
"maxstatements": 35,
2020
"quotmark": "single",
21-
"maxlen": 120,
2221
"browser": true,
2322
"white": true,
2423

0 commit comments

Comments
 (0)