Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-lsage

LukasHechenberger11MITdeprecated0.3.0

Use @ls-age/eslint-config instead

This package provides ls-age's ESLint configuration

eslint, eslintconfig, ls-age

readme

eslint-config-lsage

This package provides ls-age's ESLint configuration.

Heavily inspired by Airbnb's ESLint config.

Main differences to eslint-config-airbnb:

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

describe('This is valid', function() { ... })

Importing devDependencies is allowed

In other environments importing devDependencies is not allowed.

Anonymous functions don't need a space before parenthesis:

// This is valid
doAync(function() { ... })

// while this is not
doAync(function () { ... })

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.

changelog

0.3.0 (2017-11-18)

Bug Fixes

  • import: Disallow commonjs requires (1a9c034)

Features

  • import: Lint module order (8cb0726), closes #1

0.2.0 (2017-06-29)

Features

  • style: Enforce padded blocks in classes (ceb01fc)