Skip to content

Chariyski/eslint-config-chariyski

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published