@nextcloud/eslint-config 6.1.0 → 7.0.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 +37 -0
- package/index.js +12 -10
- package/package.json +51 -47
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v7.0.1](https://github.com/nextcloud/eslint-config/tree/v7.0.1) (2022-01-17)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/nextcloud/eslint-config/compare/v7.0.0...v7.0.1)
|
|
6
|
+
|
|
7
|
+
**Fixed bugs:**
|
|
8
|
+
|
|
9
|
+
- Allow component names to be single-word [\#270](https://github.com/nextcloud/eslint-config/pull/270) ([skjnldsv](https://github.com/skjnldsv))
|
|
10
|
+
|
|
11
|
+
**Dependency updates:**
|
|
12
|
+
|
|
13
|
+
- 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))
|
|
14
|
+
- 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))
|
|
15
|
+
|
|
16
|
+
## [v7.0.0](https://github.com/nextcloud/eslint-config/tree/v7.0.0) (2022-01-12)
|
|
17
|
+
|
|
18
|
+
[Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.1.2...v7.0.0)
|
|
19
|
+
|
|
20
|
+
**Merged pull requests:**
|
|
21
|
+
|
|
22
|
+
- Eslint 8 [\#266](https://github.com/nextcloud/eslint-config/pull/266) ([skjnldsv](https://github.com/skjnldsv))
|
|
23
|
+
- v7.0.0 [\#267](https://github.com/nextcloud/eslint-config/pull/267) ([skjnldsv](https://github.com/skjnldsv))
|
|
24
|
+
## [v6.1.2](https://github.com/nextcloud/eslint-config/tree/v6.1.2) (2021-12-20)
|
|
25
|
+
|
|
26
|
+
[Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.1.1...v6.1.2)
|
|
27
|
+
|
|
28
|
+
**Fixes:**
|
|
29
|
+
|
|
30
|
+
- Fix vue custom event name casing [\#249](https://github.com/nextcloud/eslint-config/pull/249) ([Pytal](https://github.com/Pytal))
|
|
31
|
+
|
|
32
|
+
## [v6.1.1](https://github.com/nextcloud/eslint-config/tree/v6.1.1) (2021-12-02)
|
|
33
|
+
|
|
34
|
+
[Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.1.0...v6.1.1)
|
|
35
|
+
|
|
36
|
+
**Fixes:**
|
|
37
|
+
|
|
38
|
+
- Disable tag rule [\#248](https://github.com/nextcloud/eslint-config/pull/248) ([skjnldsv](https://github.com/skjnldsv))
|
|
39
|
+
|
|
3
40
|
## [v6.1.0](https://github.com/nextcloud/eslint-config/tree/v6.1.0) (2021-08-11)
|
|
4
41
|
|
|
5
42
|
[Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.0.1...v6.1.0)
|
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': ['
|
|
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,19 @@ module.exports = {
|
|
|
93
89
|
// code spacing with attributes
|
|
94
90
|
'vue/max-attributes-per-line': ['error', {
|
|
95
91
|
singleline: 3,
|
|
96
|
-
multiline:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
92
|
+
multiline: 1,
|
|
93
|
+
}],
|
|
94
|
+
'vue/first-attribute-linebreak': ['error', {
|
|
95
|
+
'singleline': 'beside',
|
|
96
|
+
'multiline': 'below',
|
|
100
97
|
}],
|
|
98
|
+
// Allow single-word components names
|
|
99
|
+
'vue/multi-word-component-names': ['off'],
|
|
101
100
|
// custom event naming convention
|
|
102
|
-
'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
|
+
}],
|
|
103
105
|
// always add a trailing comma (for diff readability)
|
|
104
106
|
'comma-dangle': ['warn', 'always-multiline'],
|
|
105
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,49 +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
|
-
|
|
2
|
+
"name": "@nextcloud/eslint-config",
|
|
3
|
+
"version": "7.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.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
|
+
}
|
|
49
53
|
}
|