0.1.0 • Published 3 years ago
@bigpicturemedical/medkit-config v0.1.0
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 :
Extract
eslint-config
from the lib into your .eslintrc file:const { eslintConfig } = require('@bigpicturemedical/medkit-config')
Replace or Extend your eslint configuration:
... module.exports = { ...eslintConfig }
Run it :
yarn lint --fix
Prettier-Config file :
Extract
prettier-config
from the lib into your .prettierc file:const { prettierConfig } = require('@bigpicturemedical/medkit-config')
Replace or Extend your eslint configuration:
... module.exports = { ...prettierConfig }
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:
- Extract the config file in the tailwind.config.js
Replace or extend it:
... module.exports = { ...tailwindConfig}
Make your Vue app consume tailwind (TODO!)
0.1.0
3 years ago