Skip to content

fix:styles brakes lint:scss #21

Closed
Closed
@maxceem

Description

@maxceem

When performing npm run fix:styles it brakes linting for some files.

Let's say we checkout commit f3d273d22e09b6a34f0a090cc5be377ac3dd6b79.

How to reproduce

  1. Run npm run lint:scss. There are no errors

  2. Run npm run fix:styles. It says that 10 files are formatted.

  3. Run npm run lint:scss again. Now we get error declaration-empty-line-before in two files src/styles/_forms.scss and src/styles/mixins/_typography.scss.

In total

  • fix:styles can create declaration-empty-line-before error
  • fix:styles formats some files which lint:scss doesn't treat as broken

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