Giter VIP home page Giter VIP logo

lintlovin's People

Contributors

hugowetterberg avatar jmedoy avatar mortonfox avatar ptte avatar singwai avatar voxpelli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lintlovin's Issues

Warn about outdated/undesired node.js / npm version

If we're doing an app for Node 0.10 or for iojs then we want to ensure that everyone that uses that app uses it with the right node version and even more we want to ensure that the tests that are run are run with the right node version.

As different npm versions can also treat package.json files different we also want to ensure that the npm version is fairly new โ€“ if not of the latest version so at least one of the third latest or so.

This should be checked on at least push time.

noMocha have no effect?

I didn't not test this properly. But it seems like noMocha has no effect, it still expects a test directory to be around.

Check that used dependencies are included and non-used excluded from package.json

Using eg. Max Ogden's https://github.com/maxogden/dependency-check or some alternatives like https://github.com/rumpl/depcheck or https://github.com/dylang/npm-check to parse all used packages and ensure that those and only those are included as dependencies.

This is a good addition to the already existing JSHint checks for unused variables that will remind one to remove the inclusion of non-used modules in the JS-code. An addition like this will ensure that if a module is removed from all JS-files, that the module is also removed as a dependency from the project.

No dependency check fails

Running "dependency-check:files" (dependency-check) task Fatal error: No entry paths found

If all files have been ignored in dependencyFiles

Warn about outdated dependencies

If it was X time ago that new dependency versions was looked for, then trigger a background process that checks for new dependency versions and updates a local dependency cache.

Then on each test, check that cache for new versions and warn/notify the user about outdated dependencies.

(In the case of an outdated Lintlovin and/or other specified versions, perhaps even throw an error)

Construct this as a new grunt task that can be used independently of Lintlovin.

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.