@darkskyapp/eslint-config
v1.2.0
Published
Dark Sky JavaScript Style - ESLint Shareable Config
Downloads
5
Readme
@darkskyapp/eslint-config
An ESLint Shareable Config for Dark Sky’s JavaScript style
Install
npm install --save-dev @darkskyapp/eslint-config eslint-plugin-node eslint-plugin-promise
Usage
Shareable configs are designed to work with the extends
feature of .eslintrc
files. You can learn more about Shareable Configs on the official ESLint website.
To use the Dark Sky JavaScript Style shareable config, install it as shown above, then add this to your .eslintrc
file:
{
"extends": "@darkskyapp"
}
Note: We omit the eslint-config
suffix since it is automatically assumed by ESLint.
You can override settings from the shareable config by adding them directly into your .eslintrc
file.
License
Apache v2.0 Copyright © The Dark Sky Company, LLC.