Skip to content

Standard Prettier configuration for Louisiana's Office of Technology Services

License

Notifications You must be signed in to change notification settings

la-ots/prettier-config

Repository files navigation

@la-ots/prettier-config

Standard configuration for Prettier.

Installation

npm install --save-dev @la-ots/prettier-config

Configure settings

Create .prettierrc.js file with the following content:

module.exports = {
  ...require("@la-ots/prettier-config"),
};

IDE Integration

Follow instructions provided by Prettier for integration setup.

Running linters

Add the following scripts to your package.json:

{
  "scripts": {
    "format:check": "prettier --check .",
    "format": "prettier --write --ignore-unknown ."
  }
}

Execute scripts:

npm run format:check
npm run format

About

Standard Prettier configuration for Louisiana's Office of Technology Services

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published