Software Alternatives & Reviews

How to detect dead code in a frontend project

Webpack ESLint
  1. Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.
    Pricing:
    • Open Source
    Webpack is a module bundler that is widely used in modern web apps. Its main purpose is to bundle JavaScript files for usage in a browser. Essentially, webpack is used to create a dependency graph of your application and combine every module of your project into a bundle. This makes the tool perfectly positioned to detect unused imports and exports, i.e., dead code.

    #Web Application Bundler #JS Build Tools #Module Bundler 220 social mentions

  2. 2
    The fully pluggable JavaScript code quality tool
    Pricing:
    • Open Source
    ESLint is perhaps the most widely used JavaScript linter, with nearly 25 million weekly downloads on npm. It is — or at least should be — an integral part of every JavaScript project. Among many other useful things, ESLint allows us to detect unused variables in our files with its aptly named no-unused-vars rule.

    #Code Coverage #Developer Tools #Code Quality 229 social mentions

Discuss: How to detect dead code in a frontend project

Log in or Post with