@gitlab/eslint-plugin 14.0.0 → 15.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
+ # [15.0.0](https://gitlab.com/gitlab-org/frontend/eslint-plugin/compare/v14.0.0...v15.0.0) (2022-07-29)
2
+
3
+
4
+ ### Features
5
+
6
+ * Prefer $scopedSlots by default ([c6a5be9](https://gitlab.com/gitlab-org/frontend/eslint-plugin/commit/c6a5be943f63871784aef5df0ae98c776466bec0))
7
+
8
+
9
+ ### BREAKING CHANGES
10
+
11
+ * The `@gitlab/vue-prefer-dollar-scopedslots` rule is now
12
+ enabled by default.
13
+
1
14
  # [14.0.0](https://gitlab.com/gitlab-org/frontend/eslint-plugin/compare/v13.1.0...v14.0.0) (2022-07-12)
2
15
 
3
16
 
@@ -43,7 +43,7 @@ export default {
43
43
  export default {
44
44
  render(h) {
45
45
  return this.$scopedSlots.foo
46
- ? this.$slots.foo() // Note the function call!
46
+ ? this.$scopedSlots.foo() // Note the function call!
47
47
  : null;
48
48
  },
49
49
  };
@@ -108,6 +108,7 @@ module.exports = {
108
108
  },
109
109
  ],
110
110
  '@gitlab/vue-no-data-toggle': 'error',
111
+ '@gitlab/vue-prefer-dollar-scopedslots': 'error',
111
112
  '@gitlab/vue-slot-name-casing': 'error',
112
113
  '@gitlab/no-runtime-template-compiler': 'error',
113
114
  'import/order': [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/eslint-plugin",
3
- "version": "14.0.0",
3
+ "version": "15.0.0",
4
4
  "description": "GitLab package for our custom eslint rules",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {