@komaci/static-analyzer
TypeScript icon, indicating that this package has built-in type declarations

248.1.10 • Public • Published

Static Analyzer

This library is used to analyze LWC modules for compatibility with Komaci. This is used internally by @komaci/esm-generator to determine if code is valid to encapsulate within a Resolvable Module, and externally by ESLint to aid LWC developers in ensuring their components are written in a way that ensures that Komaci is able to prefetch data for offline-ability and performance.

Rules

There are a number of diagnostic rules that are produced when analyzing an LWC bundle with @komaci/static-analyzer. Diagnostics will be produced for each violation detected within a module bundle.

A detailed breakdown for the rules and how each can be addressed can be found in RULES.md.

Readme

Keywords

none

Package Sidebar

Install

npm i @komaci/static-analyzer

Homepage

komaci.dev/

Weekly Downloads

13

Version

248.1.10

License

MIT

Unpacked Size

206 kB

Total Files

37

Last publish

Collaborators

  • xiaoxugu
  • lwc-admin
  • andrewhuffman