@keboola/eslint-config-node

2.1.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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.1.0
    0
  • 2.0.0
    0
  • 1.0.1
    0

Package Sidebar

Install

npm i @keboola/eslint-config-node

Weekly Downloads

0

Version

2.1.0

License

ISC

Unpacked Size

4.91 kB

Total Files

10

Last publish

Collaborators

  • ujovlado
  • halama
  • najlos
  • keboola-devel
  • jakubkotek