@nextcloud/eslint-config 8.4.0 → 8.4.1

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,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [v8.4.1](https://github.com/nextcloud-libraries/eslint-config/tree/v8.4.1) (2024-05-16)
4
+
5
+ [Full Changelog](https://github.com/nextcloud-libraries/eslint-config/compare/v8.4.0...v8.4.1)
6
+
7
+ ### Fixes
8
+ * fix(vue3): align rules with Vue 2 rules by @ShGKme in https://github.com/nextcloud-libraries/eslint-config/pull/771
9
+ * fix(vue3): config crashes ESLint by @ShGKme in https://github.com/nextcloud-libraries/eslint-config/pull/770
10
+
11
+ ### Changed
12
+ * build(deps-dev): Bump eslint-plugin-jsdoc from 48.2.4 to 48.2.5 by @dependabot in https://github.com/nextcloud-libraries/eslint-config/pull/769
13
+
3
14
  ## [v8.4.0](https://github.com/nextcloud-libraries/eslint-config/tree/v8.4.0) (2024-05-15)
4
15
  ### Features
5
16
  * Vue 3 support: There is a new sub-configuration for projects using Vue 3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextcloud/eslint-config",
3
- "version": "8.4.0",
3
+ "version": "8.4.1",
4
4
  "description": "Eslint shared config for nextcloud vue.js apps",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -40,7 +40,7 @@
40
40
  "eslint-import-resolver-exports": "^1.0.0-beta.5",
41
41
  "eslint-import-resolver-typescript": "^3.6.1",
42
42
  "eslint-plugin-import": "^2.29.1",
43
- "eslint-plugin-jsdoc": "^48.2.4",
43
+ "eslint-plugin-jsdoc": "^48.2.5",
44
44
  "eslint-plugin-n": "^16.6.2",
45
45
  "eslint-plugin-promise": "^6.1.1",
46
46
  "eslint-plugin-vue": "^9.26.0",
package/parts/vue3.js CHANGED
@@ -4,7 +4,7 @@ module.exports = {
4
4
  parserOptions: {
5
5
  parser: '@babel/eslint-parser',
6
6
  },
7
- extends: ['plugin:vue3/recommended'],
7
+ extends: ['plugin:vue/vue3-recommended'],
8
8
  rules: {
9
9
  'vue/html-indent': ['error', 'tab'],
10
10
  // PascalCase components names for vuejs
@@ -29,11 +29,11 @@ module.exports = {
29
29
  // See https://vuejs.org/style-guide/rules-strongly-recommended.html#multi-attribute-elements
30
30
  'vue/first-attribute-linebreak': ['error', {
31
31
  singleline: 'beside',
32
- multiline: 'below',
32
+ multiline: 'beside',
33
33
  }],
34
- // Prevent conflicts with native HTML elements
35
- 'vue/multi-word-component-names': 'error',
34
+ // Allow single-word components names
35
+ 'vue/multi-word-component-names': ['off'],
36
36
  // custom event naming convention
37
- 'vue/custom-event-name-casing': 'warning',
37
+ 'vue/custom-event-name-casing': 'warn',
38
38
  },
39
39
  }