@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 +14 -0
- package/lib/configs/default.js +2 -1
- package/package.json +1 -1
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
|
|
package/lib/configs/default.js
CHANGED
|
@@ -85,7 +85,8 @@ module.exports = {
|
|
|
85
85
|
order: ['script', 'template', 'style'],
|
|
86
86
|
},
|
|
87
87
|
],
|
|
88
|
-
'vue/component-name-
|
|
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',
|