0.3.2 • Published 6 years ago
eslint-config-jmd v0.3.2
ESLint-Config-JMD
This is my eslint setup for use in personal projects. My aim is to gradually build on the ruleset over time, using airbnb standards as the foundation.
Prerequisites
- npm 5.2.0 or greater
How to use
Follow these instructions to add this eslint configuration to your project
- Navigate to your project's folder. Example:
cd ./projects/my_project
If your project doesn't contain a package.json file use the
npm init
command and answer the questions in the setup wizard.Install this package's peer dependencies in your project with the following command:
npx install-peerdeps --dev eslint-config-jmd
- Create a .eslintrc.json file which extends
"jmd"
and declares your project's environment. For example:
{
"extends": [
"jmd"
],
"env": {
"node": true
}
}