@nextcloud/eslint-config 7.0.0 → 8.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +40 -1
  2. package/index.js +7 -1
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,44 @@
1
1
  # Changelog
2
2
 
3
+ ## [v8.0.0](https://github.com/nextcloud/eslint-config/tree/v8.0.0) (2022-04-20)
4
+
5
+ [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v7.0.2...v8.0.0)
6
+
7
+ **Breaking:**
8
+
9
+ - Require file extensions on import [\#292](https://github.com/nextcloud/eslint-config/pull/292) ([Pytal](https://github.com/Pytal))
10
+
11
+ **Dependency updates:**
12
+
13
+ - Bump eslint from 8.7.0 to 8.8.0 [\#282](https://github.com/nextcloud/eslint-config/pull/282) ([dependabot[bot]](https://github.com/apps/dependabot))
14
+ - Bump eslint from 8.8.0 to 8.9.0 [\#296](https://github.com/nextcloud/eslint-config/pull/296) ([dependabot[bot]](https://github.com/apps/dependabot))
15
+
16
+ ## [v7.0.2](https://github.com/nextcloud/eslint-config/tree/v7.0.2) (2022-01-20)
17
+
18
+ [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v7.0.1...v7.0.2)
19
+
20
+ **Fixed:**
21
+
22
+ - Fix usual same-line vue attribute behaviour [\#272](https://github.com/nextcloud/eslint-config/pull/272) ([skjnldsv](https://github.com/skjnldsv))
23
+
24
+ **Dependency updates:**
25
+
26
+ - Bump eslint from 8.6.0 to 8.7.0 [\#271](https://github.com/nextcloud/eslint-config/pull/271) ([dependabot[bot]](https://github.com/apps/dependabot))
27
+ - Bump @babel/core from 7.16.7 to 7.16.10 [\#273](https://github.com/nextcloud/eslint-config/pull/273) ([dependabot[bot]](https://github.com/apps/dependabot))
28
+
29
+ ## [v7.0.1](https://github.com/nextcloud/eslint-config/tree/v7.0.1) (2022-01-17)
30
+
31
+ [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v7.0.0...v7.0.1)
32
+
33
+ **Fixed bugs:**
34
+
35
+ - Allow component names to be single-word [\#270](https://github.com/nextcloud/eslint-config/pull/270) ([skjnldsv](https://github.com/skjnldsv))
36
+
37
+ **Dependency updates:**
38
+
39
+ - Bump webpack from 5.65.0 to 5.66.0 [\#269](https://github.com/nextcloud/eslint-config/pull/269) ([dependabot[bot]](https://github.com/apps/dependabot))
40
+ - Bump eslint-plugin-vue from 8.2.0 to 8.3.0 [\#268](https://github.com/nextcloud/eslint-config/pull/268) ([dependabot[bot]](https://github.com/apps/dependabot))
41
+
3
42
  ## [v7.0.0](https://github.com/nextcloud/eslint-config/tree/v7.0.0) (2022-01-12)
4
43
 
5
44
  [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.1.2...v7.0.0)
@@ -7,7 +46,7 @@
7
46
  **Merged pull requests:**
8
47
 
9
48
  - Eslint 8 [\#266](https://github.com/nextcloud/eslint-config/pull/266) ([skjnldsv](https://github.com/skjnldsv))
10
-
49
+ - v7.0.0 [\#267](https://github.com/nextcloud/eslint-config/pull/267) ([skjnldsv](https://github.com/skjnldsv))
11
50
  ## [v6.1.2](https://github.com/nextcloud/eslint-config/tree/v6.1.2) (2021-12-20)
12
51
 
13
52
  [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.1.1...v6.1.2)
package/index.js CHANGED
@@ -93,8 +93,10 @@ module.exports = {
93
93
  }],
94
94
  'vue/first-attribute-linebreak': ['error', {
95
95
  'singleline': 'beside',
96
- 'multiline': 'below',
96
+ 'multiline': 'beside',
97
97
  }],
98
+ // Allow single-word components names
99
+ 'vue/multi-word-component-names': ['off'],
98
100
  // custom event naming convention
99
101
  'vue/custom-event-name-casing': ['error', 'kebab-case', {
100
102
  // allows custom xxxx:xxx events formats
@@ -109,5 +111,9 @@ module.exports = {
109
111
  }],
110
112
  // require object literal shorthand syntax
111
113
  'object-shorthand': ['error', 'always'],
114
+ // Warn when file extensions are not used on import paths
115
+ 'import/extensions': ['warn', 'always', {
116
+ ignorePackages: true,
117
+ }],
112
118
  },
113
119
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextcloud/eslint-config",
3
- "version": "7.0.0",
3
+ "version": "8.0.0",
4
4
  "description": "Eslint shared config for nextcloud vue.js apps",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -14,7 +14,7 @@
14
14
  "eslint": "^8.6.0",
15
15
  "eslint-config-standard": "^17.0.0-0",
16
16
  "eslint-plugin-import": "^2.25.4",
17
- "eslint-plugin-jsdoc": "^37.6.1",
17
+ "eslint-plugin-jsdoc": "^39.2.1",
18
18
  "eslint-plugin-node": "^11.1.0",
19
19
  "eslint-plugin-promise": "^6.0.0",
20
20
  "eslint-plugin-vue": "^8.2.0",
@@ -27,7 +27,7 @@
27
27
  "eslint": "^8.6.0",
28
28
  "eslint-config-standard": "^17.0.0-0",
29
29
  "eslint-plugin-import": "^2.25.4",
30
- "eslint-plugin-jsdoc": "^37.6.1",
30
+ "eslint-plugin-jsdoc": "^39.2.1",
31
31
  "eslint-plugin-node": "^11.1.0",
32
32
  "eslint-plugin-promise": "^6.0.0",
33
33
  "eslint-plugin-vue": "^8.2.0",