Skip to content

Commit 79f17ef

Browse files
authored
Ignore comments and URLs
1 parent 1962022 commit 79f17ef

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

index.js

+9-2
Original file line numberDiff line numberDiff line change
@@ -409,11 +409,18 @@ module.exports = {
409409
'max-depth': 'warn',
410410
'max-len': [
411411
'warn',
412-
200,
412+
{
413+
code: 200,
414+
ignoreComments: true,
415+
ignoreUrls: true
416+
},
413417
],
414418
'max-lines': [
415419
'warn',
416-
2000,
420+
{
421+
max: 2000,
422+
skipComments: true,
423+
},
417424
],
418425
'max-nested-callbacks': [
419426
'warn',

0 commit comments

Comments
 (0)