Skip to content

CSScomb and Sass (or cssnext) syntax support #522

@albrin

Description

@albrin

CSScomb does not support the syntax of Saas (or cssnext)?

Environment:

  • CSScomb version: 4.1.0
  • Node.js v7.10.0
  • Windows 10 Pro

Run command: csscomb postcss/test.css

I get an error:

(node:20356) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Parsing error: postcss/test.css
Please check validity of the block starting from line #8
CSScomb Core version: 4.1.0

6 |     line-height: 24px;
8*|   &:hover {
9 |     text-decoration: none;
10 |   }

Syntax: css
Gonzales PE version: 3.4.7
(node:20356) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit co
de.

CSS input file:

.btn {
    display: block;

    font-size: 18px;
    font-weight: bold;
    line-height: 24px;

  &:hover {
    text-decoration: none;
  }

  &:active {
    text-decoration: none;

    background-color: #d5c9bd;
  }

  &:focus {
    text-decoration: none;

    outline: none;
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions