instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
stylelint__stylelint__7248 | stylelint/stylelint | 7,248 | defect | 8914d463e6e2622ba0d82ae69d36e61f3c08eb89 | 7cad4ff56f42fb184c230cf4a2af3d58f7e39562 | Refactor to add `isHexColor` utility | Added `isHexcolor` utility function and replaced duplicated isHexColor functions and added unit test for the function.
Also removed unused `isValidHex` in `.../color-hex-alpha/index.js`.
<!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not... | diff --git a/lib/rules/color-hex-alpha/index.js b/lib/rules/color-hex-alpha/index.js
index 404b7dd72df..0fc2baad5ae 100644
--- a/lib/rules/color-hex-alpha/index.js
+++ b/lib/rules/color-hex-alpha/index.js
@@ -2,7 +2,7 @@
const declarationValueIndex = require('../../utils/declarationValueIndex');
const hasValidHex =... | 7 | 6 | 2 | [{"id": "G0", "claim": "Revert the pull request's change to the deprecated color-hex-case rule, since that rule will be removed in v16.0.0 and is already gone on the v16 branch.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use Jest's test.each... | null |
stylelint__stylelint__7343 | stylelint/stylelint | 7,343 | defect | f84852ecb9f3e7f46a43e91d7a69f63bfa7c27f0 | 95dc5d7b0ecf5a276c91d40a5ca0182cd058688b | Add support for ESM custom formatters | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?
Cl... | diff --git a/.changeset/dry-queens-act.md b/.changeset/dry-queens-act.md
new file mode 100644
index 0000000000..a5d7ee461e
--- /dev/null
+++ b/.changeset/dry-queens-act.md
@@ -0,0 +1,5 @@
+---
+"stylelint": minor
+---
+
+Added: support for ESM custom formatters
diff --git a/lib/__tests__/__mocks__/stylelint-test-custom... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pull request should add an entry about ESM custom formatter support to the migration guide (repetition being acceptable at this stage).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
stylelint__stylelint__7351 | stylelint/stylelint | 7,351 | defect | 81f0b7fd3070f715627d9cbd4efb428b0bb206ee | 5873f6cc5c92e8cb5cef06683394dbc1d3aa8f46 | Add support for ESM custom syntaxes | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?
Cl... | diff --git a/.changeset/tasty-socks-explode.md b/.changeset/tasty-socks-explode.md
new file mode 100644
index 0000000000..3f6bf026c7
--- /dev/null
+++ b/.changeset/tasty-socks-explode.md
@@ -0,0 +1,5 @@
+---
+"stylelint": minor
+---
+
+Added: support for ESM custom syntaxes
diff --git a/docs/developer-guide/syntaxes.md... | 3 | 1 | 0 | [{"id": "G0", "claim": "The code path for the ESM 'ERR_MODULE_NOT_FOUND' error code is not covered by tests.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added sentence 'Stylelint treats the `parse` property as a required value' should be qualifie... | null |
stylelint__stylelint__7353 | stylelint/stylelint | 7,353 | defect | b0c7876d21a1900aaa3edfee6aa6e878bd4822e0 | 579cf0f57df9b8842f4830307e0f1d98242eafa6 | Deprecate CommonJS Node.js API | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/dry-mangos-suffer.md b/.changeset/dry-mangos-suffer.md
new file mode 100644
index 0000000000..b88496d69a
--- /dev/null
+++ b/.changeset/dry-mangos-suffer.md
@@ -0,0 +1,5 @@
+---
+"stylelint": minor
+---
+
+Deprecated: CJS Node.js API
diff --git a/docs/migration-guide/to-16.md b/docs/migration-gu... | 6 | 5 | 1 | [{"id": "G0", "claim": "There should be a way for a CJS plugin author using Jest to silence the deprecation warning, or the removed `STYLELINT_CJS_IGNORE_WARNING` method should be reintroduced alongside `quietDeprecationWarnings`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"},... | null |
stylelint__stylelint__7446 | stylelint/stylelint | 7,446 | defect | 804bb24c75248aba55b009994e4bfb561593a990 | a7ab7d7925b41b3c94324fdd45a5aea3ef4c16f8 | Fix `allowEmptyInput` option ignored in configuration object regression | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/friendly-garlics-jog.md b/.changeset/friendly-garlics-jog.md
new file mode 100644
index 0000000000..036de21441
--- /dev/null
+++ b/.changeset/friendly-garlics-jog.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fixed: `allowEmptyInput` option ignored in configuration file
diff --git a/lib/__... | 1 | 1 | 0 | [{"id": "G0", "claim": "The changeset description should read \"Fixed: `allowEmptyInput` option ignored in configuration object regression\" instead of \"ignored in configuration file\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
stylelint__stylelint__7468 | stylelint/stylelint | 7,468 | defect | d881c9df941d22a8cdc52bbd13e1b1900b0f95f8 | 6dfb5c5c64410782452a3bee8c4fbc23a43223b7 | Fix `overrides.files` negated pattern regression | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?
Cl... | diff --git a/.changeset/ten-rivers-hammer.md b/.changeset/ten-rivers-hammer.md
new file mode 100644
index 0000000000..d37c290c9d
--- /dev/null
+++ b/.changeset/ten-rivers-hammer.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fixed: `overrides.files` negated pattern regression
diff --git a/lib/__tests__/overrides.t... | 1 | 1 | 0 | [{"id": "G0", "claim": "The changeset description should add the version—15.0.0—that introduced the `overrides.files` negated pattern regression, since it is important information.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
stylelint__stylelint__7474 | stylelint/stylelint | 7,474 | defect | f4c75c911275f7c972f285495c6e037c2731981e | 55d128c25206289fda43d92ed29d7113af102aff | Fix `report()` error message responsibility for a missing node or line number | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?
Cl... | diff --git a/.changeset/weak-maps-tease.md b/.changeset/weak-maps-tease.md
new file mode 100644
index 0000000000..16b45d2cc1
--- /dev/null
+++ b/.changeset/weak-maps-tease.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fixed: unexpected error message in `report()`
diff --git a/lib/utils/__tests__/report.test.mjs b... | 2 | 2 | 0 | [{"id": "G0", "claim": "The error message should not address the user as \"You\" since the user cannot resolve it, and should instead be reworded as a suggestion block proposes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changeset descri... | null |
stylelint__stylelint__7518 | stylelint/stylelint | 7,518 | defect | 6ab38fcf78eb5d4800cca142e09e9419a11bf8e5 | 6af87024aeddd30b15942e1f44cacc68cc6bfd14 | Fix `selector-max-type` end positions | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/lib/rules/selector-max-type/__tests__/index.mjs b/lib/rules/selector-max-type/__tests__/index.mjs
index f2745c537b..3a62c0c840 100644
--- a/lib/rules/selector-max-type/__tests__/index.mjs
+++ b/lib/rules/selector-max-type/__tests__/index.mjs
@@ -39,9 +39,6 @@ testRule({
{
code: '.foo { &__bar {} }',... | 18 | 11 | 1 | [{"id": "G0", "claim": "Asks whether `p { div {} }` would be reported as `p div` (one error) or counted as two separate errors.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Suggests destructuring the selector-parser helpers, e.g. `const { isCombinator, i... | null |
stylelint__stylelint__7539 | stylelint/stylelint | 7,539 | defect | c49f9b5a7b45cb35c58b5bc1cd669733896d0183 | 13a9da01432e953e8f991a19baf51d900cb6dcbc | Add tally of fixable problems to `string` and `verbose` formatters | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/selfish-points-notice.md b/.changeset/selfish-points-notice.md
new file mode 100644
index 0000000000..f4d5b975fe
--- /dev/null
+++ b/.changeset/selfish-points-notice.md
@@ -0,0 +1,5 @@
+---
+"stylelint": minor
+---
+
+Added: Show a count of fixable problems in the string formatter
diff --git a/l... | 5 | 4 | 1 | [{"id": "G0", "claim": "Using `×` for the problem-count line in the 0-errors case (e.g. 0 errors, 1 warning) looks inconsistent and unreadable, and the author should consider using `‼` for that case.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
stylelint__stylelint__7568 | stylelint/stylelint | 7,568 | defect | e01617e9ec6f927e42ef10a66716e24591eb99ba | 9b5399efa92df11fc5d23be468e9113aae5b61d5 | Add experimental support for post processors | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/neat-walls-argue.md b/.changeset/neat-walls-argue.md
new file mode 100644
index 0000000000..2682e07b4d
--- /dev/null
+++ b/.changeset/neat-walls-argue.md
@@ -0,0 +1,5 @@
+---
+"stylelint": minor
+---
+
+Add config `processors` that allows modifying lint results.
diff --git a/docs/user-guide/conf... | 13 | 13 | 4 | [{"id": "G0", "claim": "The changeset entry should follow the project's changelog format, e.g. \"Added: experimental support for post processors\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docs warning should use GitHub's special `> [!WA... | null |
stylelint__stylelint__7578 | stylelint/stylelint | 7,578 | defect | e01617e9ec6f927e42ef10a66716e24591eb99ba | aba47b47aedd3f2793cc1466b67ae9e216a3c3b1 | Fix import errors for configs and plugins omitting `/index.js` | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/three-pumas-help.md b/.changeset/three-pumas-help.md
new file mode 100644
index 0000000000..cac548787d
--- /dev/null
+++ b/.changeset/three-pumas-help.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fix an issue where config for `/index.js` could not be loaded
diff --git a/lib/utils/__tests_... | 2 | 2 | 0 | [{"id": "G0", "claim": "The changelog line should be reworded to \"Fixed: import errors for configs and plugins omitting `/index.js`\" for consistency.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new existsFile helper should use fs.statSync... | null |
stylelint__stylelint__7717 | stylelint/stylelint | 7,717 | defect | 5f366b630234181e8df79f2c799b1f23fa9ccb87 | 4cdd69f161c8ffdb5743d27a7e93994c4fa291e5 | Fix typo in rules.md | > Which issue, if any, is this issue related to?
N/A
> Is there anything in the PR that needs further explanation?
https://github.com/stylelint/stylelint/commit/aa9be6f181613c695e80ddf97b0518b1ac674198#diff-b49ac02da5ff95ce9ef8c2de7f0b2ae24f8bed1f6789825bec7d7d133905a01fL36 | diff --git a/docs/user-guide/rules.md b/docs/user-guide/rules.md
index 3e94d871fcf..82e7b27d791 100644
--- a/docs/user-guide/rules.md
+++ b/docs/user-guide/rules.md
@@ -30,7 +30,7 @@ Disallow duplicates with these `no-duplicate` rules.
| :-- | :-: | :-: |
| [`declaration-block-no-duplicate-custom-properties`](../../l... | 3 | 2 | 0 | [{"id": "G0", "claim": "The `wrapper` helper is a bit hacky and hides the conditional; replace it with more explicit code (an if/else block) instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Define the pattern constants in the same order a... | null |
stylelint__stylelint__7730 | stylelint/stylelint | 7,730 | defect | b5b3799cc107ede5b418bef6ef64bab072b2deab | f9be7f2f140570f3f80d7492162b8c10e173d585 | Add `fix` callback to the object passed to `stylelint.utils.report()` | > Which issue, if any, is this issue related to?
#2643, #4573, #4705
> Is there anything in the PR that needs further explanation?
- [x] future exposition
- [x] `range` for #7192
- [x] `fixed` for #4664
- [x] tests
- [x] `ignoreDisables`
- [x] `disableFix`
- [x] stylelint commands
- [x] add ch... | diff --git a/docs/user-guide/options.md b/docs/user-guide/options.md
index 7ce82d392e9..eedf2cec83c 100644
--- a/docs/user-guide/options.md
+++ b/docs/user-guide/options.md
@@ -40,13 +40,6 @@ For CSS with standard syntax, Stylelint uses [postcss-safe-parser](https://www.n
When using the Node.js API, the autofixed co... | 10 | 8 | 2 | [{"id": "G0", "claim": "The PR title is misleading because this PR adds features rather than being a refactoring.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR is too big to discuss each topic and should be split up.", "category": "process... | null |
stylelint__stylelint__7746 | stylelint/stylelint | 7,746 | defect | 7a78847e959f195cb545fb9869d0641efc1457dd | bbcf9cae4a8dfc90e90c8886088fb4582fe15a8b | `keyframe-selector-notation` fix callback refactor | > Which issue, if any, is this issue related to?
#2643
> Is there anything in the PR that needs further explanation?
I wanted to start with a rule that uses `word`.
After that PR most rule refactors will be quite straight forward.
| diff --git a/.changeset/mighty-chefs-rhyme.md b/.changeset/mighty-chefs-rhyme.md
new file mode 100644
index 0000000000..fcc0bee1f0
--- /dev/null
+++ b/.changeset/mighty-chefs-rhyme.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Changed: use `fix` callback instead of `context.fix` for `keyframe-selector-notation`
d... | 2 | 1 | 0 | [{"id": "G0", "claim": "Since this PR is a pure refactor, the changeset's changelog entry is unnecessary and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Lines 93-94 of lib/utils/report.mjs (the new `word` handling in isFixA... | null |
stylelint__stylelint__7748 | stylelint/stylelint | 7,748 | defect | 7a78847e959f195cb545fb9869d0641efc1457dd | bb3733f26cc8548894d763a5fa0fe0e2919d9cf3 | Save range of replaced text instead of range of original text in `report()` | > Which issue, if any, is this issue related to?
#7730 and #7192
> Is there anything in the PR that needs further explanation?
What was actually missing wasn't the original range but the range of the replaced text.
i.e. `fix` return type is now `void | never | Range`
Returning the new range from the fixer is... | diff --git a/lib/utils/report.cjs b/lib/utils/report.cjs
index ea5a7290eac..44d97329a32 100644
--- a/lib/utils/report.cjs
+++ b/lib/utils/report.cjs
@@ -179,14 +179,13 @@ function isFixApplied(problem) {
const range = hasRange ? { start, end } : node?.rangeBy({ index, endIndex });
if (typeof fix !== 'function') {... | 6 | 5 | 1 | [{"id": "G0", "claim": "There are no cases in lib/utils/__tests__/report.test.mjs for the new `fix` option; please add them.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The FixerData field the PR renamed to `newRange` should keep its original `range`... | null |
stylelint__stylelint__7769 | stylelint/stylelint | 7,769 | defect | 7f41cacf6f5b4f41e96fef11d5b8d701a707d870 | 7053db9434064edabe2778ef45bbdb234a9900b7 | Simplify `report` util even further | > Which issue, if any, is this issue related to?
https://github.com/stylelint/stylelint/pull/7762#discussion_r1642584242
> Is there anything in the PR that needs further explanation?
N/A
| diff --git a/lib/__tests__/standalone-fix.test.mjs b/lib/__tests__/standalone-fix.test.mjs
index 2f1dddb454..64d91c43d8 100644
--- a/lib/__tests__/standalone-fix.test.mjs
+++ b/lib/__tests__/standalone-fix.test.mjs
@@ -205,7 +205,7 @@ describe('fix callback', () => {
},
}),
).rejects.toThrow(
- 'The f... | 3 | 1 | 0 | [{"id": "G0", "claim": "The `typeof` checks in lib/utils/report.mjs (including the `typeof fix !== 'function'` check in `isFixApplied` and the other `typeof` checks in the file) should be replaced with the `isFn`/type-validation helpers from validateTypes.", "category": "maintainability", "verdict": "supported", "prior... | null |
stylelint__stylelint__7806 | stylelint/stylelint | 7,806 | defect | 3694ab33668227f0200ff6c5ce8ca62af354831d | 124ca549c3fc40d8b63e1b20edbb5c693b81ba89 | Refactor `length-zero-no-unit` to use `fix` callback instead of `context.fix` | > Which issue, if any, is this issue related to?
#2643
> Is there anything in the PR that needs further explanation?
N/A
| diff --git a/lib/rules/length-zero-no-unit/index.cjs b/lib/rules/length-zero-no-unit/index.cjs
index 569d5930e9..3dc2ba2cb8 100644
--- a/lib/rules/length-zero-no-unit/index.cjs
+++ b/lib/rules/length-zero-no-unit/index.cjs
@@ -31,8 +31,11 @@ const meta = {
fixable: true,
};
+/** @import { AtRule, Declaration } fro... | 3 | 1 | 0 | [{"id": "G0", "claim": "The refactored check function's four parameters exceed the author's own preference of at most two arguments per function.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use number.startsWith('.') instead of number[0] === ... | null |
stylelint__stylelint__7817 | stylelint/stylelint | 7,817 | defect | cb3a7f8d5e89f2e467a4166293c17d3c2d1e72cc | a8ed48b9f1564760be223535dc5987fbc41c9fcd | Require `meta.fixable` to be truthy when using `fix` callback for `report()` | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/lib/__tests__/fixtures/plugin-fixer-buggy.mjs b/lib/__tests__/fixtures/plugin-fixer-buggy.mjs
index 24eb6b73b2..93f5262157 100644
--- a/lib/__tests__/fixtures/plugin-fixer-buggy.mjs
+++ b/lib/__tests__/fixtures/plugin-fixer-buggy.mjs
@@ -40,5 +40,6 @@ const rule = (primary) => {
rule.ruleName = ruleName... | 3 | 2 | 1 | [{"id": "G0", "claim": "The thrown error message should be reworded to say the rule requires \"fixable\" to be truthy if the \"fix\" callback is being passed, instead of requiring \"fixable=true\" metadata for autofix.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id... | null |
stylelint__stylelint__7821 | stylelint/stylelint | 7,821 | defect | cb3a7f8d5e89f2e467a4166293c17d3c2d1e72cc | e4acdfcc72413f33eda2e27236dc88c042fb7940 | Fix `stylelint.utils.checkAgainstRule()` for Promise-based rules | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/nine-ants-film.md b/.changeset/nine-ants-film.md
new file mode 100644
index 0000000000..8fbf3e4220
--- /dev/null
+++ b/.changeset/nine-ants-film.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fixed: `stylelint.utils.checkAgainstRule()` for Promise-based rules
diff --git a/lib/utils/checkAga... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request should add a test case to `checkAgainstRule.test.mjs` (with fixture plugins under `lib/utils/__tests__/fixtures/`) reproducing the promise-based-rule bug, per the reviewer's repro example.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
stylelint__stylelint__7826 | stylelint/stylelint | 7,826 | defect | 67c21375e12f695a3929bde27281d772dcdeaf93 | dc66e9ee597dea2a6a67804be9392b93520c7ece | Add `formatter` property in configuration | > Which issue, if any, is this issue related to?
Closes #7621
> Is there anything in the PR that needs further explanation?
Tests and doc are pending. Not sure about the logic of precedence for cli flags vs. config property.
| diff --git a/docs/user-guide/configure.md b/docs/user-guide/configure.md
index 09cc00e9ad..ad00f02ba3 100644
--- a/docs/user-guide/configure.md
+++ b/docs/user-guide/configure.md
@@ -648,3 +648,9 @@ For example:
> This config option should not be overridden on a per-file basis.
[More info](options.md#fix).
+
+## `f... | 11 | 9 | 3 | [{"id": "G0", "claim": "The pull request's snapshot tests still have problems and the snapshot-update command the author ran does not fix them.", "category": "testing", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `formatter?: string` declaration in the configuration type c... | null |
stylelint__stylelint__7833 | stylelint/stylelint | 7,833 | defect | 2dfe7cea14159b536b83a35ab9423cd643b36a7e | dd702c4fc8ed300cb6f4f803826de10e67c8c91c | Fix `utils.checkAgainstRule()` to support `fix` callback in `utils.report()` | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?
Fo... | diff --git a/.changeset/short-goats-mix.md b/.changeset/short-goats-mix.md
new file mode 100644
index 0000000000..252640fa48
--- /dev/null
+++ b/.changeset/short-goats-mix.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fixed: `stylelint.utils.checkAgainstRule()` to use `result.stylelint` if possible
diff --git a/l... | 2 | 2 | 1 | [{"id": "G0", "claim": "The changeset's wording 'to use `result.stylelint` if possible' should be reworded — the reviewer suggests 'if present', 'if provided' or 'if passed'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The mock result in checkA... | null |
stylelint__stylelint__7862 | stylelint/stylelint | 7,862 | defect | 5d907ddefa78f7c21b39640a06276b3eaa4afc45 | 5f680754836e83109beca1c305dc0e9f0d7c9fbb | Refactor to remove `Range` from the return type of the `fix` callback | > Which issue, if any, is this issue related to?
https://github.com/stylelint/stylelint/pull/7819#issuecomment-2210064821
> Is there anything in the PR that needs further explanation?
#7860 | diff --git a/lib/utils/__tests__/report.test.mjs b/lib/utils/__tests__/report.test.mjs
index 6de9937ffd..0fae1210f7 100644
--- a/lib/utils/__tests__/report.test.mjs
+++ b/lib/utils/__tests__/report.test.mjs
@@ -404,10 +404,7 @@ describe('with fix callback', () => {
index: 0,
endIndex: 1,
node: { rangeBy: de... | 2 | 1 | 0 | [{"id": "G0", "claim": "Restore the original multi-line form of the `!isFn(fix)` guard instead of `return addFixData(...), false`, because the comma expression misleadingly suggests addFixData() returns a value and the `return x, y` pattern is uncommon in this code base.", "category": "maintainability", "verdict": "sup... | null |
stylelint__stylelint__7865 | stylelint/stylelint | 7,865 | defect | 67c21375e12f695a3929bde27281d772dcdeaf93 | 61bbacf91ed7943de2de6a8534a733d2fccece1f | Deprecate `github` formatter | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/twenty-apes-shave.md b/.changeset/twenty-apes-shave.md
new file mode 100644
index 00000000000..4d42a6465f2
--- /dev/null
+++ b/.changeset/twenty-apes-shave.md
@@ -0,0 +1,7 @@
+---
+"stylelint": minor
+---
+
+Deprecate `github` formatter
+
+You can use [stylelint-actions-formatters](https://githu... | 8 | 8 | 2 | [{"id": "G0", "claim": "The changeset should read \"Deprecated: GitHub formatter\" instead of \"Deprecate `github` formatter\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new deprecation warning in standalone should use the existing emitDe... | null |
stylelint__stylelint__7867 | stylelint/stylelint | 7,867 | defect | 67c21375e12f695a3929bde27281d772dcdeaf93 | c9b06de99d0a8ad8d38a5e15c17ad9bf2ddaef3b | Fix `no-duplicate-selectors` false negatives for three or more duplicates and end positions | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/stale-pianos-teach.md b/.changeset/stale-pianos-teach.md
new file mode 100644
index 0000000000..40f52987ad
--- /dev/null
+++ b/.changeset/stale-pianos-teach.md
@@ -0,0 +1,6 @@
+---
+"stylelint": patch
+---
+
+Fixed: `no-duplicate-selectors` end positions
+Fixed: `no-duplicate-selectors` false ne... | 9 | 7 | 2 | [{"id": "G0", "claim": "The changeset should bump stylelint as minor rather than patch, because the rule now reports more errors (e.g. `a, a, a {}`).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The rule should also detect duplicated selectors w... | null |
stylelint__stylelint__7879 | stylelint/stylelint | 7,879 | defect | e5a2436cc146de1d97f7d87c03dcd66ba8cc8cd2 | 32a56c48077d129cd943a56fd1a852e62b8553b0 | Fix `stylelint.utils.checkAgainstRule()` regression when both `reportNeedlessDisables` and `quiet` enabled | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/stale-geckos-own.md b/.changeset/stale-geckos-own.md
new file mode 100644
index 0000000000..9de0f92468
--- /dev/null
+++ b/.changeset/stale-geckos-own.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fix `stylelint.utils.checkAgainstRule()` to prevent false problems when both `reportNeedlessD... | 1 | 1 | 0 | [{"id": "G0", "claim": "The changeset entry should be reworded to \"Fixed: `stylelint.utils.checkAgainstRule()` regression when `reportNeedlessDisables` and `quiet` are both enabled\" instead of \"to prevent false problems when both ... enabled\".", "category": "documentation", "verdict": "supported", "priority": "P2",... | null |
stylelint__stylelint__7895 | stylelint/stylelint | 7,895 | defect | 1232b539dfebc7a14aaa4b2d99af3af96114d776 | a5a3a7b6939598cd582cdd961409f35b532a4880 | Deprecate `context.fix` in favour of the `fix` callback | > Which issue, if any, is this issue related to?
Closes #2643
> Is there anything in the PR that needs further explanation?
- codecov warning can be ignored
- this change should be part of the same version that will ship #7896 | diff --git a/lib/__tests__/cli-deprecation.test.mjs b/lib/__tests__/cli-deprecation.test.mjs
index 8ed4eff32c..aa64065d5f 100644
--- a/lib/__tests__/cli-deprecation.test.mjs
+++ b/lib/__tests__/cli-deprecation.test.mjs
@@ -13,7 +13,7 @@ it('flags.formatter=github should issue a deprecation warning', async () => {
con... | 5 | 5 | 1 | [{"id": "G0", "claim": "The `RuleMeta` type import added to the lintPostcssResult files is unused and should be dropped (\"fix incoming\").", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The rule context should be built directly (a plain object ... | null |
stylelint__stylelint__7909 | stylelint/stylelint | 7,909 | defect | 18cb1e55f760611fc51f72f6fc7bf191da4f210f | 41d24ee35b033b5b84744f9787eda967bce13c26 | Add deprecation notice to `github` formatter's output | > Which issue, if any, is this issue related to?
Closes #7447
> Is there anything in the PR that needs further explanation?
https://github.com/stylelint/stylelint/issues/7447#issuecomment-2269174803
| diff --git a/lib/formatters/__tests__/githubFormatter.test.mjs b/lib/formatters/__tests__/githubFormatter.test.mjs
index 311b8d2822..59846dd495 100644
--- a/lib/formatters/__tests__/githubFormatter.test.mjs
+++ b/lib/formatters/__tests__/githubFormatter.test.mjs
@@ -69,6 +69,7 @@ describe('githubFormatter', () => {
::... | 3 | 2 | 1 | [{"id": "G0", "claim": "The formatter should always emit the deprecation notice, not only when there are other warnings, i.e. drop the `if (lines.length)` guard.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should include a changeset/c... | null |
stylelint__stylelint__7916 | stylelint/stylelint | 7,916 | defect | 1fba291f3b7e88970d54566b360841cd123fc565 | 956bb5107ba3da9f70227e8e21ff701de2be0954 | Fix `selector-max-type` reported ranges | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/lib/rules/selector-max-type/__tests__/index.mjs b/lib/rules/selector-max-type/__tests__/index.mjs
index 1218e1b74b..220e4a3ca6 100644
--- a/lib/rules/selector-max-type/__tests__/index.mjs
+++ b/lib/rules/selector-max-type/__tests__/index.mjs
@@ -1,3 +1,5 @@
+import { stripIndent } from 'common-tags';
+
im... | 7 | 6 | 0 | [{"id": "G0", "claim": "The name of the `selectorStr` property of the returned object should be reconsidered (suggested: `selector`, `selectorString`, `source`, `representation`, `value`), since hungarian-style naming is unnecessary with JSDoc.", "category": "maintainability", "verdict": "supported", "priority": "P3", ... | null |
stylelint__stylelint__7936 | stylelint/stylelint | 7,936 | defect | 18cb1e55f760611fc51f72f6fc7bf191da4f210f | 3eafd70fafc06baa236e445d15b6f46e254f9e3a | Refactor to add `WarningOptions.StylelintWarningType` union type | > Which issue, if any, is this issue related to?
slightly related to #7845
> Is there anything in the PR that needs further explanation?
1. There are 2 places where we set `stylelintType` to `'parseError'`:
https://github.com/stylelint/stylelint/blob/860acdccb666ee3429d8509e596ce81708448b3f/lib/utils/tran... | diff --git a/lib/formatters/__tests__/compactFormatter.test.mjs b/lib/formatters/__tests__/compactFormatter.test.mjs
index 355193f292..bff3df95f4 100644
--- a/lib/formatters/__tests__/compactFormatter.test.mjs
+++ b/lib/formatters/__tests__/compactFormatter.test.mjs
@@ -123,8 +123,8 @@ describe('compactFormatter', () =... | 2 | 2 | 1 | [{"id": "G0", "claim": "Since `StylelintType` is too generic, the new union type should be renamed to `StylelintWarningType` (with its usages updated).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The unixFormatter test uses the misspelt warning type '... | null |
stylelint__stylelint__7940 | stylelint/stylelint | 7,940 | defect | 860acdccb666ee3429d8509e596ce81708448b3f | f549224161a5fbe29b0b96640d96ad7a39ea7457 | `property-no-vendor-prefix`: handle `-webkit-background-size` as a special case when it has less than two values per background | > Which issue, if any, is this issue related to?
Closes #7727
> Is there anything in the PR that needs further explanation?
1. `-webkit-background-size` doesn't support `cover` nor `contain`.
ref: https://developer.mozilla.org/en-US/docs/Web/CSS/background-size
2. The exception for `-ms-interpolation-mode` w... | diff --git a/.changeset/few-tigers-deliver.md b/.changeset/few-tigers-deliver.md
new file mode 100644
index 0000000000..af4dc754bc
--- /dev/null
+++ b/.changeset/few-tigers-deliver.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fixed: do not attempt to autofix `-webkit-background-size` for `property-no-vendor-pref... | 2 | 1 | 0 | [{"id": "G0", "claim": "The changeset description should be reworded — away from the 'do not attempt to autofix ... if it has less than two values per background' phrasing, and into the maintainer's sortable format `Fixed: `property-no-vendor-prefix` <bug summary> <bug details>`.", "category": "documentation", "verdict... | null |
stylelint__stylelint__7943 | stylelint/stylelint | 7,943 | defect | 860acdccb666ee3429d8509e596ce81708448b3f | acd3084efc16eebfc78d87b636408bc5ce77ad36 | Honour `--no-deprecation` flag for deprecated rules | > Which issue, if any, is this issue related to?
Closes #7845
> Is there anything in the PR that needs further explanation?
N/A
| diff --git a/.changeset/tall-pumpkins-do.md b/.changeset/tall-pumpkins-do.md
new file mode 100644
index 0000000000..c503cb9608
--- /dev/null
+++ b/.changeset/tall-pumpkins-do.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fixed: `--no-deprecation` to suppress `stylelint:000` warning
diff --git a/docs/developer-gui... | 8 | 7 | 1 | [{"id": "G0", "claim": "warnDeprecatedRule may produce duplicate deprecation warnings for plugins that warn themselves, and it might be wiser to modify it in another PR so that it only warns for core rules.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "cl... | null |
stylelint__stylelint__7975 | stylelint/stylelint | 7,975 | defect | a8e598f18f683b0d1274e67400cce8e950bad5d7 | cac3eface360efd601ca976ed77d5ca113a04a05 | Fix `possible` values | > Which issue, if any, is this issue related to?
N/A
> Is there anything in the PR that needs further explanation?
I am unsure if it can be considered a refactor or not. | diff --git a/lib/rules/block-no-empty/index.cjs b/lib/rules/block-no-empty/index.cjs
index 8811b9fd61e..9764e9f61fa 100644
--- a/lib/rules/block-no-empty/index.cjs
+++ b/lib/rules/block-no-empty/index.cjs
@@ -4,7 +4,6 @@
const beforeBlockString = require('../../utils/beforeBlockString.cjs');
const hasBlock = requir... | 3 | 3 | 2 | [{"id": "G0", "claim": "Detecting report* option names with the `/^report[A-Z]/` regex can exempt rules that are not built-in report options from the `actual: false` validation (e.g. a plugin might have a rule whose name starts with \"report\"), so the built-in report option names should be listed explicitly (as a set)... | null |
stylelint__stylelint__7981 | stylelint/stylelint | 7,981 | defect | a8e598f18f683b0d1274e67400cce8e950bad5d7 | 9ba221a4ce809fbb4749d7dc92964190c8e8e8f9 | Fix string formatter handling of log symbols | > Which issue, if any, is this issue related to?
Closes #5741
> Is there anything in the PR that needs further explanation?
https://github.com/stylelint/stylelint/pull/5562/files#diff-0d10acb017f5fc20b4b5eb99470f83c79384c9014f32f1c9c7ddf4cfed760211R192
https://github.com/stylelint/stylelint/issues/5741#issuec... | diff --git a/.changeset/four-cameras-dream.md b/.changeset/four-cameras-dream.md
new file mode 100644
index 0000000000..07f7f95f68
--- /dev/null
+++ b/.changeset/four-cameras-dream.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fixed: string formatter handling of log symbols
diff --git a/lib/formatters/__tests__/s... | 4 | 4 | 1 | [{"id": "G0", "claim": "Reword the changeset entry to \"Fixed: `string` formatter handling of log symbols for non-Unicode environments\" for consistency and clarity.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new isUnicodeSupported utility... | null |
stylelint__stylelint__7992 | stylelint/stylelint | 7,992 | defect | 92102823d70cd70e02bc009340e23c026724a6e1 | d39d4526d552d7e448ad9e8ecf118164d25ed032 | Fix `keyframe-selector-notation` reported ranges | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/giant-worms-trade.md b/.changeset/giant-worms-trade.md
new file mode 100644
index 0000000000..84c8cc0ecf
--- /dev/null
+++ b/.changeset/giant-worms-trade.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fixed: `keyframe-selector-notation` reported ranges
diff --git a/lib/rules/keyframe-select... | 3 | 2 | 0 | [{"id": "G0", "claim": "A regression test should be added showing that a keyframes rule such as `@keyframes foo { to {}, fro {} }` still reports the valid `to` selector when the adjacent `fro` is a typo.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
stylelint__stylelint__8009 | stylelint/stylelint | 8,009 | defect | c0c1b92d6945356f6ca22472bf85ff6e37e22a8c | 54e410165e2df9c67e15ebd044ed47a149056876 | Add `--[no-]validate` flag and `validate` option | > Which issue, if any, is this issue related to?
It was inspired by:
> […by it's very nature Stylelint runs should gravitate towards becoming a `noop`.](https://github.com/stylelint/stylelint/issues/6869#issue-1729397616)
> Is there anything in the PR that needs further explanation?
1.
Most of the time y... | diff --git a/.changeset/yellow-chairs-laugh.md b/.changeset/yellow-chairs-laugh.md
new file mode 100644
index 0000000000..c8074c2455
--- /dev/null
+++ b/.changeset/yellow-chairs-laugh.md
@@ -0,0 +1,5 @@
+---
+"stylelint": minor
+---
+
+Added: `validate` option to Node.js API and `--validate` CLI flag
diff --git a/docs/... | 6 | 5 | 0 | [{"id": "G0", "claim": "The link given in the PR description for the quoted 'Stylelint runs should gravitate towards becoming a `noop`' remark points to the wrong issue and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "unclear"}, {"id": "G1", "claim": "For consi... | null |
stylelint__stylelint__8095 | stylelint/stylelint | 8,095 | defect | eb20f640b5949701cbf4c963db6dd34d28e081d3 | 12111665d7bf65689cdce67ad047d79e8c742f90 | Add `name` configuration property under `overrides` | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/types/stylelint/index.d.ts b/types/stylelint/index.d.ts
index 28a354d5a6..6a4de4408d 100644
--- a/types/stylelint/index.d.ts
+++ b/types/stylelint/index.d.ts
@@ -14,6 +14,7 @@ type ConfigRules = {
type ConfigOverride = Omit<stylelint.Config, 'overrides'> & {
files: string | string[];
+ name?: string;
... | 2 | 2 | 2 | [{"id": "G0", "claim": "Add a test case covering the new `name` overrides property, which should break nothing.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Document the new `name` property in the configuration guide.", "category": "documentation", "v... | null |
stylelint__stylelint__8106 | stylelint/stylelint | 8,106 | defect | 32574c90fbc79bc56892f21798231f951ceed019 | 4c5a8065dde56efb92acc82e964907d230d669e0 | Add `lax`/`strict` values to `fix` option and CLI flag | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/docs/user-guide/options.md b/docs/user-guide/options.md
index ec7f9b9186..26bd1322e9 100644
--- a/docs/user-guide/options.md
+++ b/docs/user-guide/options.md
@@ -36,7 +36,11 @@ CLI flag: `--fix`
Automatically fix, where possible, problems reported by rules.
-For CSS with standard syntax, Stylelint use... | 17 | 13 | 2 | [{"id": "G0", "claim": "The new tests for the `--fix` values call `buildCLI()` directly, so the new parsing logic in `main()` is not reflected in coverage.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `fix` flag's type does not have to be changed ... | null |
stylelint__stylelint__8108 | stylelint/stylelint | 8,108 | defect | 32574c90fbc79bc56892f21798231f951ceed019 | 1e082d19854f496cde6d92becd2ded39b57c9984 | Add support for profiling rule performance via the `TIMING` environment variable | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/docs/user-guide/cli.md b/docs/user-guide/cli.md
index 6b8c2623ce..dfd07e61b0 100644
--- a/docs/user-guide/cli.md
+++ b/docs/user-guide/cli.md
@@ -136,6 +136,36 @@ Force enable/disable the validation of the rules' options. [More info](options.m
Show the currently installed version of Stylelint.
+## Pro... | 19 | 14 | 2 | [{"id": "G0", "claim": "The timing table should be printed with `console.debug` instead of `console.log` (per the suggestion block).", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `-- Debugging function` justification comment on the console.log line is... | null |
stylelint__stylelint__8115 | stylelint/stylelint | 8,115 | defect | 13933eda2c6430ea2c595f02f47799adbda771df | c3b268688132a4431cdad16c8458da74be9ced23 | Change deprecation warning to link to `https://stylelint.io/awesome-stylelint#formatters` | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/lib/standalone.cjs b/lib/standalone.cjs
index 721f9a867d..d8c482c412 100644
--- a/lib/standalone.cjs
+++ b/lib/standalone.cjs
@@ -113,7 +113,7 @@ async function standalone({
emitDeprecationWarning(
'"github" formatter is deprecated.',
'GITHUB_FORMATTER',
- 'Please use "stylelint-actions-format... | 1 | 1 | 1 | [{"id": "G0", "claim": "The deprecation warning should link to the awesome-stylelint formatters list instead of naming one specific formatter, so users can pick a formatter and the message will not need updating in the future.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
stylelint__stylelint__8203 | stylelint/stylelint | 8,203 | defect | 851debebe37bd9fe4de7495430e2b8b1da369710 | 9f2df63b9cf781f75b1d6821726b195171bef5ea | Fix `property-no-unknown` false positives for descriptors | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/lib/rules/property-no-unknown/__tests__/index.mjs b/lib/rules/property-no-unknown/__tests__/index.mjs
index d81b01478e..f436bd1da5 100644
--- a/lib/rules/property-no-unknown/__tests__/index.mjs
+++ b/lib/rules/property-no-unknown/__tests__/index.mjs
@@ -39,6 +39,14 @@ testRule({
code: '.foo { --custom-... | 5 | 5 | 1 | [{"id": "G0", "claim": "Lines 264-380 of the rule's test file are no longer necessary; per the follow-up, at least the two `/^my-/` accept tests in the `ignoreAtRules` test block should be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Checking... | null |
stylelint__stylelint__8266 | stylelint/stylelint | 8,266 | defect | fb5b0646fba85d32f698ca2d8a92daa9430d0024 | 710b9fa28ebb86cd0ee695c8cae24412b7ba974e | Fix `FileCache` false negatives when only contents have changed | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/lib/__tests__/standalone-cache.test.mjs b/lib/__tests__/standalone-cache.test.mjs
index 7432f1c855..6bf7319166 100644
--- a/lib/__tests__/standalone-cache.test.mjs
+++ b/lib/__tests__/standalone-cache.test.mjs
@@ -412,7 +412,7 @@ describe('standalone cache uses cacheStrategy', () => {
expect(resultsCach... | 5 | 3 | 0 | [{"id": "G0", "claim": "The removed `#hasFileCheckSumChanged` condition `fileHash !== metaCache?.hash` would never match, and the function would never return `true`, because `fileHash` and `metaCache?.hash` are always the same value when `getFileDescriptor` is called before reading the content hash from the cache.", "c... | null |
stylelint__stylelint__8331 | stylelint/stylelint | 8,331 | defect | 155f66ade6e9a815cdb9a5a21f83c6337789b6ce | 94dbbe6c8e8b806893a68b86086e776863edd908 | Add `syntax-string-no-invalid` | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/fluffy-rocks-lay.md b/.changeset/fluffy-rocks-lay.md
new file mode 100644
index 0000000000..540fd1e982
--- /dev/null
+++ b/.changeset/fluffy-rocks-lay.md
@@ -0,0 +1,5 @@
+---
+"stylelint": minor
+---
+
+Add `syntax-string-no-invalid`
diff --git a/docs/user-guide/rules.md b/docs/user-guide/rules.... | 5 | 4 | 1 | [{"id": "G0", "claim": "The rule should also validate that combinators are `|` and multipliers are `+` or `#` (with appropriate error messages if so); leaning on csstree's lexer for the validation, as romainmenke suggested, may be easier to maintain.", "category": "correctness", "verdict": "supported", "priority": "P1"... | null |
stylelint__stylelint__8334 | stylelint/stylelint | 8,334 | defect | f6d50556701b78c42fd0dd8135158ab0ee43431b | 926f1d281c3861df95c8ea90fe147e3fd947052c | Fix `tap` formatter outputting invalid YAML blocks for rules containing double quotes in their warnings' messages | > Which issue, if any, is this issue related to?
Closes #8321
> Is there anything in the PR that needs further explanation?
https://stackoverflow.com/q/19109912/248058 | diff --git a/.changeset/angry-bees-suffer.md b/.changeset/angry-bees-suffer.md
new file mode 100644
index 00000000000..6ebf24318dc
--- /dev/null
+++ b/.changeset/angry-bees-suffer.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fixed: `tap` formatter outputting invalid YAML blocks for rules containing double quotes... | 11 | 10 | 5 | [{"id": "G0", "claim": "The message escaping is incomplete because it does not escape backslash characters in the input (CodeQL: incomplete string escaping or encoding).", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The double-quote escaping should us... | null |
stylelint__stylelint__8359 | stylelint/stylelint | 8,359 | defect | c33ad7dd0a53151071dc81fbba42504b0687301d | 097cd8e380b4a6537f0225200663d24bf27be12b | Fix incompatible cache file format | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/lib/__tests__/standalone-cache.test.mjs b/lib/__tests__/standalone-cache.test.mjs
index 5aebb41849..a1c03902c5 100644
--- a/lib/__tests__/standalone-cache.test.mjs
+++ b/lib/__tests__/standalone-cache.test.mjs
@@ -180,6 +180,14 @@ describe('standalone cache', () => {
expect(cache.getKey(newFileDest)).to... | 3 | 1 | 0 | [{"id": "G0", "claim": "If the failure is unrelated to the cache file format, re-creating the cache after removing it will throw again.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider passing the `force` option to `rmSync(cacheFile)` so it d... | null |
stylelint__stylelint__8473 | stylelint/stylelint | 8,473 | defect | e35e3b91a66f8c237f92cee1684374e943f1947d | 417e465ebb0298e13f27155d3df5b61af2c688e3 | Add `--compute-edit-info` flag | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/happy-chefs-invent.md b/.changeset/happy-chefs-invent.md
new file mode 100644
index 0000000000..f4024f6bf4
--- /dev/null
+++ b/.changeset/happy-chefs-invent.md
@@ -0,0 +1,5 @@
+---
+"stylelint": minor
+---
+
+Added: `--compute-edit-info` flag
diff --git a/docs/user-guide/cli.md b/docs/user-guide... | 8 | 7 | 2 | [{"id": "G0", "claim": "The `--compute-edit-info` help entry should be placed after `--fix` so that `--version` and `--help` remain last in the help text.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The change appending fix information to the str... | null |
stylelint__stylelint__8594 | stylelint/stylelint | 8,594 | defect | 33bc18bebc0f657f6b15d176aca4014b6dfc9936 | aca65b9c0856e9e301a2fcaf0b543cb32da08c53 | Refactor `getConfigForFile()` utility | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/lib/__tests__/fixtures/config-overrides/extends-in-overrides.json b/lib/__tests__/fixtures/config-overrides/extends-in-overrides.json
index 7d01d05f61..11483e3938 100644
--- a/lib/__tests__/fixtures/config-overrides/extends-in-overrides.json
+++ b/lib/__tests__/fixtures/config-overrides/extends-in-override... | 4 | 1 | 0 | [{"id": "G0", "claim": "The JSDoc for `options.filePath` is missing a description; add a brief note, e.g. 'The path of the file for applying overrides'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Changing the public signature of `getConfigForF... | null |
stylelint__stylelint__8599 | stylelint/stylelint | 8,599 | defect | 22ca9e673f07ea57167f0f655ab1559bb08feec7 | 3ab5f346de67a2a9aac58fd60161ad9791a45df0 | Fix `cache` configuration property not being respected | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/loose-taxis-occur.md b/.changeset/loose-taxis-occur.md
new file mode 100644
index 0000000000..f882669f5d
--- /dev/null
+++ b/.changeset/loose-taxis-occur.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fixed: `cache` configuration property not being respected
diff --git a/lib/__tests__/cli.t... | 2 | 2 | 0 | [{"id": "G0", "claim": "Since the `option` and `config` parameters always carry the same name, the helper's signature could be simplified to a single `name` parameter to prevent mistakes and make the API cleaner.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
stylelint__stylelint__8889 | stylelint/stylelint | 8,889 | defect | d42c89cdaf2a66021379582a0297e57ab8872041 | b5247f434aaf9004077f3936133d116e95a38f2b | Change default `fix` mode to `strict` | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/wild-cars-jog.md b/.changeset/wild-cars-jog.md
new file mode 100644
index 0000000000..d307b43fb8
--- /dev/null
+++ b/.changeset/wild-cars-jog.md
@@ -0,0 +1,5 @@
+---
+"stylelint": major
+---
+
+Changed: default `fix` mode to `strict`
diff --git a/docs/migration-guide/to-17.md b/docs/migration-gu... | 3 | 3 | 2 | [{"id": "G0", "claim": "The migration guide's `fix=false` example is missing the `+` marker on the final line, so the diff-shell example does not show the replacement line as added.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "docs/user-guide/op... | null |
stylelint__stylelint__8903 | stylelint/stylelint | 8,903 | defect | 9b5404494a47033002a3fd61bea66c172616ba9f | 01b51d6ec94f42b8beadee365dcfbed4fdb4ca27 | Undeprecate CommonJS plugins | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/lib/augmentConfig.mjs b/lib/augmentConfig.mjs
index 3e6954ec40..d1e17c12d9 100644
--- a/lib/augmentConfig.mjs
+++ b/lib/augmentConfig.mjs
@@ -7,7 +7,6 @@ import normalizePath from 'normalize-path';
import { isFunction, isString } from './utils/validateTypes.mjs';
import { ConfigurationError } from './uti... | 1 | 1 | 0 | [{"id": "G0", "claim": "Because the undeprecation is user facing, the pull request should also add a changelog entry and a brief description in the migration guide.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
stylelint__stylelint__8976 | stylelint/stylelint | 8,976 | defect | 3ff399d27b4c1558b1682757b58a528134444296 | fcfa4a98a53fe5b2d7afa0acd425b1b89dacc6f8 | Add `ignoreMediaFeatureNameValues: {}` to `media-feature-name-value-no-unknown` | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/grumpy-maps-notice.md b/.changeset/grumpy-maps-notice.md
new file mode 100644
index 0000000000..5346854088
--- /dev/null
+++ b/.changeset/grumpy-maps-notice.md
@@ -0,0 +1,5 @@
+---
+"stylelint": minor
+---
+
+Add `ignoreMediaFeatureNameValues` to `media-feature-name-value-no-unknown`
diff --git ... | 14 | 14 | 1 | [{"id": "G0", "claim": "Reword the changeset description to the project's changelog style: \"Added: `ignoreMediaFeatureNameValues` to `media-feature-name-value-no-unknown`\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Merge the four new test c... | null |
stylelint__stylelint__8977 | stylelint/stylelint | 8,977 | defect | e678979328ae2369f58fc514bdeba1c247fe2d92 | 3d1b26c6517e401444478e713631567de943e17d | Fix `no-descending-specificity` & `no-duplicate-selectors` false negatives for equivalent compound selectors |
<!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related t... | diff --git a/.changeset/tough-apes-provide.md b/.changeset/tough-apes-provide.md
new file mode 100644
index 0000000000..73c388d5ce
--- /dev/null
+++ b/.changeset/tough-apes-provide.md
@@ -0,0 +1,5 @@
+---
+"stylelint": minor
+---
+
+Fixed: `no-duplicate-selectors` false negatives for equivalent compound selectors
diff ... | 5 | 5 | 0 | [{"id": "G0", "claim": "The variables should be renamed (compoundSelectors to compoundSelectorGroups, currentCompoundSelector to currentCompoundSelectorGroup) for better readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The combinator ... | null |
stylelint__stylelint__9010 | stylelint/stylelint | 9,010 | defect | 48f637247255b0cae796f73dbbcf74706d755116 | ce7f297324281df1289f339519e898a04b998b76 | Fix resolution of configs, plugins, processors, and custom syntaxes in Yarn PnP environments | Fixes #8971.
The import-meta-resolve polyfill does not integrate with Yarn PnP's module resolution because it doesn't respect ESM loader hooks.
This change detects when the PnP runtime is loaded and uses its API to perform resolution where possible. | diff --git a/.changeset/simple-boat-toad.md b/.changeset/simple-boat-toad.md
new file mode 100644
index 00000000000..b5e295cce3d
--- /dev/null
+++ b/.changeset/simple-boat-toad.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fixed: resolution of configs, plugins, processors, and custom syntaxes in Yarn PnP environm... | 2 | 2 | 0 | [{"id": "G0", "claim": "Minor: the `.pnp` environment check is duplicated between `resolvePnP` and the `if (isBareSpecifier && process.versions.pnp)` call site, so the one inside `resolvePnP` can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
stylelint__stylelint__9089 | stylelint/stylelint | 9,089 | defect | 106f6e4359aafbf021bae98a1a3470f4af668ee4 | 01403ae4aa02380ed7e1c274c301d7ab270ebe62 | Fix performance of selector cloning rules | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/great-eggs-glow.md b/.changeset/great-eggs-glow.md
new file mode 100644
index 0000000000..785feac887
--- /dev/null
+++ b/.changeset/great-eggs-glow.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fixed: performance of selector cloning rules
diff --git a/lib/rules/no-descending-specificity/in... | 2 | 2 | 0 | [{"id": "G0", "claim": "Consider whether getNormalizedSelector() should always be used instead of normalizeSelector(), and if so merge getNormalizedSelector() into normalizeSelector() to avoid confusion.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Mak... | null |
stylelint__stylelint__9166 | stylelint/stylelint | 9,166 | defect | 11493284cc7b041798b80c5fd57b6887d761482b | eeb3be342d83ad545ca9b91b073194429a92f947 | Add support for extending units to `languageOptions` | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/beige-cups-chew.md b/.changeset/beige-cups-chew.md
new file mode 100644
index 0000000000..311b547e2a
--- /dev/null
+++ b/.changeset/beige-cups-chew.md
@@ -0,0 +1,5 @@
+---
+"stylelint": minor
+---
+
+Added: support for extending units to `languageOptions`
diff --git a/docs/user-guide/configure.m... | 1 | 1 | 0 | [{"id": "G0", "claim": "Refactor the custom-unit collection to use `.flatMap()` with aligned `knownUnits =` assignments, so the code is a bit more readable.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
stylelint__stylelint__9182 | stylelint/stylelint | 9,182 | defect | f74ceafa445e0299261a8d590a27c9441dea49d1 | f91eaf992a68dcc04dddfc1e6e4a8010060f2cdc | Fix `selector-no-qualifying-type` false positives for `:has()` | <!-- Each pull request must be associated with an open issue unless it's a documentation fix. If a corresponding issue does not exist, please create one so we can discuss the change first. -->
<!-- Please answer the following. We close pull requests that don't. -->
> Which issue, if any, is this issue related to?... | diff --git a/.changeset/spicy-colts-give.md b/.changeset/spicy-colts-give.md
new file mode 100644
index 0000000000..c8121a4f9b
--- /dev/null
+++ b/.changeset/spicy-colts-give.md
@@ -0,0 +1,5 @@
+---
+"stylelint": patch
+---
+
+Fixed: `selector-no-qualifying-type` false positives for `:has()`
diff --git a/lib/rules/sele... | 2 | 2 | 0 | [{"id": "G0", "claim": "In isSelectorContainingPseudoClass, `node.nodes.length > 0` would be more explicit than `Boolean()`, evaluating the length before `.has()` might be a bit more efficient, and `toLowerCase()` on the value might be necessary for more accuracy.", "category": "maintainability", "verdict": "supported"... | null |
stylessh__diffkit__164 | stylessh/diffkit | 164 | defect | d0a76908492939183b4de070a3c29b77b86077fb | c0b63febb6875714dd40d9ecefdca478215ae1af | feat(dashboard): add check run external links and rerun buttons | ## Summary
Adds GitHub Actions-equivalent CI controls to the PR checks section — re-run buttons and external links to check runs on github.com.
## Changes
### 1. `htmlUrl` on `PullCheckRun` type (`github.types.ts`)
- Adds `htmlUrl: string | null` to surface the GitHub check run URL
### 2. `rerunChecks` server funct... | diff --git a/apps/dashboard/src/components/pulls/detail/pull-detail-activity.tsx b/apps/dashboard/src/components/pulls/detail/pull-detail-activity.tsx
index cc87fd9..4323ee3 100644
--- a/apps/dashboard/src/components/pulls/detail/pull-detail-activity.tsx
+++ b/apps/dashboard/src/components/pulls/detail/pull-detail-acti... | 7 | 6 | 3 | [{"id": "G0", "claim": "The check-run external link stays at opacity-0 unless hovered and the icon-only anchor has no accessible name, so the action is hard to discover on keyboard/touch devices and invisible to screen readers; make it visible without hover and give it an accessible name.", "category": "accessibility",... | null |
styx-emulator__styx-emulator__37 | styx-emulator/styx-emulator | 37 | defect | 7c82659e68b29eb10d0425d4747202ce7eb8875e | f052cd1f56bb455412150f562cb9f4f7e2a47def | feat: add hexagon test binaries | closes #35 | diff --git a/Cargo.lock b/Cargo.lock
index ce616b13c..190bdbc0e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5947,6 +5947,7 @@ dependencies = [
"styx-blackfin-testdata",
"styx-cpu-type",
"styx-errors",
+ "styx-hexagon-testdata",
"styx-loader",
"styx-macros",
"styx-memory",
@@ -6251,6 +6252,17 @@ dependencie... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new crate's Cargo.toml defines the wrong disable feature — `disable-blackfin-tests` (copied from the blackfin crate) instead of a `disable-hexagon-tests` feature matching the comment above it and the `disable-hexagon-tests` gating used in the code, so `--all-features` does not disable the he... | null |
sublimelsp__LSP__1445 | sublimelsp/LSP | 1,445 | defect | 1be77595769976fd1fe54adfd64a9ffaafa24eaf | 883a5b8ee09affd3e2e840fb03852918c1c07f89 | Introduce path mapping classes | Path maps can be defined for each server configuration.
There is still the issue of actually applying the path maps everywhere. I will
defer this to another PR because it's huge.
I will also add the settings in sublime-package.json once everything is
actually working.
Related (but doesn't resolve): #535 | diff --git a/plugin/core/types.py b/plugin/core/types.py
index c22c5d851..6b5663fc6 100644
--- a/plugin/core/types.py
+++ b/plugin/core/types.py
@@ -11,6 +11,8 @@
import socket
import sublime
import time
+import urllib.parse
+import urllib.request
TCP_CONNECT_TIMEOUT = 5
@@ -467,6 +469,55 @@ def should_notify_d... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new path-mapping code's intent is unclear and some tests would be nice to have to understand which cases it handles, even if Windows-specific tests would need to run on Windows.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
sublimelsp__LSP__1478 | sublimelsp/LSP | 1,478 | defect | 67f6fd32a457d00c1d910099f739c87639e6c138 | c121930b6bd8c4d97dd4b69e0913b1b87d394ffb | Add an optional ClientConfig argument to filename_to_uri and uri_to_filename | This ensures backwards compatibility for the public API, because filename_to_uri
and uri_to_filename are indeed part of the API. | diff --git a/plugin/core/types.py b/plugin/core/types.py
index 5bbfe6f6f..3de7d8f8e 100644
--- a/plugin/core/types.py
+++ b/plugin/core/types.py
@@ -2,9 +2,11 @@
from .logging import debug, set_debug_logging
from .protocol import TextDocumentSyncKindNone
from .typing import Any, Optional, List, Dict, Generator, Call... | 1 | 1 | 0 | [{"id": "G0", "claim": "Duplicating the URI/path conversion logic inline in map_client_path_to_server_uri and map_server_uri_to_client_path instead of reusing filename_to_uri and uri_to_filename gives the implementations a chance to get out of sync.", "category": "maintainability", "verdict": "supported", "priority": "... | null |
sublimelsp__LSP__1541 | sublimelsp/LSP | 1,541 | defect | 5c657e454b6a1ebf897f18d129a3c8a151632aa9 | 9418a03cb1733fabfc6b5a145797de6e9c1fa6e5 | Symbol Tag support | In this PR:
NEW:
- added deprecated tags to document symbols popup and symbols in project popup
- symbols in project now looks consistent with the document symbol popup
- added new typed dicts
FIXES:
- This PR also fixes the invocation of the `LspWorkspaceSymbolsCommand` by removing the [fallback value](http... | diff --git a/plugin/core/open.py b/plugin/core/open.py
index b0010fffc..ba9ef2a91 100644
--- a/plugin/core/open.py
+++ b/plugin/core/open.py
@@ -1,8 +1,8 @@
from .logging import exception_log
from .promise import Promise
from .promise import ResolveFunc
-from .protocol import Range
-from .typing import Any, Dict, Tu... | 3 | 2 | 0 | [{"id": "G0", "claim": "The `cast(List[DocumentSymbol], children)` line in process_document_symbol_recursive is unnecessary and should be replaced with a `# type: List[DocumentSymbol]` type comment, which also helps pyright.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
sublimelsp__LSP__1588 | sublimelsp/LSP | 1,588 | defect | 1d9c6eb734a00a072ac38d9994d727f472a14242 | d4c2df950f2b4d3d9f93d106c30c0d9106e4a312 | Create extra regions for diagnostics with tags | Creates extra regions with tag-specific scopes so that it's possible to target unused imports or variables with a scheme customizations.
I probably don't consider it ready yet because it has some drawbacks.
- I'm creating new regions instead of appending tag scopes to existing diagnostic regions. That is because... | diff --git a/docs/src/features.md b/docs/src/features.md
index b0a8ac84e..d8846c5e3 100644
--- a/docs/src/features.md
+++ b/docs/src/features.md
@@ -223,6 +223,35 @@ The following tables give an overview about the scope names used by LSP.
!!! note
If `diagnostics_highlight_style` is set to "fill" in the LSP setti... | 10 | 9 | 5 | [{"id": "G0", "claim": "Style the tag regions with a color scheme rule that uses foreground_adjust and a nearly transparent background (the 'unused' scope trick) instead of a filled region.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Extend the test i... | null |
sublimelsp__LSP__1600 | sublimelsp/LSP | 1,600 | defect | cd769786d76f9be90993c478445c3ba035e56ecd | 385022404aed8ebe18954ded78fd0d3dd3e5fb65 | Remove ignore_server_trigger_chars setting | An alternative is using disabled_capabilities.
I've also added more tests for dynamic registration for this.
Dynamic registration went through for disabled capabilities anyway.
But not anymore :) | diff --git a/plugin/core/sessions.py b/plugin/core/sessions.py
index 1b99553c7..14ce7f2ab 100644
--- a/plugin/core/sessions.py
+++ b/plugin/core/sessions.py
@@ -1101,6 +1101,8 @@ def m_client_registerCapability(self, params: Any, request_id: Any) -> None:
options = registration.get("registerOptions") # ty... | 1 | 1 | 0 | [{"id": "G0", "claim": "The filter_disabled_capabilities method is confusing: its boolean return value's meaning is unclear, the name may not describe what it does, it mutates the passed-in options dict, and it should not call is_disabled_capability for the top-level path itself; the reviewer asks to return a new objec... | null |
sublimelsp__LSP__1651 | sublimelsp/LSP | 1,651 | defect | 37b0ca8e0487997d79f14a4ae11a0f862f6afa79 | bf9f78894da3952f6b6568395571652222574eae | Resolve completions completion item before applying additional text edits | fixes https://github.com/sublimelsp/LSP-typescript/issues/46
Short description
This PR introduces resolving the completion item(if session supports resolving) before applying additional text edits and running the `epilogue`.

from .plugin.code_actions import LspCodeActionsCommand
-from .plugin.completion import LspCompleteInsertTextCommand
-from .plugin.completion import LspComp... | 7 | 5 | 1 | [{"id": "G0", "claim": "The four-line args dict could be inlined as args={\"item\": item, \"session_name\": session_name} to save four lines.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Maybe it doesn't make sense to specify 'detail' and 'doc... | null |
sublimelsp__LSP__1764 | sublimelsp/LSP | 1,764 | defect | a2d533cf02373201f69b561e3af3333c6f76877b | d0b7d6280005809a884a4033736ff64b5813a5e7 | Add API for registering an external file watcher implementation | Allows to create external package that implements the file watcher API.
See example implementation at https://github.com/sublimelsp/LSP-file-watcher-chokidar/pull/1 | diff --git a/plugin/__init__.py b/plugin/__init__.py
index 3c0990869..ed31ffba3 100644
--- a/plugin/__init__.py
+++ b/plugin/__init__.py
@@ -1,5 +1,10 @@
from .core.collections import DottedDict
from .core.css import css
+from .core.file_watcher import WatchKind
+from .core.file_watcher import WatchKindValue
+from .c... | 12 | 5 | 3 | [{"id": "G0", "claim": "`kind` should default to all watcher types (create, change, delete) when not specified in the file_watcher config instead of only watching when kind is explicitly set.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The hard-c... | null |
sublimelsp__LSP__1809 | sublimelsp/LSP | 1,809 | defect | 82b237fa76954321f5f7d2bc0a9b64d07e2dc2c5 | 944a1b62d3c17ee3225c94d78ae03568801a536b | Add insert-replace support for completions | 
New:
- setting for determining the `completion_insert_mode`(defaults to `"insert"`) Available: `"insert"` or `"replace"`.
- `enter`/`tab` will commit the completion item with the default insert mode.
... | diff --git a/Default.sublime-keymap b/Default.sublime-keymap
index 8aa032b9c..82a4a46fc 100644
--- a/Default.sublime-keymap
+++ b/Default.sublime-keymap
@@ -22,6 +22,32 @@
}
]
},
+ {
+ "command": "lsp_commit_completion_with_opposite_insert_mode",
+ "keys": [
+ "sh... | 11 | 8 | 4 | [{"id": "G0", "claim": "The default shift+tab keybinding conflicts with Sublime Text's default tab_completion binding when the autocomplete popup is visible, so it would be better to leave the keybinding commented out by default.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduce... | null |
sublimelsp__LSP__1832 | sublimelsp/LSP | 1,832 | defect | 8355aff6746afe2cd10e6dcb9cdd448e54519eca | 41af0d5e5d6698e2be1c987605d24405ed0b800e | Add AbstractPlugin.on_before_formatting API for tweaking formatting options | Not entirely convinced on naming of things, of course. | diff --git a/plugin/core/sessions.py b/plugin/core/sessions.py
index 11fde1d45..1c483d063 100644
--- a/plugin/core/sessions.py
+++ b/plugin/core/sessions.py
@@ -50,6 +50,7 @@
from .version import __version__
from .views import COMPLETION_KINDS
from .views import extract_variables
+from .views import formatting_optio... | 1 | 1 | 1 | [{"id": "G0", "claim": "The newly added `on_before_formatting(view, formatting_options) -> Dict[str, Any]` hook should be reshaped — renamed and no longer taking and returning the options dict — preferably becoming an `additional_formatting_options(view) -> Dict[str, Any]` hook, akin to `additional_variables()`, whose ... | null |
sublimelsp__LSP__1896 | sublimelsp/LSP | 1,896 | defect | 6ef45ffcc21f8e2abf457031ad3f70f84cc60a1f | f438b3608e79e251b77021bcede19223ac850e90 | Include diagnostics when triggering codeAction request on save | Some servers might apply different logic depending on provided
diagnostics. For example theia server might not want to apply
destructive action like removing import statements when there are
error diagnostics.
While testing this new logic, uncovered a bug where we didn't include
diagnostics "touching" the select... | diff --git a/plugin/code_actions.py b/plugin/code_actions.py
index 157e948a7..233ccfc87 100644
--- a/plugin/code_actions.py
+++ b/plugin/code_actions.py
@@ -97,7 +97,12 @@ def request_on_save(
"""
Requests code actions on save.
"""
- self._request_async(view, entire_content_region(view... | 3 | 1 | 0 | [{"id": "G0", "claim": "diagnostics_intersecting_region_async (and related code) should be refactored to work exclusively on LSP Range, which the author acknowledges is too large a job for this pull request.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1"... | null |
sublimelsp__LSP__1962 | sublimelsp/LSP | 1,962 | defect | 0d3d881e807edddd6547ea8653cae5c31a049b04 | c0d8d54a95daf94da4036fd718e80fa5f307ebad | Fix WSL path URI decoding under Windows | ```
Python 3.3>>> from LSP.plugin.core.url import filename_to_uri, parse_uri, urlparse
Python 3.3>>> filename_to_uri('\\\\wsl$\\Ubuntu-20.04\\home\\jfcherng\\Desktop\\docs\\a.py')
'file://wsl%24/Ubuntu-20.04/home/jfcherng/Desktop/docs/a.py'
Python 3.3>>> parse_uri('file://wsl%24/Ubuntu-20.04/home/jfc... | diff --git a/plugin/core/url.py b/plugin/core/url.py
index c167cd344..2c824ae7c 100644
--- a/plugin/core/url.py
+++ b/plugin/core/url.py
@@ -49,12 +49,13 @@ def parse_uri(uri: str) -> Tuple[str, str]:
parsed = urlparse(uri)
if parsed.scheme == "file":
path = url2pathname(parsed.path)
+ netloc ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `netloc` variable assignment can be moved inside the `if os.name == 'nt'` block instead of being computed unconditionally.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test should be added for the WSL path URI dec... | null |
sublimelsp__LSP__2045 | sublimelsp/LSP | 2,045 | defect | fe36b2d2c05126e9469fa3882dbff6731ce4a6b8 | c678cee438577d583697203fa9ca0da451e13a8a | Custom context menu in log panel and "Clear log panel" item | A small PR that adds the ability to clear the output panel.
 | diff --git a/Context.sublime-menu b/Context.sublime-menu
index 08cb70ee5..bd2aa9098 100644
--- a/Context.sublime-menu
+++ b/Context.sublime-menu
@@ -49,5 +49,9 @@
"caption": "Expand Selection"
}
]
+ },
+ {
+ "command": "lsp_clear_log_panel",
+ "caption": "Clear... | 2 | 2 | 1 | [{"id": "G0", "claim": "The menu caption should not be plural and should read 'Clear Log Panel', consistent with the existing 'LSP -> Toggle Log Panel' item.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Because the clear-log command is a WindowCommand ... | null |
sublimelsp__LSP__2047 | sublimelsp/LSP | 2,047 | defect | 53cea1444f60c694d59edab4cc4c2b3e6b217d20 | c4e82d429035cff23ade8f0f03843192dd622a6d | Add context menu entry in log panel for toggling lines limit | Toggles the limit per window rather than globally. I've assumed it's better that way as it will "limit the damage" if someone leaves it disabled for a long period of time.
Resolves #1810 | diff --git a/Context LSP Log Panel.sublime-menu b/Context LSP Log Panel.sublime-menu
index 3cad99e26..ce230c981 100644
--- a/Context LSP Log Panel.sublime-menu
+++ b/Context LSP Log Panel.sublime-menu
@@ -1,7 +1,11 @@
[
{
+ "caption": "Clear Log Panel",
"command": "lsp_clear_log_panel",
- ... | 4 | 3 | 2 | [{"id": "G0", "claim": "The \"Limit to 500 Lines\" menu item needs the \"checkbox\": true key set for the checkbox (is_checked()) to be shown; without it the item does not work as a checkbox on Linux.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
sublimelsp__LSP__2081 | sublimelsp/LSP | 2,081 | defect | 87e072cd2e9cb36888b99d1b07fdd3970eb408ca | 5b2ea06d3868fdf71223c77b017d905953ab9c8c | Filter out non-quickfix actions in view | Changes:
- refactor by removing the `CodeActionsCollector` which was basically a variant of `Promise.all` implementation.
- add session name as an annotation to the Code Actions Quick Panel.
- filter out non-quickfix code actions for code actions requested for current cursor position
I've made this code a week... | diff --git a/docs/src/features.md b/docs/src/features.md
index 998ad3409..c70630831 100644
--- a/docs/src/features.md
+++ b/docs/src/features.md
@@ -136,7 +136,7 @@ Code Actions are an umbrella term for "Quick Fixes" and "Refactorings". They are
Formatting is different from Code Actions, because Formatting is suppos... | 11 | 7 | 4 | [{"id": "G0", "claim": "The is_command(a) call in the quickfix filter is technically not needed.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The kind-matching helper is wrong: with \"only_kinds\": [\"refactor\"] a returned kind \"foobar.refac... | null |
sublimelsp__LSP__2085 | sublimelsp/LSP | 2,085 | defect | e1be509a5fe6c20a7607a79b9aebcb83f8f5541d | 884bfceb4a1d044860614db6d2c4fa215ab20c0b | Properly handle disabling of the LSP package | Trying to better handle cleanup on disabling the LSP package and kill some leaks:
- [x] Change `WindowRegistry.lookup` return value from `WindowManager` to `Optional[WindowManager]`. This ensures that when the LSP package gets disabled, existing references doing a lookup won't be able to create new instances of `Wind... | diff --git a/boot.py b/boot.py
index f2c088e0e..ed441e1ce 100644
--- a/boot.py
+++ b/boot.py
@@ -15,16 +15,8 @@
from .plugin.configuration import LspEnableLanguageServerInProjectCommand
from .plugin.core.collections import DottedDict
from .plugin.core.css import load as load_css
-from .plugin.core.logging import exc... | 3 | 2 | 1 | [{"id": "G0", "claim": "Disabling the LSP package still resurrects destroyed panels because the deferred request handling calls back into PanelManager after the WindowManager is destroyed, and the author is hesitant about adding many repetitive checks to prevent it.", "category": "correctness", "verdict": "supported", ... | null |
sublimelsp__LSP__2393 | sublimelsp/LSP | 2,393 | defect | 29100425f8c2635d7b33524519c4bf2bbd6ee86f | 63f8a57165f5e9eeae5478d7ea5d72241117102c | refactor: make LspApplyDocumentEditCommand take plain TextEdits | Refactor per discussion in https://github.com/sublimelsp/LSP/pull/2389#discussion_r1447905532
- Make `lsp_apply_document_edit` take `[TextEdit]` rather than parsed custom structure.
- Remove private and deprecated `LSP.plugin.core.edit.apply_workspace_edit` function (use `session.apply_workspace_edit_async` instead... | diff --git a/plugin/__init__.py b/plugin/__init__.py
index 5899c023c..7be37e25e 100644
--- a/plugin/__init__.py
+++ b/plugin/__init__.py
@@ -1,5 +1,6 @@
from .core.collections import DottedDict
from .core.css import css
+from .core.edit import apply_text_edits
from .core.file_watcher import FileWatcher
from .core.f... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new apply_text_edits wrapper should guard the run_command call with `if edits:` so the lsp_apply_document_edit command is not run when there are no edits.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Now that apply_text_edit... | null |
sublimelsp__LSP__2643 | sublimelsp/LSP | 2,643 | defect | 988f1975a1a20082cf7256586cb07ab4059b65db | 123970af1f17a2f521d137de8a10b9112fbe2b1e | fix: respect `refactoring_auto_save` in more cases | ### `code_actions.py`
- the logic should be unchanged here. I just had to extract the "kind includes other kind" logic out of this code and place it somewhere where `Session` could access it.
### `protocol.py`
- added `kind_includes_other_kind` function
### `sessions.py`
- Fixed a bug where a refactoring code ac... | diff --git a/plugin/code_actions.py b/plugin/code_actions.py
index 2056a866f..2969b84d7 100644
--- a/plugin/code_actions.py
+++ b/plugin/code_actions.py
@@ -5,6 +5,7 @@
from .core.protocol import Command
from .core.protocol import Diagnostic
from .core.protocol import Error
+from .core.protocol import kind_includes_... | 9 | 7 | 3 | [{"id": "G0", "claim": "The `progress` keyword-only parameter of `execute_command` should have a default value (preferably `False`), so callers need not pass two arguments.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `_is_executing_refactoring_com... | null |
sublimelsp__LSP__2654 | sublimelsp/LSP | 2,654 | defect | 4938c5d265d3d4ce93be122ba9a1d8b07481182d | 8bb7feeca002adf26610c78b00beb3cbf38809b8 | Fix another case of outdated diagnostics | Somehow I still keep running into outdated diagnostics ;) I've identified one more problem.
When the response for pull diagnostic comes back, in `SessionBuffer._on_document_diagnostic_async` the `version` can be 5 (for example) but by the time the code gets to `SessionBuffer.on_diagnostics_async` the `view.change_co... | diff --git a/plugin/core/sessions.py b/plugin/core/sessions.py
index b2fea4c0c..4bd376e6f 100644
--- a/plugin/core/sessions.py
+++ b/plugin/core/sessions.py
@@ -627,6 +627,10 @@ def session(self) -> Session:
def session_views(self) -> WeakSet[SessionViewProtocol]:
...
+ @property
+ def last_synced... | 2 | 2 | 1 | [{"id": "G0", "claim": "SessionBuffer.version could be removed and callers should always rely on last_synced_version instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Resetting _diagnostics_version to -1 on ServerCancelled is wrong because the most... | null |
sublimelsp__LSP__2687 | sublimelsp/LSP | 2,687 | defect | c48576f96fc42c59b79129b29b07d88044497474 | 3e0ef5cb172c68b8ba0c4942782aab18df12c77b | refactor: aggregate patterns matching same root and kind | If server specifies multiple patterns with same base path and kind then collapse those into a single entry. Depending on watcher implementation that can be more efficient since the watcher will only set up one watcher for that directory instead of multiple.
For example in case of biome there are 4 patterns that can ... | diff --git a/plugin/core/sessions.py b/plugin/core/sessions.py
index 211d3793e..65803c1d5 100644
--- a/plugin/core/sessions.py
+++ b/plugin/core/sessions.py
@@ -54,6 +54,7 @@
from ...protocol import TextEdit
from ...protocol import TokenFormat
from ...protocol import UnregistrationParams
+from ...protocol import Wat... | 2 | 2 | 1 | [{"id": "G0", "claim": "The DEFAULT_KIND constant is a very generic name and should be renamed to something clearer such as DEFAULT_WATCHKIND or DEFAULT_WATCH_KIND.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Tests should be added for the p... | null |
sublimelsp__LSP__2690 | sublimelsp/LSP | 2,690 | defect | c48576f96fc42c59b79129b29b07d88044497474 | 5a4bacf17c7a9de4500bfebd2c40b0817c06e4bc | Don't expand range to cover all diagnostics for code action requests | Don't expand `range` to cover all diagnostics touching the selection when making the `textDocument/codeAction` request. Just pass the actual selection.
Passing expanded range was implemented by me in https://github.com/sublimelsp/LSP/pull/1129 based on an issue I saw with the typescript server. It later [turned out]... | diff --git a/plugin/code_actions.py b/plugin/code_actions.py
index a44cade85..b33023e67 100644
--- a/plugin/code_actions.py
+++ b/plugin/code_actions.py
@@ -306,9 +306,9 @@ def _run_async(self, only_kinds: list[CodeActionKind] | None = None) -> None:
listener = windows.listener_for_view(view)
if not l... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add the missing `diagnostic_severity` filter to `diagnostics_intersecting_region_async` (or, alternatively, remove the corresponding check from `diagnostics_touching_point_async`) so the two methods treat diagnostic severity consistently.", "category": "correctness", "verdict": "supported", "pri... | null |
sublimelsp__LSP__2695 | sublimelsp/LSP | 2,695 | defect | c927aa9cb0a99e21d7a5ce8dd91fd3d4e12f2c21 | 7d2efea43fc58fc01bf7811d7744d34d0936e771 | Show WorkspaceEdit and TextEdit description in undo menu | When ST runs a TextCommand, the command's `description` is used as a label in the undo/redo menu. If `description` isn't defined in the command, it used a label derived from the command name instead. So when a language server requests `workspace/applyEdit` or the user triggers a WorkspaceEdit via code actions or rename... | diff --git a/plugin/core/edit.py b/plugin/core/edit.py
index 287b0baf2..ce2bfb059 100644
--- a/plugin/core/edit.py
+++ b/plugin/core/edit.py
@@ -1,5 +1,7 @@
from __future__ import annotations
from ...protocol import AnnotatedTextEdit
+from ...protocol import ChangeAnnotation
+from ...protocol import ChangeAnnotationI... | 3 | 3 | 1 | [{"id": "G0", "claim": "The `label` and `is_refactoring` parameters of `apply_workspace_edit_async` should be made keyword-only arguments.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "plugin/rename.py passes a `description` argument to `LspApplyWorkspa... | null |
sublimelsp__LSP__2727 | sublimelsp/LSP | 2,727 | defect | ea0963d8ba474f47ba41fbc5999d0c84d933e56e | e7e6f2957c0159bb0448f997668daa1665e6ca0c | Fix diagnostic dynamic registration and rework Goto Diagnostic command | Fixes #2561
Fixes #2731
Supersedes #2564 (which still had some bugs and TODOs)
Supersedes #2273
Instead of fixing dynamic registration of multiple providers for the same method (https://github.com/microsoft/language-server-protocol/issues/1069), this PR adds a special case for the registration and unregistration ... | diff --git a/Default.sublime-commands b/Default.sublime-commands
index bd42190aa..af6b73966 100644
--- a/Default.sublime-commands
+++ b/Default.sublime-commands
@@ -99,13 +99,6 @@
},
{
"caption": "LSP: Goto Diagnostic",
- "command": "lsp_goto_diagnostic",
- "args": {
- "uri":... | 24 | 17 | 8 | [{"id": "G0", "claim": "The lru_cache on DiagnosticsStorage.get_identifiers must be cleared when the syntax of a view changes, but nothing clears it in that case (author self-identified, wondering whether it is good enough for now).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introd... | null |
sublimelsp__LSP__2745 | sublimelsp/LSP | 2,745 | defect | dfd3a91cf5a4070e23a98f86800d26d706e51b1f | cdc253a7aa79575aa6b9dff37fce4b0d4df26709 | Fix dotted dict processing dots in second+ level keys | Make `DottedDict` only process top-level keys as "dotted".
Some examples:
1. Same as before
```
DottedDict({
"a.b": {
"c": 1
}
})
```
=>
```json
{
"a": {
"b": {
"c": 1
}
}
}
```
2. Doesn't expand second level anymore
```
DottedDict(... | diff --git a/plugin/core/collections.py b/plugin/core/collections.py
index 7e843e148..bc2df7721 100644
--- a/plugin/core/collections.py
+++ b/plugin/core/collections.py
@@ -7,6 +7,15 @@
import sublime
+def deep_merge(base: dict[str, Any], update: dict[str, Any]) -> None:
+ """Recursively merge update dict with ... | 3 | 1 | 1 | [{"id": "G0", "claim": "The new tests added by the PR don't actually test what was fixed, and should be replaced with tests like asserting DottedDict({\"editor.codeActionsOnSave\": {\"source.fixAll\": \"explicit\"}}) returns None for \"editor.codeActionsOnSave.source\" and \"editor.codeActionsOnSave.source.fixAll\".", ... | null |
sublimelsp__LSP__2753 | sublimelsp/LSP | 2,753 | defect | f469e30049f63ffb2b02bad80e14a48fe3581a02 | 6372f9d855f1f9b2c029dc8d2858de8628738347 | chore: use ruff for linting | Switch from flake8 to ruff. Much faster, supports much more rules.
Ignore all errors that we currently have in the project. We can fix those when we see fit (ideally rule per commit) or leave them ignored. | diff --git a/boot.py b/boot.py
index c7799810f..6ec8eaf45 100644
--- a/boot.py
+++ b/boot.py
@@ -214,6 +214,7 @@ def show_warning():
sublime.set_timeout(show_warning, 5_000)
+
def plugin_unloaded() -> None:
_unregister_all_plugins()
windows.disable()
diff --git a/mypy.ini b/mypy.ini
deleted file... | 3 | 1 | 0 | [{"id": "G0", "claim": "Some of the newly added pyright \"report*\" settings are basedpyright-specific, so plain pyright complains about unknown settings (without affecting the exit code).", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The mypy pyth... | null |
sublimelsp__LSP__2765 | sublimelsp/LSP | 2,765 | defect | 98d391ae84332c9bc66013d9f73e2cb53e906262 | 4c89c3a185fc6ebe39aa7df6afa92d85359792b6 | Expose unknown settings in ClientConfig and support project overrides | An idea to handle https://github.com/sublimelsp/LSP/pull/2739#discussion_r2733324680
Store the whole dict (either from `sublime.Settings` or project overrides) in `ClientConfig` and expose access to it through dot-access (`.foo`). The object will also include all keys that we are already special casing in `ClientCon... | diff --git a/plugin/core/settings.py b/plugin/core/settings.py
index 68523511d..b38c4eab3 100644
--- a/plugin/core/settings.py
+++ b/plugin/core/settings.py
@@ -9,7 +9,6 @@
from .types import SettingsRegistration
from abc import ABCMeta
from abc import abstractmethod
-from typing import Any
import json
import os
... | 5 | 5 | 1 | [{"id": "G0", "claim": "ClientConfig should expose unknown settings through a single access mechanism; the reviewer asks to remove the __getitem__ subscription access (or alternatively use a plain get_setting method) instead of defining both dunder paths.", "category": "design", "verdict": "supported", "priority": "P1"... | null |
sublimelsp__LSP__2771 | sublimelsp/LSP | 2,771 | defect | 20dbc7aad129dcebf91fa4016b3dadb2773b5122 | 12ba0eb949d2bc4c7b8a92a25fff436add38de01 | Create single LSP status per view | Had this idea for a while to combine statuses of each server.
The benefits of that are:
- takes less space if we remove "LSP-" prefix from each server
- status can be sorted by name which means the order is consistent
- there are possibilities to customize formatting per liking (not implemented)
Before:
<im... | diff --git a/plugin/api.py b/plugin/api.py
index dd7815089..d56265ed0 100644
--- a/plugin/api.py
+++ b/plugin/api.py
@@ -12,14 +12,12 @@
from .core.settings import client_configs
from .core.types import ClientConfig
from .core.types import method2attr
-from .core.types import SettingsRegistration
from .core.url imp... | 4 | 2 | 0 | [{"id": "G0", "claim": "The two-line guard initializing self._view_statuses[view_id] could be simplified to self._view_statuses.setdefault(view_id, {}).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "on_view_status_changed doesn't handle the emp... | null |
sublimelsp__LSP__2789 | sublimelsp/LSP | 2,789 | defect | cdce162bba15368f8f9fa1ce19a8d1cc0008e753 | 71434eccaa45c6008cc2f80146071621eb71b4c0 | `code_actions_on_format` improve action redundancy detection | This PR is a follow up of #2747 and #2761 and targeted at this remark https://github.com/sublimelsp/LSP/pull/2761#discussion_r2814184733 regarding action redundancy:
- ~~Commit 4ea88b402b01f01283b15ea2c14e6cb7f2243e0f
Filter out disabled code actions, for example `"source.organizeImports.ruff": false`. These are... | diff --git a/plugin/code_actions.py b/plugin/code_actions.py
index adfab390a..b8021e25d 100644
--- a/plugin/code_actions.py
+++ b/plugin/code_actions.py
@@ -31,6 +31,7 @@
from typing import TYPE_CHECKING
from typing import Union
from typing_extensions import override
+import re
import sublime
if TYPE_CHECKING:
@... | 4 | 4 | 2 | [{"id": "G0", "claim": "The new action_is_redundant method duplicates logic that already exists as kind_contains_other_kind in plugin/core/views.py, which could be reused (and possibly inlined) instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai... | null |
sublimelsp__LSP__2851 | sublimelsp/LSP | 2,851 | defect | 6453448d40f42302b36ceb0e38a80e5dbbeb405e | 87ca172ca365ced95d4d732455a04daa7cc241ae | Refactor transports | Refactor transports implementation.
This is based on refactoring in https://github.com/sublimelsp/LSP/pull/2015 but with quite notable changes:
- obviously doesn't include anything related to node-ipc support
- doesn't include some additions done there that didn't have anything to do with node-ipc - websocket or d... | diff --git a/plugin/core/sessions.py b/plugin/core/sessions.py
index 74816466a..f3d92a47d 100644
--- a/plugin/core/sessions.py
+++ b/plugin/core/sessions.py
@@ -110,8 +110,8 @@
from .protocol import ResponseError
from .settings import globalprefs
from .settings import userprefs
-from .transports import Transport
fr... | 3 | 3 | 1 | [{"id": "G0", "claim": "Allowing a list of strings as a value for an env setting is undocumented and unused by any package, so support for it should be dropped.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Changing the comment from 'iff' to 'if' chan... | null |
sublimelsp__LSP__2873 | sublimelsp/LSP | 2,873 | defect | 54180b7de1d646a4d12257a94781991605937ed4 | a727975cc9181337ae2c02f0f66118f886a8d0e0 | Add an opt-in pre-commit hook for development | - Document how to enable optional pre-commit hook for the repository.
- Don't run mypy since it didn't prove useful in a long time and pyright also runs on stubs.
| diff --git a/.gitattributes b/.gitattributes
index 03b8f1436..a4d8f9771 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,4 +1,5 @@
.github/ export-ignore
+.pre-commit-config.yaml export-ignore
.style.yapf export-ignore
codecov.yml export-ignore
docs/ export-ignore
@@ -10,6 +11,7 @@ stubs/ export-ignore
tests... | 3 | 2 | 2 | [{"id": "G0", "claim": "With this pull request having removed mypy, CONTRIBUTING.md's Coding section should be updated to no longer reference mypy.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The added line should name the setting `pyright.dev_... | null |
sublimelsp__LSP__2891 | sublimelsp/LSP | 2,891 | defect | 17b2e6776304cffc12472957706e9c94cbe611d4 | fa2215ff15aa0da2c1dbab5d3a2c74cccafd7efc | Fix some cases in ST pattern to glob conversion | Align `sublime_pattern_to_glob` to match the behavior of ST implementation. In https://github.com/sublimehq/sublime_text/issues/6906 I've raised some inconsistencies in ST documentation so I'm aligning with those findings. I'm assuming that the documentation will be clarified rather than implementation updated.
Reso... | diff --git a/plugin/core/types.py b/plugin/core/types.py
index 87a8ea62b..da0b96ffb 100644
--- a/plugin/core/types.py
+++ b/plugin/core/types.py
@@ -44,6 +44,7 @@
import fnmatch
import os
import posixpath
+import re
import sublime
import time
import weakref
@@ -124,7 +125,7 @@ def matches_pattern(path: str, patte... | 2 | 2 | 0 | [{"id": "G0", "claim": "The `or []` fallback for `folder_exclude_patterns` in `should_ignore_diagnostics` is unnecessary because that setting should always exist due to having a default value in `Preferences.sublime-settings`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_exis... | null |
sublimelsp__LSP__2896 | sublimelsp/LSP | 2,896 | defect | ced62c991cd4bc28cd633b26414eae1f3cd6ca43 | ccc97f3451a8d4ad5ae8f5b181f4831efc9ed3b1 | Return correct result for workspace/applyEdit request | When handling a `workspace/applyEdit` request from the server, the client must return a [ApplyWorkspaceEditResult](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#applyWorkspaceEditResult).
Currently, we unconditionally return `"applied": true`, even when the WorkspaceEdit... | diff --git a/plugin/core/edit.py b/plugin/core/edit.py
index 1892ee141..00cc753f6 100644
--- a/plugin/core/edit.py
+++ b/plugin/core/edit.py
@@ -1,8 +1,12 @@
from __future__ import annotations
from ...protocol import AnnotatedTextEdit
+from ...protocol import CreateFile
+from ...protocol import DeleteFile
from ...... | 4 | 1 | 1 | [{"id": "G0", "claim": "A WorkspaceEdit from a workspace/applyEdit request is shown with documentChanges as an empty array in the LSP log panel, which the author considers a bug in the pre-existing logging functionality, deferred to issue #2897.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "sc... | null |
sublimelsp__LSP__974 | sublimelsp/LSP | 974 | defect | 2773758de44ad051f0ace93667cfdf33b3c4ad69 | 780ac943ae2ec7aa55a07f92cb50c887003d7e82 | migrate window/showMessageRequest handling to mdpopups.show_popup | [Previously](https://github.com/sublimelsp/LSP/pull/470) it was handled with show_quick_panel but we couldn't show
the request message to the user. Until ST4 would allow such a feature
we resort to mdpopups.show_popup
`.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`MessageRequestH... | null |
submariner-io__submariner__1558 | submariner-io/submariner | 1,558 | defect | b4625514061c1d85c10432a78ca0ad46e679367a | 74db8c29d4fa1062b4de5c23c8fb7c587572881e | Implement globalnet for headless service without selector | This PR adds support for globalnet for headless service without selector.
Fixes: #1537
Dependency:
- RBAC:
- [x] submariner-io/submariner-operator#1582
- [x] submariner-io/submariner-charts#169
- [x] #1582 | diff --git a/pkg/apis/submariner.io/v1/types.go b/pkg/apis/submariner.io/v1/types.go
index e2803bea3..d9eb5c2f4 100644
--- a/pkg/apis/submariner.io/v1/types.go
+++ b/pkg/apis/submariner.io/v1/types.go
@@ -323,8 +323,9 @@ type GlobalIngressIPSpec struct {
type TargetType string
const (
- ClusterIPService TargetTyp... | 11 | 7 | 3 | [{"id": "G0", "claim": "The GlobalIngressIP name should truncate the endpoints name at 60 characters instead of 59.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The deletion log message should be capitalized as \"Ingress Endpoints\".", "catego... | null |
submariner-io__submariner__1643 | submariner-io/submariner | 1,643 | defect | 40f060ce1bc0efc8e726b1ed84f53c49a68c0985 | 30ebde8f1de0e4018f7650ee4e4104a3b34342a7 | Enhance GN to support SVCs without KP dependency | In the current implementation, Globalnet controller uses the
kubeproxy iptable chains for supporting globalIngressIPs (i.e.,
for services). While this works fine, its prone to issues and is
causing race conditions when the exported service is deleted.
This PR modifies the Globalnet implementation to use internal
... | diff --git a/pkg/globalnet/controllers/base_controllers.go b/pkg/globalnet/controllers/base_controllers.go
index 3203a82041..4a00e6ca89 100644
--- a/pkg/globalnet/controllers/base_controllers.go
+++ b/pkg/globalnet/controllers/base_controllers.go
@@ -20,14 +20,21 @@ package controllers
import (
"context"
+ "crypto... | 11 | 9 | 1 | [{"id": "G0", "claim": "On a NotFound error deleteService should return nil, and any other error should be returned wrapped with context, instead of being logged and returned raw.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "createService shou... | null |
submariner-io__submariner__1859 | submariner-io/submariner | 1,859 | defect | a5aee59aaf282b96f779f3397075b30fd8b63d1d | febfc4235a6640adda6b0c2956076b2e677ed69b | Refactor constants used externally | - Move `DefaultNATTDiscoveryPort`, `DefaultUDPPort` and `VxLANPort` to _pkg/ports_ module and rename appropriately. The latter avoids consumers pulling in unwanted dependencies due its prior location under _routeagent_driver_.
- Change `DefaultNATTDiscoveryPort` and `DefaultUDPPort` to int constants so they don't n... | diff --git a/pkg/apis/submariner.io/v1/types.go b/pkg/apis/submariner.io/v1/types.go
index ed9875fa9..dae753a2f 100644
--- a/pkg/apis/submariner.io/v1/types.go
+++ b/pkg/apis/submariner.io/v1/types.go
@@ -97,11 +97,6 @@ const (
UsingLoadBalancer = "using-loadbalancer"
)
-const (
- DefaultNATTDiscoveryPort = ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The 4500-port constant should be given a more descriptive name than `UDP` (e.g. `ExternalTunnel`), since it can be used by external clients and UDP is itself a protocol name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
submariner-io__submariner__2053 | submariner-io/submariner | 2,053 | defect | 002d34b59fab677b7ca31c06cb54876d975ccf93 | 704b375a481b21e4c1d80ed67b87e07a138410ed | Skip public-ip resolution in air-gapped clusters | When AIR_GAPPED_DEPLOYMENT is set to true as an env' variable on the Gateway pod, this PR does the following.
1. It looks for gateway.submariner.io/public-ip=ipv4:\<address\> annotation on the gateway node. If the annotation is present, its value is used as public-ip in the local endpoint.
2. If the annotation is mis... | diff --git a/main.go b/main.go
index b1ae04540d..4ec92d9fdd 100644
--- a/main.go
+++ b/main.go
@@ -127,7 +127,10 @@ func main() {
submSpec.CableDriver = strings.ToLower(submSpec.CableDriver)
- localEndpoint, err := endpoint.GetLocal(&submSpec, k8sClient)
+ airGapped := isAirGappedDeployment()
+ logger.Infof("AIR_... | 4 | 3 | 0 | [{"id": "G0", "claim": "Instead of passing the airGapped flag into getPublicIPWatcher, main() should check it outside and only create the public-IP watcher when the deployment is not air-gapped.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The airGappe... | null |
submariner-io__submariner__2487 | submariner-io/submariner | 2,487 | defect | 9216d6fb203c278bf2907125de08d8623d0af857 | 42d744cddaed09b92530e40e5f282bdf6d2166e7 | Rework status Conditions for Globalnet resources | The status `Conditions` are appended to preserve the history however this is contrary to the intended design where each condition type should be unique and only the last status is preserved. Instead of appending, use `meta.SetStatusCondition`. Also trim existing conditions on upgrade to contain only the last one.
Fi... | diff --git a/pkg/globalnet/controllers/base_controllers.go b/pkg/globalnet/controllers/base_controllers.go
index 408a0c5502..afbb21a5b3 100644
--- a/pkg/globalnet/controllers/base_controllers.go
+++ b/pkg/globalnet/controllers/base_controllers.go
@@ -35,6 +35,7 @@ import (
corev1 "k8s.io/api/core/v1"
"k8s.io/apimac... | 4 | 3 | 0 | [{"id": "G0", "claim": "Since this PR could affect user scripts that read the status fields, a release note should be added.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a validation to the ClusterGlobalEgressIP trim test verifying the Globa... | null |
submariner-io__submariner__2865 | submariner-io/submariner | 2,865 | defect | 6a588b148eb63e3f4b15a02e3b486cbc5fee217b | 40fb429e599f02c79f24537e7738a9f0d9613866 | Fix ovn-failover | In OVN-Kubernetes out of order event leads to stale gatewayroutes and
nongatewayroutes. This leads to incorrect flow in datatpath. Now gatewayroutes
and nongatewayroutes use cluster ID instead of endpoint name. This ensures that
there is only one resource and it gets updated when remote endpoint is created
and upda... | diff --git a/pkg/routeagent_driver/handlers/ovn/gateway_route_handler.go b/pkg/routeagent_driver/handlers/ovn/gateway_route_handler.go
index b31cfcae60..6aad0f8132 100644
--- a/pkg/routeagent_driver/handlers/ovn/gateway_route_handler.go
+++ b/pkg/routeagent_driver/handlers/ovn/gateway_route_handler.go
@@ -68,11 +68,17 ... | 7 | 7 | 1 | [{"id": "G0", "claim": "The test suite's Describe name was accidentally changed to \"x\" and should be reverted to \"GatewayRouteHandler\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The NonGatewayRoute creation log should record only ngwr.R... | null |
submariner-io__submariner__2897 | submariner-io/submariner | 2,897 | defect | 225d1d063290aad1c7ad0389283ad9f37661f170 | a9c421a7e8fc24983be95207e99d85dde25eae7b | Workaround for ROKS datapath configuration | Submariner datapath is broken with the default Calico configuration on ROKS.
This PR updates Calico configuration for ROKS platform to address this issue. When Submariner is uninstalled, the original Calico configuration is restored.
Depends on https://github.com/submariner-io/submariner-operator/pull/2958
Depen... | diff --git a/pkg/routeagent_driver/handlers/calico/ippool_handler.go b/pkg/routeagent_driver/handlers/calico/ippool_handler.go
index d95d022850..7f49e4e8fd 100644
--- a/pkg/routeagent_driver/handlers/calico/ippool_handler.go
+++ b/pkg/routeagent_driver/handlers/calico/ippool_handler.go
@@ -35,18 +35,24 @@ import (
me... | 10 | 9 | 4 | [{"id": "G0", "claim": "platformIsROKS() swallows every error from the gateway LB service Get by returning false; it should treat IsNotFound as not-ROKS and return unexpected errors to the caller.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The a... | null |
submariner-io__submariner__3077 | submariner-io/submariner | 3,077 | defect | 783be3bbed7e86ba9d189744ad699ccb54acac0e | 6fae907bb74fda364c9bfd806370819662bbb7e2 | Add route-agent-healthcheck | Add route-agent-healthcheck
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, please read our developer guide: https://submariner.io/development/
2. Ensure you have added the appropriate tests for your PR: https://submariner.io/development/code-review/#test-new-fu... | diff --git a/pkg/cableengine/healthchecker/healthchecker.go b/pkg/cableengine/healthchecker/healthchecker.go
index 480cc301e4..bb6ecd64fc 100644
--- a/pkg/cableengine/healthchecker/healthchecker.go
+++ b/pkg/cableengine/healthchecker/healthchecker.go
@@ -26,17 +26,11 @@ import (
"github.com/submariner-io/admiral/pkg/... | 34 | 30 | 14 | [{"id": "G0", "claim": "Route agent ping information should not be incorporated into the Gateway CR; a separate RouteAgent CR should be introduced instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The skip condition in RemoteEndpointCreated/RemoteEndp... | null |
submariner-io__submariner__3152 | submariner-io/submariner | 3,152 | defect | be1d40ab7899046602d584cc23c9a4ef6280606f | 3cef4f750a21becc676e6625f93343fa0c748189 | Add UT for route agent health checker | Add UT for route agent health checker
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, please read our developer guide: https://submariner.io/development/
2. Ensure you have added the appropriate tests for your PR: https://submariner.io/development/code-review/#t... | diff --git a/pkg/routeagent_driver/handlers/healthchecker/health_checker_suite_test.go b/pkg/routeagent_driver/handlers/healthchecker/health_checker_suite_test.go
new file mode 100644
index 0000000000..a0c13e5e0c
--- /dev/null
+++ b/pkg/routeagent_driver/handlers/healthchecker/health_checker_suite_test.go
@@ -0,0 +1,43... | 9 | 9 | 0 | [{"id": "G0", "claim": "The test suite description should read \"RouteAgent Health Checker Suite\" instead of \"RouteAgent Health Checker\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The BeforeEach should not re-register the submariner sche... | null |
submariner-io__submariner__3350 | submariner-io/submariner | 3,350 | defect | 62956941c3bdeeefd79fa5771ce0714372f65275 | 0c57743d24257f753beedc474f85f673b4c45693 | Packetfilter API: add support for IPv6 | Modified the `DriverFn` and `packetfilter.New` functions to take the IP family.
| diff --git a/pkg/globalnet/controllers/gateway_monitor.go b/pkg/globalnet/controllers/gateway_monitor.go
index 4b91203353..567fddbc2b 100644
--- a/pkg/globalnet/controllers/gateway_monitor.go
+++ b/pkg/globalnet/controllers/gateway_monitor.go
@@ -92,7 +92,7 @@ func NewGatewayMonitor(ctx context.Context, config *Gateway... | 2 | 1 | 1 | [{"id": "G0", "claim": "The nftables driver should also enable IPv6 driver creation instead of erroring for any family other than IPv4, which the reviewer says should be safe because currently all clients only create a V4 driver.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
submariner-io__submariner__3462 | submariner-io/submariner | 3,462 | defect | 7c0ab1732d92375a2a35acc5ff209ecabf878763 | d7156601da5742c97246926d65c43be615dcf1d8 | Annotate remote subnets to prevent SNAT by OVNK | After OVN transition from iptables to nftables the source IP of inter-cluster traffic is SNATed.
This PR adds remote subnets to node annotation, OVNK should read these annotations and exclude traffic from these source IP ranges from SNAT.
Fixes https://github.com/submariner-io/submariner/issues/3307
| diff --git a/pkg/node/node.go b/pkg/node/node.go
index 5f17e47f43..f01abea851 100644
--- a/pkg/node/node.go
+++ b/pkg/node/node.go
@@ -42,12 +42,18 @@ var (
PollInterval = time.Second
)
-func GetLocalNode(ctx context.Context, clientset kubernetes.Interface) (*v1.Node, error) {
+func GetLocalNodeName() string {
n... | 3 | 1 | 0 | [{"id": "G0", "claim": "The Uninstall handler should remove only the annotation entries that were added by Submariner, since the k8s.ovn.org/node-ingress-snat-exclude-subnets annotation may also be used by other clients.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id":... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.