@nextcloud/eslint-config 6.1.1 → 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 +8 -0
- package/index.js +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
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
|
+
|
|
3
11
|
## [v6.1.1](https://github.com/nextcloud/eslint-config/tree/v6.1.1) (2021-12-02)
|
|
4
12
|
|
|
5
13
|
[Full Changelog](https://github.com/nextcloud/eslint-config/compare/v6.1.0...v6.1.1)
|
package/index.js
CHANGED
|
@@ -95,7 +95,10 @@ module.exports = {
|
|
|
95
95
|
},
|
|
96
96
|
}],
|
|
97
97
|
// custom event naming convention
|
|
98
|
-
'vue/custom-event-name-casing': ['error', 'kebab-case'
|
|
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
|
+
}],
|
|
99
102
|
// always add a trailing comma (for diff readability)
|
|
100
103
|
'comma-dangle': ['warn', 'always-multiline'],
|
|
101
104
|
// Allow shallow import of @vue/test-utils and @testing-library/vue in order to be able to use it in
|