Skip to content

Commit

Permalink
update dependencies and lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Sep 13, 2024
1 parent ce45b16 commit 0b4a11a
Show file tree
Hide file tree
Showing 9 changed files with 1,333 additions and 529 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ The two most recent versions of a plugin are retained in the [Homebridge Plugin

Bundles are only used on certain systems:

* Debian-based Linux ([via apt package](https://github.com/homebridge/homebridge-apt-pkg)): requires apt package update (=>1.0.27)
* Docker: requires image update (=>2022-07-07)
* Synology DSM 7: requires package update via DSM Package Center (=>3.0.7)
- Debian-based Linux ([via apt package](https://github.com/homebridge/homebridge-apt-pkg)): requires apt package update (=>1.0.27)
- Docker: requires image update (=>2022-07-07)
- Synology DSM 7: requires package update via DSM Package Center (=>3.0.7)

When a user requests a plugin to be installed or updated via the Homebridge UI the following workflow is executed:

Expand Down Expand Up @@ -181,4 +181,4 @@ Copyright (C) 2022-2024 oznu

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [GNU General Public License](./LICENSE) for more details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [GNU General Public License](./LICENSE) for more details.
38 changes: 10 additions & 28 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,26 @@ import antfu from '@antfu/eslint-config'

export default antfu({
rules: {
'curly': ['error', 'multi-line'],
'new-cap': 'off',
'curly': ['error'],
'import/extensions': ['error', 'ignorePackages'],
'import/order': 0,
'jsdoc/check-alignment': 'warn',
'jsdoc/check-line-alignment': 'warn',
'jsdoc/require-returns-check': 0,
'jsdoc/require-returns-description': 0,
'no-console': 'off',
'import/order': 'off',
'jsdoc/check-alignment': 'error',
'jsdoc/check-line-alignment': 'error',
'new-cap': 'off',
'no-undef': 'error',
'perfectionist/sort-exports': 'error',
'perfectionist/sort-imports': [
'error',
{
groups: [
'type',
'internal-type',
'builtin',
'external',
'internal',
['parent-type', 'sibling-type', 'index-type'],
['parent', 'sibling', 'index'],
'object',
'unknown',
],
order: 'asc',
type: 'natural',
},
],
'perfectionist/sort-named-exports': 'error',
'perfectionist/sort-named-imports': 'error',
'quotes': ['error', 'single'],
'sort-imports': 0,
'style/brace-style': ['error', '1tbs', { allowSingleLine: true }],
'sort-imports': 'off',
'style/brace-style': ['error', '1tbs'],
'style/quote-props': ['error', 'consistent-as-needed'],
'test/no-only-tests': 'error',
'unicorn/no-useless-spread': 'error',
'unused-imports/no-unused-vars': ['error', { caughtErrors: 'none' }],
},
typescript: true,
formatters: {
markdown: true,
},
})
Loading

0 comments on commit 0b4a11a

Please sign in to comment.