0.1.1 • Published 3 years ago
@bigpicturemedical/eslint-config-medkit v0.1.1
Eslint Config Package
Shareable Configs
The configuration that you have in your .eslintrc file is an important part of your project, and as such, you may want to share it with other projects or people. Shareable configs allow you to publish your configuration settings on npm and have others download and use it in their ESLint projects.
Creating a Shareable Config
Shareable configs are simply npm packages that export a configuration object. To start, create a Node.js module like you normally would. Make sure the module name begins with eslint-config-
Installation :
yarn add @bigpicturemedical/eslint-config-medkit
Usage :
- Add into your
.eslintrc
file:
{
"extends": "@bigpicturemedical/eslint-config-medkit"
}
- Run :
yarn lint --fix
Followed official docs:
https://eslint.org/docs/developer-guide/shareable-configs