Skip to content

Prettier default configuration for Nestjs project. It will help you to maintain the code quality of your project.

Notifications You must be signed in to change notification settings

hodfords-solutions/nestjs-prettier-config

Repository files navigation

Nest Logo

PRETTIER CONFIGURATION FOR NESTJS PROJECTS

Prettier default configuration for Nestjs project. It will help you to maintain the code quality of your project.

Installation 🤖

To begin using it, we first install the required dependencies.

npm install @hodfords/nestjs-prettier-config

Configuration 🚀

To activate prettier, create a prettier.config.js file in the root of your project and add the following configuration:

module.exports = require('@hodfords/nestjs-prettier-config');

Prettier Config

{
    singleQuote: true,
    printWidth: 120,
    proseWrap: 'always',
    tabWidth: 4,
    useTabs: false,
    trailingComma: 'none',
    bracketSpacing: true,
    jsxBracketSameLine: false,
    semi: true,
    endOfLine: 'auto'
}

License

This project is licensed under the MIT License

About

Prettier default configuration for Nestjs project. It will help you to maintain the code quality of your project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published