@nextcloud/eslint-config 6.0.0 → 6.1.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.
- package/CHANGELOG.md +32 -0
- package/index.js +6 -0
- package/package.json +51 -49
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v6.1.2](https://github.com/nextcloud/eslint-config/tree/v6.1.2) (2021-12-20)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.1.1...v6.1.2)
|
|
6
|
+
|
|
7
|
+
**Fixes:**
|
|
8
|
+
|
|
9
|
+
- Fix vue custom event name casing [\#249](https://github.com/nextcloud/eslint-config/pull/249) ([Pytal](https://github.com/Pytal))
|
|
10
|
+
|
|
11
|
+
## [v6.1.1](https://github.com/nextcloud/eslint-config/tree/v6.1.1) (2021-12-02)
|
|
12
|
+
|
|
13
|
+
[Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.1.0...v6.1.1)
|
|
14
|
+
|
|
15
|
+
**Fixes:**
|
|
16
|
+
|
|
17
|
+
- Disable tag rule [\#248](https://github.com/nextcloud/eslint-config/pull/248) ([skjnldsv](https://github.com/skjnldsv))
|
|
18
|
+
|
|
19
|
+
## [v6.1.0](https://github.com/nextcloud/eslint-config/tree/v6.1.0) (2021-08-11)
|
|
20
|
+
|
|
21
|
+
[Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.0.1...v6.1.0)
|
|
22
|
+
|
|
23
|
+
**Fix dependency:**
|
|
24
|
+
|
|
25
|
+
- Remove undesired eslint-webpack-plugin ([skjnldsv](https://github.com/skjnldsv))
|
|
26
|
+
|
|
27
|
+
## [v6.0.1](https://github.com/nextcloud/eslint-config/tree/v6.0.1) (2021-08-11)
|
|
28
|
+
|
|
29
|
+
[Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.0.0...v6.0.1)
|
|
30
|
+
|
|
31
|
+
**Merged pull requests:**
|
|
32
|
+
|
|
33
|
+
- Fix license header tags spacing [\#180](https://github.com/nextcloud/eslint-config/pull/180) ([skjnldsv](https://github.com/skjnldsv))
|
|
34
|
+
|
|
3
35
|
## [v6.0.0](https://github.com/nextcloud/eslint-config/tree/v6.0.0)
|
|
4
36
|
|
|
5
37
|
[Full Changelog](https://github.com/nextcloud/eslint-config/compare/v5.1.1...v6.0.0)
|
package/index.js
CHANGED
|
@@ -62,6 +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': ['off'],
|
|
65
66
|
// disallow use of "var"
|
|
66
67
|
'no-var': 'error',
|
|
67
68
|
// suggest using const
|
|
@@ -93,6 +94,11 @@ module.exports = {
|
|
|
93
94
|
allowFirstLine: true,
|
|
94
95
|
},
|
|
95
96
|
}],
|
|
97
|
+
// custom event naming convention
|
|
98
|
+
'vue/custom-event-name-casing': ['error', 'kebab-case', {
|
|
99
|
+
// allows custom xxxx:xxx events formats
|
|
100
|
+
ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u'],
|
|
101
|
+
}],
|
|
96
102
|
// always add a trailing comma (for diff readability)
|
|
97
103
|
'comma-dangle': ['warn', 'always-multiline'],
|
|
98
104
|
// 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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
2
|
+
"name": "@nextcloud/eslint-config",
|
|
3
|
+
"version": "6.1.2",
|
|
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": "^37.0.3",
|
|
18
|
+
"eslint-plugin-node": "^11.1.0",
|
|
19
|
+
"eslint-plugin-promise": "^5.1.0",
|
|
20
|
+
"eslint-plugin-vue": "^7.15.0",
|
|
21
|
+
"webpack": "^5.4.0"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@babel/core": "^7.13.10",
|
|
25
|
+
"@babel/eslint-parser": "^7.13.10",
|
|
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",
|
|
31
|
+
"eslint-plugin-node": "^11.1.0",
|
|
32
|
+
"eslint-plugin-promise": "^5.1.0",
|
|
33
|
+
"eslint-plugin-vue": "^7.1.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
|
}
|