Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 2b2ff07

Browse files
author
Marlow Payne
committed
Merge pull request #66 from mobify/remove-max-statements-and-params
Remove enforcement of max-statements and max-params
2 parents 5a57b7d + eed933d commit 2b2ff07

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2.2.2
2+
- Remove enforcement of 'max-statements' and 'max-params' JS rules
13
2.2.1
24
- Cumulative patch release
35
- Update SCSS-lint to 0.40.1

javascript/.eslintrc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,6 @@
105105
// Disallows the nesting of blocks more than 5 deep
106106
"max-depth": [2, 5],
107107

108-
// Enforces a maximum of 10 parameters in a function declaration
109-
"max-params": [2, 10],
110-
111-
// Enforces a maximum of 25 statements within a single function
112-
"max-statements": [2, 25],
113-
114108
// Enforces a maximum of 100 characters in a single line; adjusts tabs
115109
// to equal 4 characters
116110
"max-len": [2, 300, 4],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mobify-code-style",
3-
"version": "2.2.1",
3+
"version": "2.2.2",
44
"description": "Code style guide and linting tools for Mobify",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)