Nighttime Pachinko Marathon
    Have ideas to improve npm?Join in the discussion! »

    @hint/hint-webpack-config
    TypeScript icon, indicating that this package has built-in type declarations

    2.4.10 • Public • Published

    webpack configuration hints set (webpack-config)

    webpack-config contains set of hints to check if your webpack configuration file (webpack.config.js) has the most recommended configuration.

    Why is this important?

    If you are building an app or a website using webpack, you need to be sure that your configuration is the best for your needs.

    Hints

    How to use these hints?

    This package is installed automatically by webhint:

    npm install hint --save-dev

    To use it, activate it via the .hintrc configuration file:

    {
        "connector": {...},
        "formatters": [...],
        "hints": {
            "webpack-config/config-exists": "error",
            "webpack-config/is-installed": "error",
            "webpack-config/is-valid": "error",
            "webpack-config/module-esnext-typescript": "error",
            "webpack-config/no-devtool-in-prod": "error",
            ...
        },
        "parsers": ["webpack-config", "typescript-config"],
        ...
    }

    Note: The recommended way of running webhint is as a devDependency of your project.

    Further Reading

    Install

    npm i @hint/hint-webpack-config

    DownloadsWeekly Downloads

    4,205

    Version

    2.4.10

    License

    Apache-2.0

    Unpacked Size

    755 kB

    Total Files

    91

    Homepage

    webhint.io/

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar