@bigpicturemedical/eslint-config-medkit

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.

Usage no npm install needed!

<script type="module">
  import bigpicturemedicalEslintConfigMedkit from 'https://cdn.skypack.dev/@bigpicturemedical/eslint-config-medkit';
</script>

README

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 :

  1. Add into your .eslintrc file:
{
"extends": "@bigpicturemedical/eslint-config-medkit"
}
  1. Run : yarn lint --fix

Followed official docs:

https://eslint.org/docs/developer-guide/shareable-configs