@gitlab/eslint-plugin 16.0.0 → 18.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,32 @@
1
+ # [18.0.0](https://gitlab.com/gitlab-org/frontend/eslint-plugin/compare/v17.0.0...v18.0.0) (2022-09-21)
2
+
3
+
4
+ ### Features
5
+
6
+ * **jest:** disable no-conditional-export rule ([89014fb](https://gitlab.com/gitlab-org/frontend/eslint-plugin/commit/89014fb2cd84b0e4083070aa85424ed7c7a4761f))
7
+ * **jest:** do not check type of describe name in titles ([3be8823](https://gitlab.com/gitlab-org/frontend/eslint-plugin/commit/3be8823baddf8a8b90e3003afbeddc552c537654))
8
+ * update jest plugin from 23.8.2 to 27.0.4 ([3817754](https://gitlab.com/gitlab-org/frontend/eslint-plugin/commit/3817754e260e8f4e86a1419274f444e05a33e928)), closes [/github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md#2400-2020-09-04](https://gitlab.com//github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md/issues/2400-2020-09-04)
9
+
10
+
11
+ ### BREAKING CHANGES
12
+
13
+ * See eslint-plugin-jest for full
14
+ list of breaking changes:
15
+
16
+ # [17.0.0](https://gitlab.com/gitlab-org/frontend/eslint-plugin/compare/v16.0.0...v17.0.0) (2022-08-24)
17
+
18
+
19
+ ### Features
20
+
21
+ * Enforce component name casing ([a0fb136](https://gitlab.com/gitlab-org/frontend/eslint-plugin/commit/a0fb1363a1a1089b93d76bfb96e6f30bc578585f))
22
+
23
+
24
+ ### BREAKING CHANGES
25
+
26
+ * Component names in templates are now required to be
27
+ kebab-case, while component names in `components` options are now
28
+ required to be PascalCase.
29
+
1
30
  # [16.0.0](https://gitlab.com/gitlab-org/frontend/eslint-plugin/compare/v15.0.0...v16.0.0) (2022-08-12)
2
31
 
3
32
 
@@ -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',
@@ -2,5 +2,12 @@ module.exports = {
2
2
  extends: ['plugin:jest/recommended'],
3
3
  rules: {
4
4
  'jest/consistent-test-it': ['error', { fn: 'it', withinDescribe: 'it' }],
5
+ 'jest/no-conditional-expect': 'off',
6
+ 'jest/valid-title': [
7
+ 'error',
8
+ {
9
+ ignoreTypeOfDescribeName: true,
10
+ },
11
+ ],
5
12
  },
6
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/eslint-plugin",
3
- "version": "16.0.0",
3
+ "version": "18.0.0",
4
4
  "description": "GitLab package for our custom eslint rules",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -37,8 +37,8 @@
37
37
  "eslint-config-prettier": "^6.10.0",
38
38
  "eslint-plugin-babel": "^5.3.0",
39
39
  "eslint-plugin-import": "^2.26.0",
40
- "eslint-plugin-jest": "^23.8.2",
41
- "eslint-plugin-promise": "^4.2.1",
40
+ "eslint-plugin-jest": "^27.0.4",
41
+ "eslint-plugin-promise": "^6.0.1",
42
42
  "eslint-plugin-unicorn": "^40.1.0",
43
43
  "eslint-plugin-vue": "^9.3.0",
44
44
  "lodash": "^4.17.21"