From 0422ba86b8ef7be675e261bc258a36071e36bf3f Mon Sep 17 00:00:00 2001 From: Christopher Allford <6451942+ObliviousHarmony@users.noreply.github.com> Date: Fri, 26 Jan 2024 10:33:34 -0800 Subject: [PATCH] Loosened Some Configuration Scopes (#90) --- CHANGELOG.md | 3 +++ package.json | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 789aebd..ab34d2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ needing to add options that most users will not need. - `phpCodeSniffer.specialOptions.phpcsIntegrationPathOverride` option that allows for overriding the path to the directory containing the extension's PHPCS integration. +### Changed +- All applicable configuration options should be able to be set at the folder level. + ## [2.2.0] - 2023-11-07 ### Fixed - Workers should still be freed when PHPCS does not run. diff --git a/package.json b/package.json index 0c60976..847b4ed 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "items": { "type": "string" }, - "scope": "window" + "scope": "resource" }, "phpCodeSniffer.lintAction": { "type": "string", @@ -115,13 +115,13 @@ "Uses the PSR-12 coding standard,", "Uses the custom standard referenced in the custom ruleset option." ], - "scope": "window" + "scope": "resource" }, "phpCodeSniffer.standardCustom": { "type": "string", "markdownDescription": "The custom coding standard to use if `#phpCodeSniffer.standard#` is set to 'Custom'.", "default": "", - "scope": "window" + "scope": "resource" }, "phpCodeSniffer.executable": { "type": "string", @@ -151,7 +151,7 @@ "items": { "type": "string" }, - "scope": "window" + "scope": "resource" } } },