Overview of @flint.fyi/react
main@flint.fyi/react package is an experimental Flint plugin designed for React code. It allows developers to integrate Flint's capabilities directly into React applications.repository·main·Indexed 43 days ago
https://github.com/flint-fyi/flintAn experimental, high-performance hybrid linter for JavaScript, TypeScript, and other languages. Flint focuses on developer ergonomics and performance by combining JavaScript/TypeScript rule definitions with native code for bottleneck operations and type-aware caching. It includes a system of experimental plugins for Astro, Next.js, Nuxt, React, SolidJS, CSS, JSX, and browser-side logic.
@flint.fyi/react package is an experimental Flint plugin designed for React code. It allows developers to integrate Flint's capabilities directly into React applications.@flint.fyi/nuxt package is an experimental Flint plugin designed for use within Nuxt applications. It allows developers to integrate Flint's capabilities into the Nuxt ecosystem.Flint is an experimental "hybrid" linter designed for JavaScript, TypeScript, and other languages. It aims to balance developer ergonomics with high performance by combining the ease of writing rules in JavaScript/TypeScript with native code for bottleneck operations and intelligent caching.
Key features include:
Flint is currently in an extremely early stage and experimental phase.
Key considerations for users:
The anchorAmbiguousText rule identifies anchor (<a>) elements that use vague or ambiguous text (such as "click here", "here", "link", or "read more") instead of descriptive text that explains the link's destination. This is critical for accessibility, particularly for screen reader users who navigate via lists of links.
Avoid using generic phrases that provide no context about the target URL:
<a href="/about">click here</a>
<a href="/docs">here</a>
<a href="/contact">link</a>
<a href="/pricing">read more</a>Ensure the link text clearly describes the destination or action:
<a href="/about">About Us</a>
<a href="/docs">View Documentation</a>
<a href="/contact">Contact Information</a>
<a href="/pricing">See Pricing Details</a><a href="/about">About Us</a>@flint.fyi/browser package is an experimental Flint plugin designed specifically for running Flint logic within a browser environment. It allows you to extend browser-based applications with Flint's capabilities.@flint.fyi/jsx package is an experimental Flint plugin designed for working with JSX code. Note that because it is marked as experimental, its API and stability may change.@flint.fyi/solid package is an experimental Flint plugin designed for SolidJS code. It allows you to integrate Flint's capabilities within a SolidJS environment.@flint.fyi/plugin-astro package is an experimental Flint plugin designed for use within Astro codebases. It allows you to integrate Flint capabilities directly into your Astro project.@flint.fyi/next package is an experimental Flint plugin designed for Next.js applications. It allows you to integrate Flint capabilities directly into your Next.js codebase.Flint is an experimental "hybrid" linter designed to combine the approachability of JavaScript/TypeScript-based linters (like ESLint) with the performance of native-speed linters (like Biome or Oxlint).
Flint's core and lint rules are written in TypeScript, but it achieves high performance through several key architectural choices:
typescript-go).createOnce API to improve memory usage and execution time.This architecture aims to provide a developer experience where contributing rules is easy (using TS), while execution remains fast.