A great way to style.
Note: The configuration is based on the Prettier plugin for the IDE or code editor of your choice, and is compatible with the ESLint ecosystem present in the NPM Package of same name.
Install the package, follow the instructions according to the package manager of your choice, we ranked the top three most popular ones:
With NPM
npm install --dev prettier-config-louffee
With Yarn
yarn add -D prettier-config-louffee
With PNPM
pnpm install --dev prettier-config-louffee
To use the Louffee’s configuration, create a new file named .prettierrc.js
in the root of your project, and add the following content:
module.exports = require('prettier-config-louffee');
(Optional) Also create a .prettierignore
file in the root of your project, then add the following line:
node_modules