@gitlab/eslint-plugin 19.6.1 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ # [20.0.0](https://gitlab.com/gitlab-org/frontend/eslint-plugin/compare/v19.6.1...v20.0.0) (2024-08-13)
2
+
3
+
4
+ ### Features
5
+
6
+ * add max-params rule ([110cb10](https://gitlab.com/gitlab-org/frontend/eslint-plugin/commit/110cb1018c8f681251f199a00a8cfda58a32bf05))
7
+
8
+
9
+ ### BREAKING CHANGES
10
+
11
+ * The max-params rule is set to error on methods using
12
+ more than 3 parameters.
13
+
1
14
  ## [19.6.1](https://gitlab.com/gitlab-org/frontend/eslint-plugin/compare/v19.6.0...v19.6.1) (2024-08-06)
2
15
 
3
16
 
@@ -89,5 +89,6 @@ module.exports = {
89
89
  groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'],
90
90
  },
91
91
  ],
92
+ 'max-params': ['error', { max: 3 }]
92
93
  },
93
94
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/eslint-plugin",
3
- "version": "19.6.1",
3
+ "version": "20.0.0",
4
4
  "description": "GitLab package for our custom eslint rules",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {