@nextcloud/eslint-config 6.1.1 → 7.0.2

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 +42 -0
  2. package/index.js +11 -5
  3. package/package.json +15 -15
package/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # Changelog
2
2
 
3
+ ## [v7.0.2](https://github.com/nextcloud/eslint-config/tree/v7.0.2) (2022-01-20)
4
+
5
+ [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v7.0.1...v7.0.2)
6
+
7
+ **Fixed:**
8
+
9
+ - Fix usual same-line vue attribute behaviour [\#272](https://github.com/nextcloud/eslint-config/pull/272) ([skjnldsv](https://github.com/skjnldsv))
10
+
11
+ **Dependency updates:**
12
+
13
+ - 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))
14
+ - 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))
15
+
16
+ ## [v7.0.1](https://github.com/nextcloud/eslint-config/tree/v7.0.1) (2022-01-17)
17
+
18
+ [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v7.0.0...v7.0.1)
19
+
20
+ **Fixed bugs:**
21
+
22
+ - Allow component names to be single-word [\#270](https://github.com/nextcloud/eslint-config/pull/270) ([skjnldsv](https://github.com/skjnldsv))
23
+
24
+ **Dependency updates:**
25
+
26
+ - 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))
27
+ - 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))
28
+
29
+ ## [v7.0.0](https://github.com/nextcloud/eslint-config/tree/v7.0.0) (2022-01-12)
30
+
31
+ [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.1.2...v7.0.0)
32
+
33
+ **Merged pull requests:**
34
+
35
+ - Eslint 8 [\#266](https://github.com/nextcloud/eslint-config/pull/266) ([skjnldsv](https://github.com/skjnldsv))
36
+ - v7.0.0 [\#267](https://github.com/nextcloud/eslint-config/pull/267) ([skjnldsv](https://github.com/skjnldsv))
37
+ ## [v6.1.2](https://github.com/nextcloud/eslint-config/tree/v6.1.2) (2021-12-20)
38
+
39
+ [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.1.1...v6.1.2)
40
+
41
+ **Fixes:**
42
+
43
+ - Fix vue custom event name casing [\#249](https://github.com/nextcloud/eslint-config/pull/249) ([Pytal](https://github.com/Pytal))
44
+
3
45
  ## [v6.1.1](https://github.com/nextcloud/eslint-config/tree/v6.1.1) (2021-12-02)
4
46
 
5
47
  [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.1.0...v6.1.1)
package/index.js CHANGED
@@ -89,13 +89,19 @@ module.exports = {
89
89
  // code spacing with attributes
90
90
  'vue/max-attributes-per-line': ['error', {
91
91
  singleline: 3,
92
- multiline: {
93
- max: 1,
94
- allowFirstLine: true,
95
- },
92
+ multiline: 1,
93
+ }],
94
+ 'vue/first-attribute-linebreak': ['error', {
95
+ 'singleline': 'beside',
96
+ 'multiline': 'beside',
96
97
  }],
98
+ // Allow single-word components names
99
+ 'vue/multi-word-component-names': ['off'],
97
100
  // custom event naming convention
98
- 'vue/custom-event-name-casing': ['error', 'kebab-case'],
101
+ 'vue/custom-event-name-casing': ['error', 'kebab-case', {
102
+ // allows custom xxxx:xxx events formats
103
+ ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u'],
104
+ }],
99
105
  // always add a trailing comma (for diff readability)
100
106
  'comma-dangle': ['warn', 'always-multiline'],
101
107
  // Allow shallow import of @vue/test-utils and @testing-library/vue in order to be able to use it in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextcloud/eslint-config",
3
- "version": "6.1.1",
3
+ "version": "7.0.2",
4
4
  "description": "Eslint shared config for nextcloud vue.js apps",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -9,28 +9,28 @@
9
9
  },
10
10
  "peerDependencies": {
11
11
  "@babel/core": "^7.13.10",
12
- "@babel/eslint-parser": "^7.13.10",
12
+ "@babel/eslint-parser": "^7.16.5",
13
13
  "@nextcloud/eslint-plugin": "^2.0.0",
14
- "eslint": "^7.13.0",
15
- "eslint-config-standard": "^16.0.1",
16
- "eslint-plugin-import": "^2.22.1",
17
- "eslint-plugin-jsdoc": "^37.0.3",
14
+ "eslint": "^8.6.0",
15
+ "eslint-config-standard": "^17.0.0-0",
16
+ "eslint-plugin-import": "^2.25.4",
17
+ "eslint-plugin-jsdoc": "^37.6.1",
18
18
  "eslint-plugin-node": "^11.1.0",
19
- "eslint-plugin-promise": "^5.1.0",
20
- "eslint-plugin-vue": "^7.15.0",
19
+ "eslint-plugin-promise": "^6.0.0",
20
+ "eslint-plugin-vue": "^8.2.0",
21
21
  "webpack": "^5.4.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@babel/core": "^7.13.10",
25
- "@babel/eslint-parser": "^7.13.10",
25
+ "@babel/eslint-parser": "^7.16.5",
26
26
  "@nextcloud/eslint-plugin": "^2.0.0",
27
- "eslint": "^7.13.0",
28
- "eslint-config-standard": "^16.0.1",
29
- "eslint-plugin-import": "^2.22.1",
30
- "eslint-plugin-jsdoc": "^37.0.3",
27
+ "eslint": "^8.6.0",
28
+ "eslint-config-standard": "^17.0.0-0",
29
+ "eslint-plugin-import": "^2.25.4",
30
+ "eslint-plugin-jsdoc": "^37.6.1",
31
31
  "eslint-plugin-node": "^11.1.0",
32
- "eslint-plugin-promise": "^5.1.0",
33
- "eslint-plugin-vue": "^7.1.0",
32
+ "eslint-plugin-promise": "^6.0.0",
33
+ "eslint-plugin-vue": "^8.2.0",
34
34
  "webpack": "^5.4.0"
35
35
  },
36
36
  "keywords": [