Skip to content

Ignore parse errors #333

@Ser-Gen

Description

@Ser-Gen

csso can't minify some legacy styles because of parse errors.

csso "styles.css" "styles.min.css"

Parse error X:\project\css\styles.css: Unexpected input
 3354 |.Notes {
 3355 | padding:0px
 3356 | display:block;
---------------^
 3357 | width:420px;
 3358 | float:right;

I understand that ignoring could slow parsing and I really need to fix all errors, but right now I don't need linting, my target is only minification.

Is there a way to ignore parse errors?

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