@lichthagel/eslint-config 1.0.12 → 1.0.14

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/dist/index.js CHANGED
@@ -186,9 +186,16 @@ var perfectionist_default = [
186
186
  "perfectionist/sort-objects": [
187
187
  "off",
188
188
  {
189
- customGroups: {
190
- id: ["id", "name", "slug"]
191
- },
189
+ customGroups: [
190
+ {
191
+ groupName: "id",
192
+ elementNamePattern: "^(?:id|uuid|key|index|slug)$"
193
+ },
194
+ {
195
+ groupName: "name",
196
+ elementNamePattern: "^(?:name|title|label)$"
197
+ }
198
+ ],
192
199
  groups: ["id", "unknown"],
193
200
  partitionByComment: true,
194
201
  partitionByNewLine: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichthagel/eslint-config",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "Licht's ESLint config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -42,7 +42,7 @@
42
42
  "types": "dist/index.d.ts",
43
43
  "dependencies": {
44
44
  "@eslint/js": "^9.11.1",
45
- "@stylistic/eslint-plugin": "^2.9.0",
45
+ "@stylistic/eslint-plugin": "^3.0.0",
46
46
  "eslint-plugin-perfectionist": "^4.0.0",
47
47
  "eslint-plugin-unicorn": "^56.0.0",
48
48
  "globals": "^15.9.0",