@nextcloud/eslint-config 6.0.1 → 7.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 +32 -0
  2. package/index.js +10 -10
  3. package/package.json +51 -49
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## [v7.0.0](https://github.com/nextcloud/eslint-config/tree/v7.0.0) (2022-01-12)
4
+
5
+ [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.1.2...v7.0.0)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Eslint 8 [\#266](https://github.com/nextcloud/eslint-config/pull/266) ([skjnldsv](https://github.com/skjnldsv))
10
+
11
+ ## [v6.1.2](https://github.com/nextcloud/eslint-config/tree/v6.1.2) (2021-12-20)
12
+
13
+ [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.1.1...v6.1.2)
14
+
15
+ **Fixes:**
16
+
17
+ - Fix vue custom event name casing [\#249](https://github.com/nextcloud/eslint-config/pull/249) ([Pytal](https://github.com/Pytal))
18
+
19
+ ## [v6.1.1](https://github.com/nextcloud/eslint-config/tree/v6.1.1) (2021-12-02)
20
+
21
+ [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.1.0...v6.1.1)
22
+
23
+ **Fixes:**
24
+
25
+ - Disable tag rule [\#248](https://github.com/nextcloud/eslint-config/pull/248) ([skjnldsv](https://github.com/skjnldsv))
26
+
27
+ ## [v6.1.0](https://github.com/nextcloud/eslint-config/tree/v6.1.0) (2021-08-11)
28
+
29
+ [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.0.1...v6.1.0)
30
+
31
+ **Fix dependency:**
32
+
33
+ - Remove undesired eslint-webpack-plugin ([skjnldsv](https://github.com/skjnldsv))
34
+
3
35
  ## [v6.0.1](https://github.com/nextcloud/eslint-config/tree/v6.0.1) (2021-08-11)
4
36
 
5
37
  [Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.0.0...v6.0.1)
package/index.js CHANGED
@@ -62,11 +62,7 @@ module.exports = {
62
62
  // force proper JSDocs
63
63
  'jsdoc/require-returns': 0,
64
64
  'jsdoc/require-returns-description': 0,
65
- 'jsdoc/tag-lines': ['warn', 'never', { count: 0, tags: {
66
- copyright: { count: 1, lines: 'always' },
67
- author: { count: 1, lines: 'always' },
68
- license: { count: 1, lines: 'always' },
69
- }}],
65
+ 'jsdoc/tag-lines': ['off'],
70
66
  // disallow use of "var"
71
67
  'no-var': 'error',
72
68
  // suggest using const
@@ -93,13 +89,17 @@ module.exports = {
93
89
  // code spacing with attributes
94
90
  'vue/max-attributes-per-line': ['error', {
95
91
  singleline: 3,
96
- multiline: {
97
- max: 1,
98
- allowFirstLine: true,
99
- },
92
+ multiline: 1,
93
+ }],
94
+ 'vue/first-attribute-linebreak': ['error', {
95
+ 'singleline': 'beside',
96
+ 'multiline': 'below',
100
97
  }],
101
98
  // custom event naming convention
102
- 'vue/custom-event-name-casing': ['error', 'kebab-case'],
99
+ 'vue/custom-event-name-casing': ['error', 'kebab-case', {
100
+ // allows custom xxxx:xxx events formats
101
+ ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u'],
102
+ }],
103
103
  // always add a trailing comma (for diff readability)
104
104
  'comma-dangle': ['warn', 'always-multiline'],
105
105
  // 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,51 +1,53 @@
1
1
  {
2
- "name": "@nextcloud/eslint-config",
3
- "version": "6.0.1",
4
- "description": "Eslint shared config for nextcloud vue.js apps",
5
- "main": "index.js",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/nextcloud/eslint-config.git"
9
- },
10
- "peerDependencies": {
11
- "@babel/core": "^7.13.10",
12
- "@babel/eslint-parser": "^7.13.10",
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": "^36.0.4",
18
- "eslint-plugin-node": "^11.1.0",
19
- "eslint-plugin-promise": "^5.1.0",
20
- "eslint-plugin-vue": "^7.15.0",
21
- "eslint-webpack-plugin": "^3.0.1",
22
- "webpack": "^5.4.0"
23
- },
24
- "devDependencies": {
25
- "@babel/core": "^7.13.10",
26
- "@babel/eslint-parser": "^7.13.10",
27
- "@nextcloud/eslint-plugin": "^2.0.0",
28
- "eslint": "^7.13.0",
29
- "eslint-config-standard": "^16.0.1",
30
- "eslint-plugin-import": "^2.22.1",
31
- "eslint-plugin-jsdoc": "^36.0.4",
32
- "eslint-plugin-node": "^11.1.0",
33
- "eslint-plugin-promise": "^5.1.0",
34
- "eslint-plugin-vue": "^7.1.0",
35
- "eslint-webpack-plugin": "^3.0.1",
36
- "webpack": "^5.4.0"
37
- },
38
- "keywords": [
39
- "eslint",
40
- "vue",
41
- "vuejs",
42
- "config",
43
- "nextcloud"
44
- ],
45
- "author": "John Molakvoæ <skjnldsv@protonmail.com>",
46
- "license": "AGPL-3.0-or-later",
47
- "bugs": {
48
- "url": "https://github.com/nextcloud/eslint-config/issues"
49
- },
50
- "homepage": "https://github.com/nextcloud/eslint-config#readme"
2
+ "name": "@nextcloud/eslint-config",
3
+ "version": "7.0.0",
4
+ "description": "Eslint shared config for nextcloud vue.js apps",
5
+ "main": "index.js",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/nextcloud/eslint-config.git"
9
+ },
10
+ "peerDependencies": {
11
+ "@babel/core": "^7.13.10",
12
+ "@babel/eslint-parser": "^7.16.5",
13
+ "@nextcloud/eslint-plugin": "^2.0.0",
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
+ "eslint-plugin-node": "^11.1.0",
19
+ "eslint-plugin-promise": "^6.0.0",
20
+ "eslint-plugin-vue": "^8.2.0",
21
+ "webpack": "^5.4.0"
22
+ },
23
+ "devDependencies": {
24
+ "@babel/core": "^7.13.10",
25
+ "@babel/eslint-parser": "^7.16.5",
26
+ "@nextcloud/eslint-plugin": "^2.0.0",
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
+ "eslint-plugin-node": "^11.1.0",
32
+ "eslint-plugin-promise": "^6.0.0",
33
+ "eslint-plugin-vue": "^8.2.0",
34
+ "webpack": "^5.4.0"
35
+ },
36
+ "keywords": [
37
+ "eslint",
38
+ "vue",
39
+ "vuejs",
40
+ "config",
41
+ "nextcloud"
42
+ ],
43
+ "author": "John Molakvoæ <skjnldsv@protonmail.com>",
44
+ "license": "AGPL-3.0-or-later",
45
+ "bugs": {
46
+ "url": "https://github.com/nextcloud/eslint-config/issues"
47
+ },
48
+ "homepage": "https://github.com/nextcloud/eslint-config#readme",
49
+ "engines": {
50
+ "node": "^14.0.0",
51
+ "npm": "^7.0.0"
52
+ }
51
53
  }