Skip to content

@pondoknusa/lint

Static and request-level linter for Pondoknusa applications (routes, auth, CSRF)

Install

bash
npm install @pondoknusa/lint @pondoknusa/database

Peer dependencies must be installed in the app (they are not auto-installed on older npm). Drivers that call extend() share one instance of the host package.

Metadata

FieldValue
Version3.4.0
Sourcepackages/lint
CategoryOther packages
Node.js>=26

Peer dependencies

Pondoknusa dependencies

Public exports

From the package entry point (dist/index.d.ts). Deep imports are not supported.

Values

  • DEFAULT_CSRF_EXCEPT
  • DiscoveredRoute
  • LintApplicationResult
  • LintIssue
  • LintOptions
  • LintRule
  • LintSeverity
  • ProjectConfig
  • ProjectDiscovery
  • ProjectInfo
  • STRICT_ONLY_RULES
  • buildCsrfRuntimeProbes
  • discoverProject
  • findProjectRoot
  • isNestedApiPath
  • issueSeverity
  • lintApplication
  • lintCsrfRuntime
  • lintHasErrors
  • pathMatchesCsrfExcept
  • requireProjectRoot
  • resolveLintRuntime
  • resolveLintStrict
  • resolveProject
  • runCsrfRuntimeProbes
  • substitutePathParams

Released under the MIT License.