1.0.0 • Published 1 year ago

sirgorstudio-prettier-config v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago
 A Prettier configuration preset for keeping consistent code
style

📥 Installation

npm install --save-dev sirgorstudio-prettier-config
yarn add --dev sirgorstudio-prettier-config
pnpm install --save-dev sirgorstudio-prettier-config

🔩 Usage

// .prettierrc.js
module.exports = {
 ...require("sirgorstudio-prettier-config"),
};
// prettier.config.js
import prettierConfig from "sirgorstudio-prettier-config";

export default {
  ...prettierConfig,
};
{
  "extends": "sirgorstudio-prettier-config"
}

⚙️ Rules overview

RuleStyleDocumentation
arrowParensalwaysDocumentation
bracketSpacingtrueDocumentation
embeddedLanguageFormattingautoDocumentation
htmlWhitespaceSensitivitycssDocumentation
jsxSingleQuotefalseDocumentation
printWidth200000Documentation
proseWrappreserveDocumentation
quotePropsas-neededDocumentation
requirePragmafalseDocumentation
semitrueDocumentation
singleQuotefalseDocumentation
tabWidth1Documentation
trailingCommaes5Documentation
useTabsfalseDocumentation