@mkaradeniz/prettier-config 4.0.1 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +3 -0
  2. package/package.json +13 -8
package/index.js CHANGED
@@ -2,6 +2,7 @@
2
2
  * @type {import("prettier").Config
3
3
  * & import("@ianvs/prettier-plugin-sort-imports").PluginConfig}
4
4
  */
5
+
5
6
  module.exports = {
6
7
  arrowParens: 'avoid',
7
8
  bracketSameLine: false,
@@ -29,6 +30,8 @@ module.exports = {
29
30
  'prettier-plugin-tailwindcss',
30
31
  // Sorts keys in package.json files. => https://github.com/matzkoh/prettier-plugin-packagejson
31
32
  'prettier-plugin-packagejson',
33
+ // Adds curly brackets to control flow statements (`if`, `for`, `while`, etc.). => https://github.com/JoshuaKGoldberg/prettier-plugin-curly
34
+ 'prettier-plugin-curly',
32
35
  ].map(require.resolve),
33
36
 
34
37
  // * @ianvs/prettier-plugin-sort-imports config. See: https://github.com/IanVS/prettier-plugin-sort-imports#options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkaradeniz/prettier-config",
3
- "version": "4.0.1",
3
+ "version": "4.0.3",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -18,20 +18,25 @@
18
18
  "**/*.{json,js,mjs}": "prettier --log-level warn --write",
19
19
  "**/*.{js,mjs}": "eslint --max-warnings 0 --no-warn-ignored"
20
20
  },
21
+ "prettier": "./index.js",
21
22
  "dependencies": {
22
23
  "@ianvs/prettier-plugin-sort-imports": "^4.7.0",
23
- "prettier": "^3.6.2",
24
- "prettier-plugin-packagejson": "^2.5.19",
25
- "prettier-plugin-tailwindcss": "^0.6.14"
24
+ "prettier": "^3.7.3",
25
+ "prettier-plugin-curly": "^0.4.1",
26
+ "prettier-plugin-packagejson": "^2.5.20",
27
+ "prettier-plugin-tailwindcss": "^0.7.2"
26
28
  },
27
29
  "devDependencies": {
28
- "@mkaradeniz/eslint-config": "^4.0.3",
29
- "eslint": "^9.34.0",
30
+ "@mkaradeniz/eslint-config": "^4.0.12",
31
+ "eslint": "^9.39.1",
30
32
  "husky": "^9.1.7",
31
- "lint-staged": "^16.1.6",
32
- "rimraf": "^6.0.1"
33
+ "lint-staged": "^16.2.7",
34
+ "rimraf": "^6.1.2"
33
35
  },
34
36
  "peerDependencies": {
35
37
  "prettier": "^3.6.2"
38
+ },
39
+ "engines": {
40
+ "node": ">=22.13.0"
36
41
  }
37
42
  }