Skip to content

Commit

Permalink
Removing duplicate usage demonstration
Browse files Browse the repository at this point in the history
  • Loading branch information
Permanently committed Sep 12, 2023
1 parent 0c3b7d0 commit 052cf09
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,22 +122,4 @@ Pug code with automatic formatting:

## Type support in configuration file

You can write your `.prettierrc.cjs` like this to get fully type check support with documentation:

```js
// @ts-check
/// <reference types="@prettier/plugin-pug/src/prettier" />

/**
* @type {import('prettier').Options}
*/
module.exports = {
plugins: ['@prettier/plugin-pug'],

printWidth: 120,
singleQuote: true,

pugSingleQuote: false,
// ... more pug* options
};
```

0 comments on commit 052cf09

Please sign in to comment.