Skip to content

Commit d89cad3

Browse files
committed
update @antfu/eslint-config to v7 + lint fix
1 parent 91335f2 commit d89cad3

6 files changed

Lines changed: 1018 additions & 778 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ All notable changes to `homebridge-config-ui-x` will be documented in this file.
1414
- open accessory info on tile loading icon click
1515
- a11y: improvements to plugin markdown directive (from #2677) (@rfiorentino1)
1616

17+
### Other Changes
18+
19+
- update `@antfu/eslint-config` lint package to `v7`
20+
1721
### Homebridge Dependencies
1822

1923
- `@homebridge/hap-client` @ `v3.1.2`

eslint.config.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,19 @@ export default antfu({
1212
'error',
1313
{
1414
groups: [
15-
'type',
16-
'internal-type',
17-
['parent-type', 'sibling-type', 'index-type'],
15+
['type-builtin', 'type-external', 'type-internal'],
16+
['type-parent', 'type-sibling', 'type-index'],
1817
'builtin',
1918
'external',
2019
'internal',
2120
['parent', 'sibling', 'index'],
2221
'side-effect',
23-
'object',
2422
'unknown',
2523
],
2624
internalPattern: ['^@/.*'],
2725
order: 'asc',
2826
type: 'natural',
29-
newlinesBetween: 'always',
27+
newlinesBetween: 1,
3028
},
3129
],
3230
'perfectionist/sort-named-exports': 'error',

0 commit comments

Comments
 (0)