Skip to content

Commit 6492450

Browse files
author
Alexandre Stanislawski
committed
feat(max-len): adds ignore comments and URL's for max-len
1 parent b117d20 commit 6492450

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"homepage": "https://github.com/algolia/eslint-config-algolia",
2424
"devDependencies": {
2525
"babel-eslint": "^4.1.3",
26-
"eslint": "^1.7.3",
26+
"eslint": "^1.10.3",
2727
"eslint-config-airbnb": "^0.1.0",
2828
"eslint-config-algolia": "^4.5.0",
2929
"eslint-plugin-algolia": "^1.5.0",

rules/base.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ module.exports = {
77
'max-len': [
88
1,
99
110,
10-
2
10+
2,
11+
{
12+
"ignoreComments": true,
13+
"ignoreUrls": true
14+
}
1115
],
1216
'comma-dangle': [2, 'never'],
1317
'no-use-before-define': [2, 'nofunc'],

0 commit comments

Comments
 (0)