2.2.0 • Published 5 months ago
@igorkowalczyk/prettier-config v2.2.0
📥 Installation
npm install --save-dev @igorkowalczyk/prettier-config
yarn add --dev @igorkowalczyk/prettier-config
pnpm install --save-dev @igorkowalczyk/prettier-config
🔩 Usage
// .prettierrc.js
module.exports = {
...require("@igorkowalczyk/prettier-config"),
};
// prettier.config.js
import prettierConfig from "@igorkowalczyk/prettier-config";
export default {
...prettierConfig,
};
{
"extends": "@igorkowalczyk/prettier-config"
}
⚙️ Rules overview
Rule | Style | Documentation |
---|---|---|
arrowParens | always | Documentation |
bracketSpacing | true | Documentation |
embeddedLanguageFormatting | auto | Documentation |
htmlWhitespaceSensitivity | css | Documentation |
jsxSingleQuote | false | Documentation |
printWidth | 200000 | Documentation |
proseWrap | preserve | Documentation |
quoteProps | as-needed | Documentation |
requirePragma | false | Documentation |
semi | true | Documentation |
singleQuote | false | Documentation |
tabWidth | 1 | Documentation |
trailingComma | es5 | Documentation |
useTabs | false | Documentation |
2.2.0
5 months ago
2.1.0
5 months ago
1.5.5
9 months ago
1.5.4
10 months ago
1.5.3
10 months ago
1.5.2
10 months ago
1.5.1
10 months ago
1.4.2
11 months ago
1.5.0
10 months ago
1.4.1
11 months ago
2.0.3
7 months ago
2.0.2
7 months ago
2.0.1
7 months ago
2.0.0
7 months ago
1.5.6
8 months ago
1.3.2
1 year ago
1.4.0
12 months ago
1.3.1
1 year ago
1.3.0
1 year ago
1.2.0
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