Git Product home page Git Product logo

dgksk8life / quick-lint-js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quick-lint/quick-lint-js

2.0 2.0 0.0 6.07 MB

quick-lint-js finds bugs in JavaScript programs

Home Page: https://quick-lint-js.com/

License: GNU General Public License v3.0

CMake 1.59% C++ 79.32% Shell 0.86% C 4.42% Vim Script 0.28% JavaScript 4.19% Python 4.88% HTML 3.24% Ruby 0.06% CSS 0.11% Nix 0.05% Go 0.90% Dockerfile 0.10%

quick-lint-js's Introduction

quick-lint-js

quick-lint-js finds bugs in JavaScript programs.

Warning: This is pre-release software. quick-lint-js is under active development and is unstable. Use at your own risk.

quick-lint-js finds many bugs, including:

  • Using a variable which does not exist
  • Assigning to a const variable
  • Using await in a non-async function
  • Syntax errors

Demonstration of quick-lint-js in Visual Studio Code

Building

Without CMake (macOS and Linux only)

$ c++ -o quick-lint-js -std=gnu++17 -I src -I vendor/boost -I vendor/simdjson/include -I vendor/simdjson/src -D_LIBCPP_HIDE_FROM_ABI_PER_TU_BY_DEFAULT=1 -D_LIBCPP_INLINE_VISIBILITY="__attribute__((internal_linkage))" src/*.cpp vendor/boost/libs/container/src/*.cpp vendor/boost/libs/container/src/alloc_lib.c vendor/simdjson/src/simdjson.cpp
$ ./quick-lint-js path/to/my-file.js

With CMake

See build instructions for how to build quick-lint-js for development.

Values

  • Performance. You use quick-lint-js in text editors and IDEs to show bugs as they are written. quick-lint-js must be fast to make feedback responsive.

    • Small design. The less infrastructure and developer conveniences used within quick-lint-js, the less time quick-lint-js wastes due to this bloat.
    • Few features. Features add run-time costs. With fewer features, quick-lint-js gives you feedback sooner.
  • High signal. quick-lint-js finds bugs, not nitpicks. You can use quick-lint-js in any project, no matter the size or style.

    • No opinions. quick-lint-js doesn't complain about style issues, like using 'strings' vs "strings". It complains about real bugs which everyone agrees are bugs.
    • No false positives. If quick-lint-js complains, you know it's a bug in your code.
    • No configuration. quick-lint-js works out-of-the-box. You don't need configuration files to tell quick-lint-js what buggy code looks like.

quick-lint-js's People

Contributors

strager avatar erlliam avatar t100400 avatar brandoncc avatar vegerot avatar edthedagger avatar eiffel-fl avatar leewannacott avatar liranuna avatar keyehzy avatar spicyyboi avatar frank-buss avatar angelja avatar glblapco avatar codeitquick avatar dylanelliott27 avatar jeduardofr avatar chuygil avatar welenofsky avatar adebellis avatar

Stargazers

Roman avatar OftenGuy avatar Gábor Mihálcz avatar

Watchers

James Cloos avatar  avatar

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.