ita-social-projects / SpaceToStudy-Client

MIT License
22 stars 14 forks source link

(SP: 2) Setup Stylelint package #2417

Closed YaroslavChuiko closed 1 month ago

YaroslavChuiko commented 2 months ago

Description

We need to integrate Stylelint into our project to enforce consistent styling rules across our SCSS/CSS codebase. The task involves the following steps:

  1. Install Stylelint:

    • [ ] Add the Stylelint package and its necessary plugins to the project as development dependencies.
  2. Configuration:

    • [ ] Set up rules based on our project's coding standards. This should include basic linting rules for SCSS/CSS properties, ordering, and other stylistic choices
  3. Integration:

    • [ ] Set up scripts in package.json to run Stylelint checks, possibly as part of the pre-commit hook or continuous integration pipeline
    • [ ] Ensure Stylelint is integrated with our existing linting and formatting tools ESLint, Prettier.
  4. Testing:

    • [ ] Test the Stylelint setup by running it against our existing SCSS/CSS files.
    • [ ] Fix any linting errors or warnings that arise to ensure the codebase is compliant with the new linting rules.

Acceptance Criteria: