catppuccin / catppuccin/userstyles

stylelint deprecation warning when using lint utility

Open
#2,019 0 comments 0 reactions 0 assignees View on GitHub
0.kind: bug 0.kind: meta 4.topic: scripts/automation
Dominant language
Less
Stars
1.1k
Forks
297
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue outlining your problem?

- [x] I have searched the existing issues and they do not solve my problem.

### Describe your issue.

When running the `deno task lint` utility, a deprecation warning is emitted.

```bash
(node:27484) [stylelint:005] DeprecationWarning: `context.fix` is being deprecated.
Please pass a `fix` callback to the `report` utility of "catppuccin/color-operations" instead.
(node:27484) [stylelint:005] DeprecationWarning: `context.fix` is being deprecated.
Please pass a `fix` callback to the `report` utility of "catppuccin/no-redundant-parent-selector" instead.
```

Contributor guide

Open the contributing guide

Research direction

Run `deno task lint` to reproduce the warning and note both affected utilities: `catppuccin/color-operations` and `catppuccin/no-redundant-parent-selector`. Trace those utilities to their Stylelint rule implementations, then confirm the lint command completes without the `context.fix` deprecation warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.