Keboola Node.js coding standard
yarn add --dev eslint eslint-plugin-import @keboola/eslint-config-node
@keboola/nodeto the plugins section of your
The standard extends AirBnB coding standard with these exceptions:
strictis 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-dependenciesis disabled because
aws-sdkmodule is preinstalled in Lambda environment and so it does not have to be specified in dependencies.