Wondering what‚Äôs next for npm?Check out our public roadmap! ¬Ľ

    @ngirl/eslint-config-ngirl

    1.5.2¬†‚Äʬ†Public¬†‚Äʬ†Published

    @ngirl/eslint-config-ngirl

    NPM

    This package provides the Naughty Girl project's .eslintrc as an extensible shared configuration across all of the project modules.

    Usage

    yarn add @ngirl/eslint-config-ngirl@latest -D
    1. The correct peer dependency versions listed in this package must be installed in your project's directory.

    1a. Manually install the list of peer dependencies given when querying the npm registry.

    npm info @ngirl/eslint-config-ngirl peerDependencies

    1b. Use a npm package, such as install-peerdeps that assists in installing peer dependencies.

    npm install -g install-peerdeps
    install-peerdeps --yarn --only-peers --dev @ngirl/eslint-config-ngirl

    1c. Or, via npx to avoid permanently installing install-peerdeps.

    npx install-peerdeps --yarn --only-peers --dev @ngirl/eslint-config-ngirl

    1d. Or, use the provided helper script to mimic the above process.

    DRY_RUN=1 bin/install-peerdeps.js
    1. Add "extends": "@ngirl/eslint-config-ngirl" to your project's .eslintrc config.

    Cheat Sheet

    /* eslint no-undef: ['off'] */
    /* eslint no-undef: ['error'] */
    /* eslint-disable no-alert */
    /* eslint-disable no-alert, no-console */
    /* eslint-enable no-alert, no-console */
    /* eslint-disable */
    /* eslint-enable */
    // eslint-disable-line
    // eslint-disable-next-line

    References

    Projects Using @ngirl/eslint-config-ngirl

    Install

    npm i @ngirl/eslint-config-ngirl

    DownloadsWeekly Downloads

    1

    Version

    1.5.2

    License

    BSD-3-Clause

    Unpacked Size

    21.3 kB

    Total Files

    10

    Last publish

    Collaborators

    • avatar