@abinnovision/eslint-config-base 3.2.1 → 3.2.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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.2.2](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v3.2.1...eslint-config-base-v3.2.2) (2026-03-22)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * remove lines-around-comment rule to resolve conflicts ([#594](https://github.com/abinnovision/js-commons/issues/594)) ([3414a8e](https://github.com/abinnovision/js-commons/commit/3414a8e76637a84c2e71248b9812b9edc17931b0))
9
+
3
10
  ## [3.2.1](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v3.2.0...eslint-config-base-v3.2.1) (2026-03-22)
4
11
 
5
12
 
@@ -17,18 +17,6 @@ const config = (0, eslint_config.defineConfig)([{
17
17
  rules: {
18
18
  "@stylistic/multiline-comment-style": ["error", "starred-block"],
19
19
  "@stylistic/spaced-comment": ["error", "always"],
20
- "@stylistic/lines-around-comment": ["error", {
21
- beforeBlockComment: true,
22
- beforeLineComment: true,
23
- allowBlockStart: true,
24
- allowObjectStart: true,
25
- allowArrayStart: true,
26
- allowClassStart: true,
27
- allowInterfaceStart: true,
28
- allowTypeStart: true,
29
- allowEnumStart: true,
30
- allowModuleStart: true
31
- }],
32
20
  "@stylistic/line-comment-position": ["error", "above"],
33
21
  "@stylistic/padding-line-between-statements": [
34
22
  "error",
@@ -63,15 +51,6 @@ const config = (0, eslint_config.defineConfig)([{
63
51
  maxEOF: 0
64
52
  }]
65
53
  }
66
- }, (
67
- /**
68
- * Disable lines-around-comment for JSX/TSX files.
69
- * The rule lacks AST support for JSX-specific contexts, causing
70
- * unresolvable conflicts with Prettier.
71
- */
72
- {
73
- files: ["**/*.{tsx,jsx}"],
74
- rules: { "@stylistic/lines-around-comment": "off" }
75
- })]);
54
+ }]);
76
55
  //#endregion
77
56
  exports.config = config;
@@ -15,18 +15,6 @@ const config = defineConfig([{
15
15
  rules: {
16
16
  "@stylistic/multiline-comment-style": ["error", "starred-block"],
17
17
  "@stylistic/spaced-comment": ["error", "always"],
18
- "@stylistic/lines-around-comment": ["error", {
19
- beforeBlockComment: true,
20
- beforeLineComment: true,
21
- allowBlockStart: true,
22
- allowObjectStart: true,
23
- allowArrayStart: true,
24
- allowClassStart: true,
25
- allowInterfaceStart: true,
26
- allowTypeStart: true,
27
- allowEnumStart: true,
28
- allowModuleStart: true
29
- }],
30
18
  "@stylistic/line-comment-position": ["error", "above"],
31
19
  "@stylistic/padding-line-between-statements": [
32
20
  "error",
@@ -61,15 +49,6 @@ const config = defineConfig([{
61
49
  maxEOF: 0
62
50
  }]
63
51
  }
64
- }, (
65
- /**
66
- * Disable lines-around-comment for JSX/TSX files.
67
- * The rule lacks AST support for JSX-specific contexts, causing
68
- * unresolvable conflicts with Prettier.
69
- */
70
- {
71
- files: ["**/*.{tsx,jsx}"],
72
- rules: { "@stylistic/lines-around-comment": "off" }
73
- })]);
52
+ }]);
74
53
  //#endregion
75
54
  export { config };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abinnovision/eslint-config-base",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "publishConfig": {
5
5
  "npm": true,
6
6
  "ghpr": true,