Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated rules #6961

Closed
Tracked by #6930
ybiquitous opened this issue Jun 23, 2023 · 3 comments
Closed
Tracked by #6930

Remove deprecated rules #6961

ybiquitous opened this issue Jun 23, 2023 · 3 comments
Labels
status: wip is being worked on by someone type: enhancement a new feature that isn't related to rules
Milestone

Comments

@ybiquitous
Copy link
Member

As of v15.0.0, we have deprecated many stylistic rules. And, as we announced when the v15.0.0 release, we will remove these rules in the next major version (maybe v16.0.0).

Additionally, as #6753 introduced, the Stylelint community has provided 3rd-party plugins as an alternative, e.g.

So, I think we can perform this removal without a big confusion.

See also:

  • ### Deprecated stylistic rules
    We've deprecated [76 of the rules that enforce stylistic conventions](../user-guide/rules.md#deprecated), e.g. `indentation`.
  • ## Deprecated
    These rules are deprecated — we won't fix bugs nor add options, and we will remove them in the next major release. We recommend you use a pretty printer (like Prettier) alongside Stylelint rather than these rules.
@ybiquitous ybiquitous added the status: needs discussion triage needs further discussion label Jun 23, 2023
@ybiquitous ybiquitous changed the title Removed deprecated rules Remove deprecated rules Jun 23, 2023
@ybiquitous ybiquitous mentioned this issue Jun 23, 2023
10 tasks
@jeddy3 jeddy3 added this to the future-major milestone Jun 24, 2023
@jeddy3 jeddy3 added status: ready to implement is ready to be worked on by someone type: enhancement a new feature that isn't related to rules and removed status: needs discussion triage needs further discussion labels Jun 24, 2023
@mattxwang mattxwang added status: wip is being worked on by someone and removed status: ready to implement is ready to be worked on by someone labels Jun 26, 2023
@jeddy3
Copy link
Member

jeddy3 commented Jun 30, 2023

Done in #6979

@jeddy3 jeddy3 closed this as completed Jun 30, 2023
@aiddroid
Copy link

aiddroid commented Feb 4, 2024

If you deperacated the indentation rule, Can you tell the user what the alternatives are? Very frustrating.

@BeardedFish
Copy link

If you deperacated the indentation rule, Can you tell the user what the alternatives are? Very frustrating.

You should be able to use the indentation rule from https://github.com/stylelint-stylistic/stylelint-stylistic via the @stylistic/indentation rule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: wip is being worked on by someone type: enhancement a new feature that isn't related to rules
Development

No branches or pull requests

5 participants