Giter Club home page Giter Club logo

Comments (3)

wald-tq avatar wald-tq commented on June 29, 2024

I got a workaround:

Use the main.less only to include other less files:

// libraries:
@import "bootstrap/less/bootstrap.less";

// common mixins:
@import "less/mixins.less";

// own components:
@import "less/flot.less";
@import "less/forms.less";
@import "less/grid.less";
@import "less/page_elements.less";
@import "less/tree.less";
@import "less/detailpages.less";
@import "less/timeline.less";
@import "less/navbar.less";

@import "less/general.less";

and in the Gruntfile.js use the less directory as source:

lesslint: {
  dev: {
    src: ['Applikation/Content/main.less'],
    options: {
      imports: ['Applikation/Content/less/*.less']
    }
  },
  ci: {
    src: ['Applikation/Content/less/*.less'], // <- watch this!
    options: {
      formatters: [{ id:'lint-xml', dest: 'csslint.xml'}]
    }
  }
},

from grunt-lesslint.

jgable avatar jgable commented on June 29, 2024

It looks like you found a solution so I'm gonna close this. If you think we can do better with the documentation that might help others, we'd love some feedback.

from grunt-lesslint.

wald-tq avatar wald-tq commented on June 29, 2024

Hi,
thanks for your reply. I tested it again and the difference in the number of lint errors disappeared.
Issue closed!
Thanks!

from grunt-lesslint.

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.