1.0.2 • Published 2 years ago

@tdsoft/prettier-config v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@tdsoft/prettier-config

@tdsoft config

printWidthtrailingCommatabWidthsemisingleQuotebracketSpacingbracketSameLinearrowParensendOfLinejsxSingleQuoteproseWrapquotePropsuseTabshtmlWhitespaceSensitivity
100none4truefalsefalsefalsealwaysautofalsepreserveas-neededfalsecss

How to use this config

Reference it within package.json file:

{
  "name": "@tdsoft/project-name",
  "description": "Project description.",
  ...
  "prettier": "@tdsoft/prettier-config"
}

Create a .prettierrc, .prettierrc.yaml, .prettierrc.yml, .prettierrc.json or .prettierrc.json5 file and export a string:

"@tdsoft/prettier-config"

How to override

Import the @tdsoft/prettier-config file in a .prettierrc.js, .prettierrc.cjs, prettier.config.js, or prettier.config.cjs file and override desired properties.

module.exports = {
  ...require("@tdsoft/prettier-config"),
  semi: false
};
1.0.2

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago