0.4.1 • Published 7 years ago
eslint-config-d-centralize v0.4.1
eslint-config-d-centralize
Shareable ESLint configuration used at d-centralize.
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'