@abinnovision/eslint-config-base 3.2.1-beta.5 → 3.2.2-beta.1
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.1](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v3.2.0...eslint-config-base-v3.2.1) (2026-03-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* disable lines-around-comment rule for JSX/TSX files due to Prettier conflicts ([#591](https://github.com/abinnovision/js-commons/issues/591)) ([dcd975b](https://github.com/abinnovision/js-commons/commit/dcd975bfea406a2eed54ecb884cafd817e169aa3))
|
|
9
|
+
|
|
3
10
|
## [3.2.0](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v3.1.0...eslint-config-base-v3.2.0) (2026-03-08)
|
|
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 };
|