Wondering what’s next for npm?Check out our public roadmap! »

    @keboola/eslint-config-node

    2.0.0 • Public • Published

    eslint-config-node

    Keboola Node.js coding standard

    Usage

    1. Install: yarn add --dev eslint eslint-plugin-import @keboola/eslint-config-node
    2. Add @keboola/node to the plugins section of your .eslintrc.json configuration file.:
    {
        "extends": [
            "@keboola/node"
        ]
    }

    Standard

    The standard extends AirBnB coding standard with these exceptions:

    • strict is disabled. You are not required to define strict mode explicitly as it is switched on by default inside modules and classes.

    • max-len. Maximum line length is increased to 120 with exceptions for comments and strings.

    • comma-dangle. Trailing commas are required everywhere except for function declarations and function calls.

    • import/no-extraneous-dependencies is disabled because aws-sdk module is preinstalled in Lambda environment and so it does not have to be specified in dependencies.

    Install

    npm i @keboola/eslint-config-node

    DownloadsWeekly Downloads

    5

    Version

    2.0.0

    License

    ISC

    Unpacked Size

    3.06 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar