Skip to content

Commit 445a0be

Browse files
dependabot[bot]DigiLiveCopilot
authored
Bump the dependencies group across 1 directory with 9 updates (#291)
* Bump the dependencies group across 1 directory with 9 updates Bumps the dependencies group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.53.0` | `8.57.0` | | [bumpp](https://github.com/antfu-collective/bumpp) | `10.4.0` | `11.0.0` | | [eslint](https://github.com/eslint/eslint) | `9.39.2` | `10.0.3` | | [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) | `0.20.0` | `0.21.0` | | [prettier](https://github.com/prettier/prettier) | `3.8.0` | `3.8.1` | | [webpack](https://github.com/webpack/webpack) | `5.104.1` | `5.105.4` | | [webpack-cli](https://github.com/webpack/webpack-cli) | `6.0.1` | `7.0.0` | Updates `@typescript-eslint/eslint-plugin` from 8.53.0 to 8.57.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.57.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.53.0 to 8.57.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.57.0/packages/parser) Updates `bumpp` from 10.4.0 to 11.0.0 - [Release notes](https://github.com/antfu-collective/bumpp/releases) - [Commits](antfu-collective/bumpp@v10.4.0...v11.0.0) Updates `eslint` from 9.39.2 to 10.0.3 - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v9.39.2...v10.0.3) Updates `markdownlint-cli2` from 0.20.0 to 0.21.0 - [Changelog](https://github.com/DavidAnson/markdownlint-cli2/blob/main/CHANGELOG.md) - [Commits](DavidAnson/markdownlint-cli2@v0.20.0...v0.21.0) Updates `prettier` from 3.8.0 to 3.8.1 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.8.0...3.8.1) Updates `semver` from 7.7.3 to 7.7.4 - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](npm/node-semver@v7.7.3...v7.7.4) Updates `webpack` from 5.104.1 to 5.105.4 - [Release notes](https://github.com/webpack/webpack/releases) - [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md) - [Commits](webpack/webpack@v5.104.1...v5.105.4) Updates `webpack-cli` from 6.0.1 to 7.0.0 - [Release notes](https://github.com/webpack/webpack-cli/releases) - [Changelog](https://github.com/webpack/webpack-cli/blob/main/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@6.0.1...webpack-cli@7.0.0) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.57.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: "@typescript-eslint/parser" dependency-version: 8.57.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: bumpp dependency-version: 11.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: dependencies - dependency-name: eslint dependency-version: 10.0.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: dependencies - dependency-name: markdownlint-cli2 dependency-version: 0.21.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: prettier dependency-version: 3.8.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: semver dependency-version: 7.7.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: webpack dependency-version: 5.105.4 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: webpack-cli dependency-version: 7.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * Migrate ESLint config to flat config format for ESLint v10 compatibility (#294) * Initial plan * Migrate ESLint config from .eslintrc.json to flat config for ESLint v10 compatibility Co-authored-by: DigiLive <7613487+DigiLive@users.noreply.github.com> Agent-Logs-Url: https://github.com/DigiLive/mushroom-strategy/sessions/0af07cb3-21ce-4690-8a05-e2b80aea02d6 * Refactor ESLint config for v10 compatibility Updated the ESLint configuration to follow Flat Config standards for version 10. Added named blocks for better transparency and included prettier overrides to ensure consistent formatting across the project. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: DigiLive <7613487+DigiLive@users.noreply.github.com> Co-authored-by: DigiLive <github@digilive.nl> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ferry Cools <fcools@digilive.nl> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: DigiLive <7613487+DigiLive@users.noreply.github.com> Co-authored-by: DigiLive <github@digilive.nl>
1 parent ff98d02 commit 445a0be

File tree

4 files changed

+474
-782
lines changed

4 files changed

+474
-782
lines changed

.eslintrc.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
import js from '@eslint/js';
2+
import tsPlugin from '@typescript-eslint/eslint-plugin';
3+
import tsParser from '@typescript-eslint/parser';
4+
import globals from 'globals';
5+
import prettierPlugin from 'eslint-plugin-prettier';
6+
import prettierConfig from 'eslint-config-prettier';
7+
8+
/**
9+
* ESLint configuration file.
10+
* Following Flat Config standards for ESLint v10.
11+
* Applying names to blocks for better transparency in the inspector.
12+
*/
13+
export default [
14+
{
15+
name: 'global-ignores',
16+
ignores: ['dist/', 'node_modules/', 'src/types/homeassistant/', 'src/types/lovelace-mushroom/'],
17+
},
18+
{
19+
name: 'eslint-recommended',
20+
...js.configs.recommended,
21+
},
22+
...tsPlugin.configs['flat/recommended'].map((config, index) => ({
23+
...config,
24+
name: `typescript-recommended-${index}`,
25+
})),
26+
{
27+
name: 'main-project-rules',
28+
files: ['**/*.{js,mjs,cjs,ts}'],
29+
plugins: {
30+
'@typescript-eslint': tsPlugin,
31+
},
32+
languageOptions: {
33+
ecmaVersion: 2020,
34+
sourceType: 'module',
35+
parser: tsParser,
36+
parserOptions: {
37+
project: './tsconfig.json',
38+
},
39+
globals: {
40+
...globals.es2020,
41+
...globals.node,
42+
},
43+
},
44+
rules: {
45+
'@typescript-eslint/no-empty-function': 'warn',
46+
'@typescript-eslint/no-unused-vars': [
47+
'warn',
48+
{
49+
argsIgnorePattern: '^_',
50+
},
51+
],
52+
'no-console': 'off',
53+
'no-empty-function': 'off',
54+
'no-unused-vars': 'off',
55+
},
56+
},
57+
{
58+
name: 'config-overrides',
59+
// Add the eslint config file here to prevent the "parserOptions.project" error
60+
files: ['webpack.config.ts', 'webpack.dev.config.ts', 'eslint.config.mjs'],
61+
languageOptions: {
62+
parserOptions: {
63+
project: null,
64+
},
65+
},
66+
},
67+
{
68+
name: 'prettier-final-override',
69+
plugins: {
70+
prettier: prettierPlugin,
71+
},
72+
rules: {
73+
...prettierConfig.rules,
74+
'prettier/prettier': 'error',
75+
},
76+
},
77+
];

0 commit comments

Comments
 (0)