From 937938b7ebc2c635a477503461f87d73066047f7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 03:29:36 +0000 Subject: [PATCH 1/2] build(deps-dev): Bump @stylistic/eslint-plugin from 2.11.0 to 2.12.0 Bumps [@stylistic/eslint-plugin](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin) from 2.11.0 to 2.12.0. - [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases) - [Changelog](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v2.12.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@stylistic/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- npm-shrinkwrap.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index d6b34020..9da62852 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -35,7 +35,7 @@ "@eslint/js": "^9.15.0", "@istanbuljs/esm-loader-hook": "^0.2.0", "@istanbuljs/nyc-config-typescript": "^1.0.2", - "@stylistic/eslint-plugin": "^2.11.0", + "@stylistic/eslint-plugin": "^2.12.0", "@types/he": "^1.2.3", "@types/node": "^20.17.9", "@types/sinon": "^17.0.3", @@ -3404,9 +3404,9 @@ "dev": true }, "node_modules/@stylistic/eslint-plugin": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/@stylistic/eslint-plugin/-/eslint-plugin-2.11.0.tgz", - "integrity": "sha512-PNRHbydNG5EH8NK4c+izdJlxajIR6GxcUhzsYNRsn6Myep4dsZt0qFCz3rCPnkvgO5FYibDcMqgNHUT+zvjYZw==", + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/@stylistic/eslint-plugin/-/eslint-plugin-2.12.0.tgz", + "integrity": "sha512-IvD2WXbOoSp0zNpyYbjdSyEjZtut78RYfj2WIlbChE7HFuposTK5X1hc5+4AyqYcjLXYdD5oo/sJtqMGFNRb1w==", "dev": true, "dependencies": { "@typescript-eslint/utils": "^8.13.0", diff --git a/package.json b/package.json index a4ec2c5d..658373c7 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "@eslint/js": "^9.15.0", "@istanbuljs/esm-loader-hook": "^0.2.0", "@istanbuljs/nyc-config-typescript": "^1.0.2", - "@stylistic/eslint-plugin": "^2.11.0", + "@stylistic/eslint-plugin": "^2.12.0", "@types/he": "^1.2.3", "@types/node": "^20.17.9", "@types/sinon": "^17.0.3", From 93ed94d74aeffe566c70a088d419ed5c57583df3 Mon Sep 17 00:00:00 2001 From: Florian Vogt Date: Tue, 10 Dec 2024 10:27:11 +0100 Subject: [PATCH 2/2] style: Add indention tab --- src/linter/linter.ts | 2 +- src/utils/ConfigManager.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linter/linter.ts b/src/linter/linter.ts index 812cea64..0d3dd8b0 100644 --- a/src/linter/linter.ts +++ b/src/linter/linter.ts @@ -354,7 +354,7 @@ export function resolveReader({ // When we work with files paths we actually need to limit the result to those // matches, instead of allowing all except XYZ !isFileIncluded(resPath, minimatchPatterns, patternsMatch) : - isFileIncluded(resPath, minimatchPatterns, patternsMatch); + isFileIncluded(resPath, minimatchPatterns, patternsMatch); }, }); } diff --git a/src/utils/ConfigManager.ts b/src/utils/ConfigManager.ts index dee7effe..a40a272d 100644 --- a/src/utils/ConfigManager.ts +++ b/src/utils/ConfigManager.ts @@ -43,7 +43,7 @@ export default class ConfigManager { // If it's an relative path, transform to POSIX format const configFilePath = path.isAbsolute(this.#configFile) ? this.#configFile : - this.#resolveModulePaths(this.#configFile); + this.#resolveModulePaths(this.#configFile); ({default: config} = await import(configFilePath) as {default: UI5LintConfigType}); } else {