@edenjs/eslint-config-eden
v2.0.14
Published
ESLint config for EdenJS
Downloads
40
Readme
eslint-config-eden
An ESLint Shareable Config for EdenJS
Install
Using NPM:
npm install --save-dev @eden-js/eslint-config-eden
Using Yarn:
yarn add --dev @eden-js/eslint-config-eden
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 EdenJS shareable config, first run this:
Using NPM:
npm install --save-dev eslint @eden-js/eslint-config-eden
Using Yarn:
yarn add --dev eslint @eden-js/eslint-config-eden
Then, add this to your .eslintrc file:
{
"extends": "@eden-js/eden"
}
Note: We omitted the eslint-config-
prefix since it is automatically assumed by ESLint.
You can override settings from the shareable config by adding them directly into your .eslintrc
file.