@imp/rules/imp/luau

Module: @imp/rules/imp/luau.

luau_analyzer_toolchain(version, options)

Declare a Luau analyzer version for Imp authoring sources.

  • Parameter version — Release version.
  • Parameter options — Optional default, lockfile, and unverified settings. Returns: The version, lockfile address, and GEN_LOCKFILES root.

Source: rules/imp/luau/index.luau:92.

luau_sources(options)

Declare format and lint roots for Imp authoring sources.

  • Parameter options — Source patterns in srcs, optional base, and exclude patterns. Returns: A frozen table with sources, FMT, and LINT roots.

Source: rules/imp/luau/index.luau:65.

stylua_toolchain(version, options)

Declare a StyLua version for Imp authoring sources.

  • Parameter version — Release version without the v prefix.
  • Parameter options — Optional default, lockfile, and unverified settings. Returns: The version, lockfile address, and GEN_LOCKFILES root.

Source: rules/imp/luau/index.luau:83.