@taiga-ui/eslint-plugin-experience-next 0.546.0 → 0.547.0
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/index.d.ts
CHANGED
|
@@ -208,7 +208,7 @@ declare const plugin: {
|
|
|
208
208
|
'short-tui-imports': import("@typescript-eslint/utils/ts-eslint").RuleModule<"replaceTuiImport", import("./rules/recommended/short-tui-imports").Options, unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
|
|
209
209
|
name: string;
|
|
210
210
|
};
|
|
211
|
-
'single-line-class-property-spacing': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingBlankLineAfterMultilineProperty" | "missingBlankLineAroundAccessor" | "
|
|
211
|
+
'single-line-class-property-spacing': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingBlankLineAfterMultilineProperty" | "missingBlankLineAroundAccessor" | "unexpectedBlankLineBeforeNextSingleLineField", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
|
|
212
212
|
name: string;
|
|
213
213
|
};
|
|
214
214
|
'single-line-let-spacing': import("eslint").Rule.RuleModule & {
|
package/index.esm.js
CHANGED
|
@@ -54893,18 +54893,6 @@ const rule$9 = createRule({
|
|
|
54893
54893
|
});
|
|
54894
54894
|
continue;
|
|
54895
54895
|
}
|
|
54896
|
-
if (isFieldLikeMember(current) &&
|
|
54897
|
-
isFieldLikeMember(next) &&
|
|
54898
|
-
currentIsSingleLine &&
|
|
54899
|
-
!nextIsSingleLine &&
|
|
54900
|
-
!blankLineBetween) {
|
|
54901
|
-
context.report({
|
|
54902
|
-
fix: (fixer) => fixer.replaceTextRange([current.range[1], next.range[0]], getSpacingReplacement(sourceCode, betweenText, next.loc.start.line, 1)),
|
|
54903
|
-
messageId: 'missingBlankLineBeforeMultilineProperty',
|
|
54904
|
-
node: next,
|
|
54905
|
-
});
|
|
54906
|
-
continue;
|
|
54907
|
-
}
|
|
54908
54896
|
if (isFieldLikeMember(current) &&
|
|
54909
54897
|
isFieldLikeMember(next) &&
|
|
54910
54898
|
!currentIsSingleLine &&
|
|
@@ -54927,7 +54915,6 @@ const rule$9 = createRule({
|
|
|
54927
54915
|
messages: {
|
|
54928
54916
|
missingBlankLineAfterMultilineProperty: 'Multiline field-like members should be followed by a blank line before the next field',
|
|
54929
54917
|
missingBlankLineAroundAccessor: 'Getter and setter members should be separated from surrounding fields by a blank line',
|
|
54930
|
-
missingBlankLineBeforeMultilineProperty: 'Multiline field-like members should be preceded by a blank line after single-line fields',
|
|
54931
54918
|
unexpectedBlankLineBeforeNextSingleLineField: 'Single-line fields should not be separated by a blank line before the next single-line field',
|
|
54932
54919
|
},
|
|
54933
54920
|
schema: [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/eslint-plugin-experience-next",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.547.0",
|
|
4
4
|
"description": "An ESLint plugin to enforce a consistent code styles across taiga-ui projects",
|
|
5
5
|
"homepage": "https://github.com/taiga-family/toolkit#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type MessageIds = 'missingBlankLineAfterMultilineProperty' | 'missingBlankLineAroundAccessor' | '
|
|
1
|
+
type MessageIds = 'missingBlankLineAfterMultilineProperty' | 'missingBlankLineAroundAccessor' | 'unexpectedBlankLineBeforeNextSingleLineField';
|
|
2
2
|
export declare const rule: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
|
|
3
3
|
name: string;
|
|
4
4
|
};
|