@abinnovision/prettier-config 2.1.0 → 2.1.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.1.2](https://github.com/abinnovision/js-commons/compare/prettier-config-v2.1.1...prettier-config-v2.1.2) (2024-10-10)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * enable trim_trailing_whitespace ([#332](https://github.com/abinnovision/js-commons/issues/332)) ([d5c8a90](https://github.com/abinnovision/js-commons/commit/d5c8a90aa0cefeb657d341ac34aa2691b9bd75ed))
9
+ * use space indent_style for md files ([#331](https://github.com/abinnovision/js-commons/issues/331)) ([ad54cd3](https://github.com/abinnovision/js-commons/commit/ad54cd320e87154c474e96295c8bacd64d2b0701))
10
+
11
+ ## [2.1.1](https://github.com/abinnovision/js-commons/compare/prettier-config-v2.1.0...prettier-config-v2.1.1) (2024-10-10)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * always require trailingComma ([#327](https://github.com/abinnovision/js-commons/issues/327)) ([ebf8d17](https://github.com/abinnovision/js-commons/commit/ebf8d1701054f7add9604227b722e40d6a426334))
17
+ * **prettier-config:** add override for pnpm-lock.yaml ([#326](https://github.com/abinnovision/js-commons/issues/326)) ([a7d6fcb](https://github.com/abinnovision/js-commons/commit/a7d6fcb27e62c52bdf27e6d88b3e338a78b03e65))
18
+
3
19
  ## [2.1.0](https://github.com/abinnovision/js-commons/compare/prettier-config-v2.0.0...prettier-config-v2.1.0) (2024-08-05)
4
20
 
5
21
 
@@ -5,3 +5,8 @@ indent_style = tab
5
5
  max_line_length = 80
6
6
  indent_size = 1
7
7
  tab_width = 2
8
+ trim_trailing_whitespace = true
9
+
10
+ [*.md]
11
+ indent_style = space
12
+ indent_size = 2
package/dist/index.js CHANGED
@@ -4,10 +4,18 @@ var config = {
4
4
  useTabs: true,
5
5
  tabWidth: 2,
6
6
  semi: true,
7
- trailingComma: "es5",
7
+ trailingComma: "all",
8
8
  bracketSpacing: true,
9
9
  arrowParens: "always",
10
- endOfLine: "lf"
10
+ endOfLine: "lf",
11
+ overrides: [
12
+ {
13
+ files: ["pnpm-lock.yaml"],
14
+ options: {
15
+ requirePragma: true
16
+ }
17
+ }
18
+ ]
11
19
  };
12
20
  var src_default = config;
13
21
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abinnovision/prettier-config",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "url": "https://github.com/abinnovision/js-commons"
@@ -40,11 +40,11 @@
40
40
  "devDependencies": {
41
41
  "@types/node": "^20.11.30",
42
42
  "@types/prettier": "^3.0.0",
43
- "eslint": "^9.8.0",
44
- "globals": "^15.9.0",
43
+ "eslint": "^9.9.1",
44
+ "globals": "^15.10.0",
45
45
  "prettier": "^3.3.3",
46
- "tsup": "^8.2.4",
47
- "typescript": "^5.5.4"
46
+ "tsup": "^8.3.0",
47
+ "typescript": "^5.6.2"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "prettier": "^2.4.0 || ^3.0.0"