Shared tooling configs and custom Oxlint rules that encode how 2digits projects write TypeScript and Effect code.
Schema chain:
A single schema expression built from a head schema followed by an ordered sequence of steps, regardless of whether it is written as nested calls, .pipe(...), or pipe(...).
Avoid: Pipeline, schema expression
Schema modifier:
A Schema function that takes one schema and adjusts how it is present, typed, or encoded, without nesting it inside a new structure (optionalKey, NullOr, mutable, RedactedFromValue).
Avoid: Wrapper, combinator
Schema wrapper:
A Schema constructor that takes one schema and puts it inside a new structure, such as a collection or option (Array, ReadonlySet, Option, Redacted).
Avoid: Container, collection constructor, modifier
Data-last step:
A configured Schema function that still awaits the schema it applies to, such as Schema.check(filter) or Schema.brand('UserId').
Avoid: Curried call, operator