@adobe/eslint-config-aio-lib-config

    1.4.0 • Public • Published

    eslint-config-aio-lib-config

    Shareable ESLint config for AIO libs

    Installation

    To install, use npm 5 or greater:

    npm install --save-dev @adobe/eslint-config-aio-lib-config
    npx install-peerdeps --dev @adobe/eslint-config-aio-lib-config

    Add to the root .eslintrc.json file

    Add this to your .eslintrc.json file in the root of your module:

    {
      "extends": "@adobe/eslint-config-aio-lib-config"
    }

    Exclude test/e2e folders from the node/no-unpublished-require rule

    The node/no-unpublished-require prevents using a module when it hasn't been added in the dependencies key in package.json. This setting excludes this rule for test folders, where the module may have been added in the devDependencies key in package.json only.

    Add this setting to a .eslintrc.json file in the affected folder:

    {
        "rules": {
            "node/no-unpublished-require": 0
        }
    }
    ``
    
    

    Install

    npm i @adobe/eslint-config-aio-lib-config

    DownloadsWeekly Downloads

    396

    Version

    1.4.0

    License

    Apache-2.0

    Unpacked Size

    23.2 kB

    Total Files

    12

    Last publish

    Collaborators

    • adobehalls
    • fullcolorcoder
    • marbec
    • tripod
    • garthdb
    • lazd
    • adobe-admin
    • patrickfulton
    • trieloff
    • shazron
    • krisnye
    • dcpfsdk
    • natebaldwin
    • devongovett
    • aspro83
    • symanovi
    • dpfister
    • stefan-guggisberg
    • korra
    • rofe
    • kptdobe