Overview of Qwik ESLint Rules
mainQwik provides a dedicated set of ESLint rules designed to help developers write better code and avoid common pitfalls specific to the Qwik framework. The rules are organized into two main rulesets:
- recommended: Contains rules that are either enabled as Errors or Warnings.
- strict: Contains more stringent rules, often enabled as Warnings or Errors to enforce best practices.
Rules help detect invalid use of hooks, ensure proper serialization in $ scopes, and enforce performance and SEO best practices (like providing dimensions for images or href for anchors).