0.1.0 • Published 3 years ago

@bigpicturemedical/medkit-config v0.1.0

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

MedKit Config

This package contains the following configuration:

  • Eslint
  • Tailwind
  • Prettier

Usage:

install the package into your application:

```
yarn add @bigpicturemedical/medkit-config
```

Install all the peerDeps required !

Eslint-Config file :

  1. Extract eslint-config from the lib into your .eslintrc file:

    const { eslintConfig } = require('@bigpicturemedical/medkit-config')
  2. Replace or Extend your eslint configuration:

    ...
    module.exports = { ...eslintConfig }
  3. Run it : yarn lint --fix

Prettier-Config file :

  1. Extract prettier-config from the lib into your .prettierc file:

    const { prettierConfig } = require('@bigpicturemedical/medkit-config')
  2. Replace or Extend your eslint configuration:

    ...
    module.exports = { ...prettierConfig }
  3. To check that everything is working fine just check if the files gets fixed on save or if there is anything at the editor level that is overriding your new configuration.

Tailwind-Config file:

In order to be able to consume tailwind-config we have to follow those steps:

  1. Extract the config file in the tailwind.config.js
  2. Replace or extend it:

    ...
    module.exports = { ...tailwindConfig}
  3. Make your Vue app consume tailwind (TODO!)

0.1.0

3 years ago