@oleg-ch/prettier-config

Base Prettier config.

Usage no npm install needed!

<script type="module">
  import olegChPrettierConfig from 'https://cdn.skypack.dev/@oleg-ch/prettier-config';
</script>

README

@oleg-ch/prettier-config

Base Prettier config.

Installation

yarn add -D @oleg-ch/prettier-config

Usage

In case you want to overwrite this prettier config with your own rules, create .prettierrc.js file in the root of your project:

module.exports = {
    ...require('@oleg-ch/prettier-config'),
    // add your overrides here
}

If you only want to apply this config, then create .prettierrc.yml with the following contents:

'@oleg-ch/prettier-config'

Read more at Prettier config docs