rintenki 0.4.0 → 0.6.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/README.md CHANGED
@@ -118,6 +118,7 @@ rintenki supports non-HTML files via optional parser plugins.
118
118
  | `@rintenki/vue-parser` | Vue SFC (`.vue`) | `npm install @rintenki/vue-parser` |
119
119
  | `@rintenki/jsx-parser` | JSX/TSX (`.jsx`, `.tsx`) | `npm install @rintenki/jsx-parser` |
120
120
  | `@rintenki/erb-parser` | eRuby (`.erb`) | `npm install @rintenki/erb-parser` |
121
+ | `@rintenki/astro-parser` | Astro (`.astro`) | `npm install @rintenki/astro-parser` |
121
122
 
122
123
  Parsers are auto-detected from installed packages, or can be explicitly configured in `.rintenkirc.json`.
123
124
 
@@ -126,6 +127,7 @@ Parsers are auto-detected from installed packages, or can be explicitly configur
126
127
  - **Vue**: Extracts `<template>` block via `@vue/compiler-sfc`, masks `{{ }}` interpolations
127
128
  - **JSX/TSX**: Parses AST via `oxc-parser` (Rust), extracts HTML elements, maps React attributes (`className` → `class`)
128
129
  - **eRuby**: Masks `<% %>` tags with same-length placeholders, preserving line numbers
130
+ - **Astro**: Strips frontmatter (`---...---`), masks `{expression}` with nested brace support
129
131
 
130
132
  ## Rules
131
133
 
@@ -258,6 +260,7 @@ code . # Open project root in VS Code
258
260
  | `@rintenki/vue-parser` | Vue SFC parser plugin |
259
261
  | `@rintenki/jsx-parser` | JSX/TSX parser plugin |
260
262
  | `@rintenki/erb-parser` | eRuby parser plugin |
263
+ | `@rintenki/astro-parser` | Astro parser plugin |
261
264
 
262
265
  ## Supported Platforms
263
266
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rintenki",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "description": "A fast HTML linter powered by html5ever + napi-rs",
5
5
  "author": "Kazuhiro Kobayashi <https://github.com/kzhrk>",
6
6
  "license": "MIT",
Binary file
Binary file