eslint-config-coditorium

Coditorium linter rules for JavaScript.


Keywords
coditorium, eslint
License
WTFPL
Install
npm install eslint-config-coditorium@1.4.0

Documentation

Coditorium eslint configuration

Travis Build NPM Version NPM Downloads

Eslint configuration used in Coditorium. It is an extension of well known eslint-airbnb-config.

This configuration does not use peerDependencies. it means that when you install eslint-config-coditorium it will be installed with all its eslint plugins.

For more details on eslint shareable configuration see the documentation.

Sample usage

Create .eslintrc in project root directory and add:

extends: coditorium

For koa based project use specific configuration:

extends: 'coditorium/koa'

Different configurations

  • index - Use it for any es6 projects.
  • base - Use it for node.js projects. Does not include react and other plugins.
  • react - Use it for react projects.
  • koa - Use it for koa based projects.