Skip to content

Remove stylelint-stylistic #206

@tkrotoff

Description

@tkrotoff

With stylelint 15 the stylistic rules have been removed in favor of tools like Prettier.

When we created these rules, pretty printers (like Prettier) didn't exist. They now offer a better way to consistently format code, especially whitespace. Linters and pretty printers are complementary tools that work together to help you write consistent and error-free code.

So should stylelint-config-twbs-bootstrap: let the user configure Prettier instead of using stylelint-stylistic which is a temporary solution because not all projects are able to shift easily.

Before stylelint 15 & stylelint-config-twbs-bootstrap 8.0.0, stylelint-config-prettier (deprecated & archived) allowed to disable all stylistic rules in conflict with Prettier.

stylelint-config-twbs-bootstrap >= 8.0.0 requires the users to manually disable each rules from stylelint-stylistic to avoid conflicts with Prettier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions