tsl-dx 0.6.0 → 0.6.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/dist/index.d.ts CHANGED
@@ -38,10 +38,10 @@ declare const noDuplicateExports: (options?: "off" | undefined) => tsl.Rule<unkn
38
38
  */
39
39
  declare const noDuplicateImports: (options?: "off" | undefined) => tsl.Rule<unknown>;
40
40
  //#endregion
41
- //#region src/rules/no-multiline-template-expressions-without-auto-dedent.d.ts
42
- declare const noMultilineTemplateExpressionsWithoutAutoDedent: (options?: "off" | undefined) => tsl.Rule<unknown>;
41
+ //#region src/rules/no-multiline-template-expression-without-auto-dedent.d.ts
42
+ declare const noMultilineTemplateExpressionWithoutAutoDedent: (options?: "off" | undefined) => tsl.Rule<unknown>;
43
43
  //#endregion
44
44
  //#region src/rules/nullish.d.ts
45
45
  declare const nullish: (options?: Record<string, unknown> | "off" | undefined) => tsl.Rule<unknown>;
46
46
  //#endregion
47
- export { noDuplicateExports, noDuplicateImports, noMultilineTemplateExpressionsWithoutAutoDedent, nullish };
47
+ export { noDuplicateExports, noDuplicateImports, noMultilineTemplateExpressionWithoutAutoDedent, nullish };
package/dist/index.js CHANGED
@@ -276,10 +276,10 @@ function getLine(node) {
276
276
  }
277
277
 
278
278
  //#endregion
279
- //#region src/rules/no-multiline-template-expressions-without-auto-dedent.ts
280
- const messages$1 = { default: () => `Avoid using multiline template expressions without auto-dedent` };
281
- const noMultilineTemplateExpressionsWithoutAutoDedent = defineRule(() => ({
282
- name: "dx/no-multiline-template-expressions-without-auto-dedent",
279
+ //#region src/rules/no-multiline-template-expression-without-auto-dedent.ts
280
+ const messages$1 = { default: () => `Avoid using multiline template expression without auto-dedent` };
281
+ const noMultilineTemplateExpressionWithoutAutoDedent = defineRule(() => ({
282
+ name: "dx/no-multiline-template-expression-without-auto-dedent",
283
283
  visitor: { NoSubstitutionTemplateLiteral(ctx, node) {
284
284
  if (node.parent.kind === SyntaxKind.TaggedTemplateExpression) return;
285
285
  const [startLine, endLine] = getLine(node);
@@ -371,4 +371,4 @@ const nullish = defineRule((options) => ({
371
371
  }));
372
372
 
373
373
  //#endregion
374
- export { noDuplicateExports, noDuplicateImports, noMultilineTemplateExpressionsWithoutAutoDedent, nullish };
374
+ export { noDuplicateExports, noDuplicateImports, noMultilineTemplateExpressionWithoutAutoDedent, nullish };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsl-dx",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "A tsl plugin for better JavaScript/TypeScript DX.",
5
5
  "keywords": [
6
6
  "tsl",