0.3.0 • Published 7 years ago
@songkick/eslint-config-songkick v0.3.0
songick-eslint-config
A base configuration for ESLinting our JavaScript projects.
Base Rules:
use strict
is not allowed, because when the app is wrapped with Babel it will have this added.debugger;
statements are errors.indent
must be 2 spaces, and indentation is enforced withinswitch
statements.quotes
must be single quotes, and template literals are also allowed.max-len
must be no more than 120 characterslinebreak-style
is set tounix
.
Environments
browser
andnode
environments are enabled
Plugins:
Extends
We also extend from some other configurations:
plugin:jasmine/recommended
plugin:import/errors
plugin:import/warnings
Parser
babel-eslint is used as the parser.