IF Commons GitHub

Lint

The lint plugin of Intellectual Frontiers, in the ESLint plugin format that bun lint --plugin loads, named ifc: the rules every harness wants (no vendor API, no registry or URL import, a relative import that stays in its package, a module block in every file, absurd in every switch over a union, no write to the terminal outside a list), each taking its lists from its options, the typed way to define a rule of a harness's own (defineRule) and the way to prove a rule against the real linter (lintFiles). It depends on core, formats and system. Published to npm as compiled modules with their declarations.

FactValue
Version0.2.5
Conformance levelL1
Distributedgithub, npm
LicensePolyForm-Noncommercial-1.0.0, source-available: free for noncommercial use, commercial use needs a license from the owner (see Licensing in Start here)
Import it as@intellectual-frontiers/lint

Areas

Imports

Core, Formats, System

Specifications

NumberSpecificationRequirements
0001Lint10

Folders

FolderWhat it isMay import
spec-kit/The library's own specifications, numbered from 0001.nothing: Markdown and TSV
src/plugin.ts, the plugin, rule.ts, the typed way to define a rule, test-rule.ts, the way to run a rule against code in a test, and rules/, the rules.node: builtins; src/; core, formats and system, by package name
suite/The tests of the library, each rule against code it must refuse and code it must accept, run by the real bun lint.src/; core, system and test, by package name
tools/The trace check and the packer bun run verify runs.the kernel, the runtime and the packer of commons, by package name

Quality

Quality: 9 tests: 1 passed, 0 failed, 8 skipped, 1 of 10 requirements proved, 0 open issues, 0 open tickets. The tests and issues of the library

Titles, headings, exports, tables, columns and requirements. Esc closes.