agentsclimarketplace

Tmdl linter false positives

Skill fabioc-aloha/Alex_Skill_Mall/plugins/data-analytics/tmdl-linter-false-positives

284 curated plugins for AI assistants across 16 categories: security, Azure, documentation, code quality, cloud infrastructure, and more. Works with GitHub Copilot. Drop into .github/skills/local/ and go.

Install
npx -y skills add fabioc-aloha/Alex_Skill_Mall --skill tmdl-linter-false-positives

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

VS Code's TMDL (Tabular Model Definition Language) linter reports valid syntax as errors:

SKILL.md

2.0 KB, 444 tokens by cl100k_base, as published. Nobody here has run it

TMDL Linter False Positives

The Problem

VS Code's TMDL (Tabular Model Definition Language) linter reports valid syntax as errors:

measure 'Total Sales' = SUM('Sales'[Amount])
    description = "Sum of all sales amounts"  // Linter: "Invalid property 'description'"

The description property IS valid — this is a linter limitation.

The Solution

Ignore these specific false positives:

Known False Positives

PropertyContextActual Status
descriptionOn measures✅ Valid
descriptionOn columns✅ Valid
formatStringSome contexts✅ Valid
displayFolderOn measures✅ Valid

Verification

Test in Power BI Desktop or Tabular Editor:

  1. Apply the TMDL
  2. If it loads without error, the syntax is correct
  3. The VS Code linter is wrong, not your code

Workaround Options

Option 1: Ignore the Squiggles

The TMDL will work — the linter is just incomplete.

Option 2: Suppress in Settings

// .vscode/settings.json
{
  "tmdl.validate": false
}

Option 3: Use Tabular Editor

Tabular Editor's TMDL support is more complete.

When Linter IS Correct

ErrorLikely Real
Syntax errors (missing =, unmatched quotes)Yes
Unknown table/column referencesYes
DAX function errorsYes
Property on wrong object typeMaybe

Verification

# Deploy to test
# If no error in Power BI/SSAS, linter was wrong

When to Apply

  • TMDL development in VS Code
  • Any unexpected linter error on common properties
  • When syntax looks correct but shows errors

Tags

data tmdl power-bi linting false-positive

Keep looking

Skills are one crate of 326,970. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.