Software Alternatives & Reviews

Eslint rule to restrict imports

Lo-Dash ESLint
  1. Lo-Dash is a drop-in replacement for Underscore.
    Pricing:
    • Open Source
    I recently learned that there is a way to restrict imports of certain libraries in Eslint. This is useful for example when you want to restrict the use of a certain library. For example, you might want to restrict the use of lodash.js in your codebase. You can do this by adding the following rule to your Eslint config:.

    #Development Tools #Javascript UI Libraries #JavaScript Framework 84 social mentions

  2. 2
    The fully pluggable JavaScript code quality tool
    Pricing:
    • Open Source
    I recently learned that there is a way to restrict imports of certain libraries in Eslint. This is useful for example when you want to restrict the use of a certain library. For example, you might want to restrict the use of lodash.js in your codebase. You can do this by adding the following rule to your Eslint config:.

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

Discuss: Eslint rule to restrict imports

Log in or Post with