Skip to content

Commit 5cbe2eb

Browse files
author
Nick Hwang
committed
Fix max-len rule
1 parent ff8eadb commit 5cbe2eb

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hubspot-style",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "HubSpot's version of a mostly reasonable approach to JavaScript",
55
"scripts": {
66
"difftool": "./bin/difftool",

packages/eslint-config-hubspot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-hubspot",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "HubSpot's ESLint config, following our styleguide",
55
"main": "index.js",
66
"scripts": {

packages/eslint-config-hubspot/rules/style.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,8 @@ module.exports = {
3636
'linebreak-style': 0,
3737
// specify the maximum length of a line in your program
3838
// https://github.com/eslint/eslint/blob/master/docs/rules/max-len.md
39-
'max-len': [0, {
40-
'code': 100,
41-
'comments': 100,
42-
'commentLength': 100,
43-
'tabWidth': 2,
39+
'max-len': [0, 100, 2, {
4440
'ignoreUrls': false,
45-
'ignorePattern': null,
46-
'ignoreTrailingComments': false,
4741
'ignoreComments': false
4842
}],
4943
// specify the maximum depth callbacks can be nested

0 commit comments

Comments
 (0)