diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index d6b34020b..9da628520 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 a4ec2c5d6..658373c79 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", diff --git a/src/linter/linter.ts b/src/linter/linter.ts index 812cea648..0d3dd8b0f 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 dee7effef..a40a272df 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 {