eslint-config-chariyski

3.0.0 • Public • Published

eslint-config-defaults

A composable set of ESLint configurations.


Installation

Install this config package and ESLint:

$ npm install --save-dev eslint eslint-config-chariyski

Usage

Full Configurations

This package includes the following complete and ready to use configurations:

  • chariyski/configurations/es5 - ES5 config
  • chariyski/configurations/es5-browser - ES5 + browser
  • chariyski/configurations/es5-node - ES5 + node
  • chariyski/configurations/es6 - ES6 config
  • chariyski/configurations/es6-browser - ES6 + browser
  • chariyski/configurations/es6-node - ES6 + node
  • chariyski/configurations/es6-react - ES6 + react
Extend ESLint

To consume and extend a config in ESLint just add the extends attribute to your .eslintrc. For more details about how shareable configs work, see the ESLint documentation.

---
  "extends": "chariyski/configurations/es6-browser"
---
"extends":
  - "chariyski/configurations/es6-browser"

NOTE: Extending multiple complete configs can cause unexpected results, if you need to do this you should consider a piecemeal config.

License

MIT License

Package Sidebar

Install

npm i eslint-config-chariyski

Weekly Downloads

0

Version

3.0.0

License

MIT

Last publish

Collaborators

  • chariyski