1.1.5 • Published 1 year ago

@dulgi/prettier-config v1.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@dulgi/prettier-config

Shareable prettier configuration for web apps and libraries.

Getting started

Install

Install Prettier and @dulgi/prettier-config:

npm install --save-dev prettier@~2.8.7 @dulgi/prettier-config

Usage.

To use, create the configuration files (.prettierrc, prettier.config.js, .prettierrc.js) in the root of your project and configure them like below.

// `.prettierrc`
"@dulgi/prettier-config"
// `prettier.config.js` or `.prettierrc.js`
module.exports = "@dulgi/prettier-config";

Extensions

Use the following to add additional settings or change existing ones.

To extend the configuration, you must use a prettier.config.js or .prettierrc.js file that exports objects:

module.exports = {
  ...require("@dulgi/prettier-config"),
  ...abc: true
};
1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago