@gitlab/eslint-plugin 12.3.0 → 13.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,20 @@
1
+ # [13.0.0](https://gitlab.com/gitlab-org/frontend/eslint-plugin/compare/v12.3.0...v13.0.0) (2022-07-05)
2
+
3
+
4
+ ### Features
5
+
6
+ * Disallow Composition API ([9fe6ffa](https://gitlab.com/gitlab-org/frontend/eslint-plugin/commit/9fe6ffac9e1ae59c48aed619997e380d1f5b9115))
7
+
8
+
9
+ ### BREAKING CHANGES
10
+
11
+ * This disallows the Composition API. Since we're still
12
+ using Vue 2.6 which doesn't support it anyway, this should have no
13
+ effect. Once we upgrade to Vue 2.7, we can consider relaxing this rule
14
+ as we develop guidelines around its usage.
15
+
16
+ See https://gitlab.com/gitlab-org/frontend/eslint-plugin/-/issues/52.
17
+
1
18
  # [12.3.0](https://gitlab.com/gitlab-org/frontend/eslint-plugin/compare/v12.2.1...v12.3.0) (2022-05-20)
2
19
 
3
20
 
@@ -116,6 +116,8 @@ module.exports = {
116
116
  groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'],
117
117
  },
118
118
  ],
119
+ // See https://gitlab.com/gitlab-org/frontend/eslint-plugin/-/issues/52.
120
+ 'vue/component-api-style': ['error', ['options']],
119
121
  // BEGIN rules to aid migration from Vue 2.x to 3.x.
120
122
  // See https://gitlab.com/groups/gitlab-org/-/epics/3174 for more details.
121
123
  'vue/no-deprecated-data-object-declaration': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/eslint-plugin",
3
- "version": "12.3.0",
3
+ "version": "13.0.0",
4
4
  "description": "GitLab package for our custom eslint rules",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {