@songkick/eslint-config-songkick

0.3.0 • Public • Published

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 within switch statements.
  • quotes must be single quotes, and template literals are also allowed.
  • max-len must be no more than 120 characters
  • linebreak-style is set to unix.

Environments

  • browser and node 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.

Readme

Keywords

Package Sidebar

Install

npm i @songkick/eslint-config-songkick

Weekly Downloads

1

Version

0.3.0

License

MIT

Last publish

Collaborators

  • songkick-tech