@gitlab/eslint-plugin 16.0.0 → 17.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,17 @@
1
+ # [17.0.0](https://gitlab.com/gitlab-org/frontend/eslint-plugin/compare/v16.0.0...v17.0.0) (2022-08-24)
2
+
3
+
4
+ ### Features
5
+
6
+ * Enforce component name casing ([a0fb136](https://gitlab.com/gitlab-org/frontend/eslint-plugin/commit/a0fb1363a1a1089b93d76bfb96e6f30bc578585f))
7
+
8
+
9
+ ### BREAKING CHANGES
10
+
11
+ * Component names in templates are now required to be
12
+ kebab-case, while component names in `components` options are now
13
+ required to be PascalCase.
14
+
1
15
  # [16.0.0](https://gitlab.com/gitlab-org/frontend/eslint-plugin/compare/v15.0.0...v16.0.0) (2022-08-12)
2
16
 
3
17
 
@@ -85,7 +85,8 @@ module.exports = {
85
85
  order: ['script', 'template', 'style'],
86
86
  },
87
87
  ],
88
- 'vue/component-name-in-template-casing': 'off',
88
+ 'vue/component-options-name-casing': ['error', 'PascalCase'],
89
+ 'vue/component-name-in-template-casing': ['error', 'kebab-case'],
89
90
  '@gitlab/vue-require-required-key': 'error',
90
91
  'no-restricted-globals': [
91
92
  'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/eslint-plugin",
3
- "version": "16.0.0",
3
+ "version": "17.0.0",
4
4
  "description": "GitLab package for our custom eslint rules",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {