An ESLint Shareable Config
JavaScript Imperative Style is just the stuff that actually matters rather than subjective preferences.
npm install eslint-config-imperative-es6
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 JavaScript Imperative ES6 Style shareable config, first run this:
npm install eslint-config-imperative-es6
Then, add this to your .eslintrc file:
{
"extends": "imperative-es6"
}
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.