Git Product home page Git Product logo

Comments (5)

mpeterv avatar mpeterv commented on August 11, 2024

@dirkfeytons so you propose that if --include-files is used, it should override check for extension when recursing into directories? Seems reasonable. For now you can use find and xargs, e.g. find -name '*.map' | xargs luacheck.

from luacheck.

dirkfeytons avatar dirkfeytons commented on August 11, 2024

@mpeterv: Yeah; I was kind of expecting that I could specify a directory to start from and that with --include-files I could specify which files to actually check.

I can let the shell do the globbing but it's a lot of files and I want to avoid hitting the limits of the amount of arguments I can pass. I want to do the checking with one invocation of luacheck so I have one JUnit test report covering everything. But I can work around it for now.

from luacheck.

mpeterv avatar mpeterv commented on August 11, 2024

@dirkfeytons I've implemented this on master branch, can you check that it does what you want?

from luacheck.

mpeterv avatar mpeterv commented on August 11, 2024

0.13.0 released with this fixed.

from luacheck.

dirkfeytons avatar dirkfeytons commented on August 11, 2024

@mpeterv: now that the holiday period is over I finally got around to trying your change. I can confirm I can now easily do what I wanted; thanks!

from luacheck.

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.