eslint-config-lsage
This package provides ls-age's ESLint configuration.
Heavily inspired by Airbnb's ESLint config.
eslint-config-airbnb
:
Main differences to The mocha environment:
This config contains an advanced mocha environment. The following code is assumed to be in a mocha ESLint environment.
Non-arrow-callbacks are allowed
Importing devDependencies is allowed
In other environments importing devDependencies is not allowed.
Anonymous functions don't need a space before parenthesis:
// This is valid // while this is not
Dangling underscores in identifiers are allowed
This allows documentation generators to assume members are private.
API docs are linted
API docs are linted using eslint-plugin-jsdoc.