0.9.2 • Published 5 years ago
@ls-age/eslint-config v0.9.2
@ls-age/eslint-config
This package provides ls-age's ESLint configuration.
Heavily inspired by Airbnb's ESLint config.
Main differences to eslint-config-airbnb
:
ava
sub-config
A special config for linting AVA test files.
Usage via .eslintrc
{
"extends": "@ls-age/eslint-config/ava"
}
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.
0.9.2
5 years ago
0.9.1
5 years ago
0.9.0
5 years ago
0.9.0-beta.0
5 years ago
0.8.1-beta.1
6 years ago
0.8.1-beta.0
6 years ago
0.8.0
6 years ago
0.6.0-beta.1
6 years ago
0.6.0
6 years ago
0.6.0-beta.0
6 years ago
0.5.0
6 years ago
0.5.0-beta.0
6 years ago
0.4.0-beta.3
6 years ago
0.4.0
6 years ago
0.4.0-beta.2
6 years ago