Skip to content

⬅️ Back to Table of Contents

📄 noFormat

📊 Analysis Summary

Metric Count
🔧 Functions 1

📚 Table of Contents

🛠️ File Location:

📂 packages/rule-tester/src/noFormat.ts

Functions

noFormat(raw: TemplateStringsArray, keys: string[]): string

Simple no-op tag to mark code samples as "should not format with prettier" for the plugin-test-formatting lint rule

Raw JSDoc
/**
 * Simple no-op tag to mark code samples as "should not format with prettier"
 *   for the plugin-test-formatting lint rule
 */

Calls:

  • String.raw
Code
export function noFormat(raw: TemplateStringsArray, ...keys: string[]): string {
  return String.raw({ raw }, ...keys);
}

Generated by Syntax Scribe