Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.

dcentralize/eslint-config-d-centralize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-d-centralize

Shareable ESLint configuration used at d-centralize.

npm Build Status devDependency Status peerDependency Status

This is a very opinionated shareable ESLint configuration. The goal of this project is to enforce a strict coding style at d-centralize projects.

Installation

npm install --save-dev eslint eslint-config-d-centralize

Usage

To use this preset, simply extend it in the project .eslintrc file. See Configuring ESLint for details. Any rules can still be overridden.

ES6 preset

root: true

extends: d-centralize/es6

ES5 preset

root: true

extends: d-centralize

React preset

This preset uses eslint-plugin-react

npm install --save-dev eslint-plugin-react
root: true

extends: d-centralize/react

settings:
  react:
    version: '15.0'

About

Shareable ESLint configuration used at d-centralize.

Resources

License

Stars

Watchers

Forks

Packages

No packages published