Git Product home page Git Product logo

Comments (2)

srowhani avatar srowhani commented on June 12, 2024

What does it output when it fails? Does the tool halt, or does it just skip the rule?

from sass-lint-auto-fix.

 avatar commented on June 12, 2024
npm run sasslint:fix scss\foo.scss

> [email protected] sasslint:fix C:\my-project
> sass-lint-auto-fix --config .sass-lint-auto-fix.yml --config-sass-lint .sass-lint.yml "scss\foo.scss"

@fix       Running resolver "property-sort-order" on "scss/foo.scss"
@error     { line: 10,
  syntax: 'scss',
  css_: '/*\n * Foo \n *\n ********************************************************************************/\n\n.error-page {\n\n  @include bem-e(\'container\') {\n\n{ min-height: 650px; }\n  }\n\n{ max-width: $screen-sm; }\n\n  @include bem-e(\'form\') {\n    margin-top: $grid-vertical-padding;\n\n{ margin-bottom: $grid-vertical-padding; }\n  }\n\n  @include bem-e(\'input\') {\n    border: 1px solid $neutral !important; // override global search input style\n    padding-right: 15px !important; // override global search input style\n\n{ border-color: $brand-primary-blue !important; }\n  }\n\n  @include bem-e(\'list\') {\n\n    @media (min-width: $screen-sm-min) {\n      display: flex;\n      flex-flow: row wrap;\n      width: 70%;\n    }\n  }\n\n  @include bem-e(\'list-item\') {\n    padding-top: 2px;\n    padding-bottom: 2px;\n\n{ width: 50%; }\n\n    a {\n      @include line-height(12, 18);\n      @include font-size(12);\n\n      text-decoration: none;\n      font-family: $primary-font-bold;\n\n      &:focus,\n{ text-decoration: underline; }\n    }\n  }\n}\n' }

The fixer halts on line 10 and isn't able to fix errors below that line.

from sass-lint-auto-fix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.