@tomer/prettier-config
Advanced tools
+15
-11
| { | ||
| "name": "@tomer/prettier-config", | ||
| "version": "1.0.1", | ||
| "version": "2.0.0", | ||
| "author": { | ||
@@ -23,21 +23,25 @@ "name": "Tomer Aberbach", | ||
| ], | ||
| "type": "module", | ||
| "sideEffects": false, | ||
| "engines": { | ||
| "node": ">= 16" | ||
| "node": ">= 18" | ||
| }, | ||
| "main": "./src/index.js", | ||
| "exports": { | ||
| "import": "./src/index.js" | ||
| }, | ||
| "prettier": "./src/index.js", | ||
| "dependencies": { | ||
| "@trivago/prettier-plugin-sort-imports": "^4.1.1" | ||
| "@trivago/prettier-plugin-sort-imports": "^4.3.0" | ||
| }, | ||
| "peerDependencies": { | ||
| "prettier": "^2" | ||
| "prettier": "^3" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/jest": "29.5.2", | ||
| "eslint": "8.44.0", | ||
| "jest": "29.5.0", | ||
| "postcss": "8.4.24", | ||
| "tomer": "2.0.6", | ||
| "typescript": "5.1.6" | ||
| "@types/jest": "29.5.10", | ||
| "eslint": "8.54.0", | ||
| "jest": "29.7.0", | ||
| "postcss": "8.4.31", | ||
| "prettier": "^3.1.0", | ||
| "tomer": "2.0.7", | ||
| "typescript": "5.3.2" | ||
| }, | ||
@@ -44,0 +48,0 @@ "scripts": { |
+2
-13
@@ -1,2 +0,2 @@ | ||
| module.exports = { | ||
| export default { | ||
| printWidth: 80, | ||
@@ -17,14 +17,3 @@ tabWidth: 2, | ||
| embeddedLanguageFormatting: `auto`, | ||
| importOrder: [`^[./]`], | ||
| importOrderSeparation: false, | ||
| importOrderSortSpecifiers: true, | ||
| plugins: [`@trivago/prettier-plugin-sort-imports`], | ||
| overrides: [ | ||
| { | ||
| files: `*.d.ts`, | ||
| options: { | ||
| importOrderParserPlugins: [`["typescript", { "dts": true }]`], | ||
| }, | ||
| }, | ||
| ], | ||
| singleAttributePerLine: false, | ||
| } |
| module.exports = { | ||
| printWidth: 80, | ||
| tabWidth: 2, | ||
| useTabs: false, | ||
| semi: false, | ||
| singleQuote: true, | ||
| quoteProps: `as-needed`, | ||
| jsxSingleQuote: true, | ||
| trailingComma: `all`, | ||
| bracketSpacing: true, | ||
| bracketSameLine: false, | ||
| arrowParens: `avoid`, | ||
| proseWrap: `always`, | ||
| htmlWhitespaceSensitivity: `ignore`, | ||
| endOfLine: `lf`, | ||
| embeddedLanguageFormatting: `auto`, | ||
| importOrder: [`^[./]`], | ||
| importOrderSeparation: false, | ||
| importOrderSortSpecifiers: true, | ||
| plugins: [`@trivago/prettier-plugin-sort-imports`], | ||
| overrides: [ | ||
| { | ||
| files: `*.d.ts`, | ||
| options: { | ||
| importOrderParserPlugins: [`["typescript", { "dts": true }]`], | ||
| }, | ||
| }, | ||
| ], | ||
| } |
Yes
NaN3756
-18.89%7
16.67%4
-20%18
-68.97%+ Added
- Removed