Skip to content

v1.17.7 - Embed fixed eslint-plugin

Choose a tag to compare

@Tefx Tefx released this 06 Jan 03:34
· 1387 commits to Main since this release

Fix

  • @invar/require-jsdoc-example: Embedded updated eslint-plugin with fix for exported async functions
    • Issue: Embedded version in invar-tools was outdated (previously 0.1.0)
    • Fix: Now includes updated rule from typescript/packages/eslint-plugin@0.1.1
    • New selector: `ExportNamedDeclaration > FunctionDeclaration`
    • JSDoc comments now correctly checked from parent `ExportNamedDeclaration` node

Technical Details

When `uvx invar-tools guard` runs, it uses the embedded ESLint plugin at `src/invar/node_tools/eslint-plugin/`. The embedded version must be rebuilt from source when the TypeScript package is updated.

Related

  • Previous fix: v1.17.6 (TypeScript source code)
  • This release: v1.17.7 (Embedded Python package)
  • TypeScript eslint-plugin version: 0.1.1