@fjall/eslint-plugin
v2.27.0
Published
ESLint plugin with Fjall-specific coding standard rules
Readme
@fjall/eslint-plugin
Flat-config ESLint plugin holding Fjall's internal coding-standard rules (credential masking, Zod strictness, tenant-isolation, AWS-SDK abort hygiene, CDK construct invariants, and more).
It is the single source of truth shared between the Fjall monorepo and the Fjall web app — the web app consumes it from npm because it builds without a monorepo checkout. The rules encode Fjall-specific conventions and are not intended for use outside Fjall projects.
Usage
// eslint.config.mjs (flat config)
import fjall from "@fjall/eslint-plugin";
export default [
{
plugins: { fjall },
rules: {
"fjall/zod-strict-required": "error",
"fjall/mask-error-message-at-boundary": "error"
// … enable the rules you need
}
}
];Every rule lives in its own file (<rule-name>.js); index.js is the barrel
exposing them all under the rules map.
