Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
command
|
|
|
cohere
command
Command cohere type-checks, lints, fixes, and formats a TypeScript codebase in one process, over one AST, against one type graph.
|
Command cohere type-checks, lints, fixes, and formats a TypeScript codebase in one process, over one AST, against one type graph. |
|
cohere-dev
command
Command cohere-dev runs the house's heavy Go work within the machine's budget (#3kr3x59, #qhg0ntb).
|
Command cohere-dev runs the house's heavy Go work within the machine's budget (#3kr3x59, #qhg0ntb). |
|
cohere-differential
command
Command cohere-differential runs both gates over one tree and reports where they disagree.
|
Command cohere-differential runs both gates over one tree and reports where they disagree. |
|
cohere-dispatch
command
Command cohere-dispatch is the shim that `node_modules/.bin/cohere` runs.
|
Command cohere-dispatch is the shim that `node_modules/.bin/cohere` runs. |
|
cohere-release
command
Command cohere-release stages every published package for one version: a binary package per platform, and the dispatcher package that resolves between them.
|
Command cohere-release stages every published package for one version: a binary package per platform, and the dispatcher package that resolves between them. |
|
formatter_comparison
command
Command formatdiff measures typescript-go's formatter against an already-Prettier-formatted tree and reports the taxonomy of what differs.
|
Command formatdiff measures typescript-go's formatter against an already-Prettier-formatted tree and reports the taxonomy of what differs. |
|
internal
|
|
|
benchresults
Package benchresults is the recorded form of a bench/quiet_machine.sh run: one JSON file per run in bench/results, committed, which the website's benchmarks page reads (#rwgs6j2, for #7tmkt32).
|
Package benchresults is the recorded form of a bench/quiet_machine.sh run: one JSON file per run in bench/results, committed, which the website's benchmarks page reads (#rwgs6j2, for #7tmkt32). |
|
benchresults/tools/record
command
Command record writes one bench/quiet_machine.sh run to bench/results as a validated record (internal/benchresults).
|
Command record writes one bench/quiet_machine.sh run to bench/results as a validated record (internal/benchresults). |
|
benchresults/tools/runoutput
command
Command runoutput prints what one measured run said about itself, read from its `--json` output (benchresults.ParseRunOutput), as quiet_machine.sh's columns: engine seconds, findings and cache use, tab-separated.
|
Command runoutput prints what one measured run said about itself, read from its `--json` output (benchresults.ParseRunOutput), as quiet_machine.sh's columns: engine seconds, findings and cache use, tab-separated. |
|
corpus
Package corpus names the code outside this repository that some tests read, and is the only way a test finds it (#sycrdr6).
|
Package corpus names the code outside this repository that some tests read, and is the only way a test finds it (#sycrdr6). |
|
differential
Acknowledged differences are the ones we decided on purpose.
|
Acknowledged differences are the ones we decided on purpose. |
|
docsdata
Package docsdata generates the data the cohere website (system.inc/cohere) is built from, from the sources the binary itself is built from, so the site can never say something the binary does not do.
|
Package docsdata generates the data the cohere website (system.inc/cohere) is built from, from the sources the binary itself is built from, so the site can never say something the binary does not do. |
|
docsdata/capture
Package capture is the record the lint test harness writes for the docs generator: one case a rule's test asserted, with the source it ran on and what the rule did there.
|
Package capture is the record the lint test harness writes for the docs generator: one case a rule's test asserted, with the source it ran on and what the rule did there. |
|
docsdata/tools/generate
command
Command generate writes the website's data (internal/docsdata) into the module's docs/data/ directory.
|
Command generate writes the website's data (internal/docsdata) into the module's docs/data/ directory. |
|
edit
Package fix applies the repairs rules propose, and refuses the ones that would corrupt a file.
|
Package fix applies the repairs rules propose, and refuses the ones that would corrupt a file. |
|
format/arena
Package arena hands out values from chunks of memory that are kept and reused, for the trees a format builds and drops one file at a time (#93dpede).
|
Package arena hands out values from chunks of memory that are kept and reused, for the trees a format builds and drops one file at a time (#93dpede). |
|
format/comparison
Package formatdiff measures typescript-go's formatter against the Prettier fork that formats this codebase today.
|
Package formatdiff measures typescript-go's formatter against the Prettier fork that formats this codebase today. |
|
format/css/mediaquery
Package mediaquery is postcss-media-query-parser 0.2.3 (dist/), the parser Prettier's src/language-css/parse/parse-media-query.js runs on the params of @media and @custom-media.
|
Package mediaquery is postcss-media-query-parser 0.2.3 (dist/), the parser Prettier's src/language-css/parse/parse-media-query.js runs on the params of @media and @custom-media. |
|
format/css/postcss
Package postcss is postcss 8.5.16's CSS parser ported to Go: lib/tokenize.js, lib/parser.js and lib/parse.js, with the parts of lib/input.js, lib/css-syntax-error.js and the node classes they need.
|
Package postcss is postcss 8.5.16's CSS parser ported to Go: lib/tokenize.js, lib/parser.js and lib/parse.js, with the parts of lib/input.js, lib/css-syntax-error.js and the node classes they need. |
|
format/css/selector
Package selector is postcss-selector-parser 2.2.3, the selector parser Prettier's CSS printer reads: dist/processor.js, dist/parser.js, dist/tokenize.js and dist/selectors/*.js, ported to Go.
|
Package selector is postcss-selector-parser 2.2.3, the selector parser Prettier's CSS printer reads: dist/processor.js, dist/parser.js, dist/tokenize.js and dist/selectors/*.js, ported to Go. |
|
format/css/values
Package values ports postcss-values-parser 2.0.1 (lib/parser.js, lib/tokenize.js and the node classes), the parser Prettier's language-css hands declaration values and some at-rule params to.
|
Package values ports postcss-values-parser 2.0.1 (lib/parser.js, lib/tokenize.js and the node classes), the parser Prettier's language-css hands declaration values and some at-rule params to. |
|
format/differential
Package differential measures a candidate formatter against the Prettier fork, byte for byte, over real corpora.
|
Package differential measures a candidate formatter against the Prettier fork, byte for byte, over real corpora. |
|
format/doc
Package doc is Prettier's document IR and layout algorithm, ported to Go.
|
Package doc is Prettier's document IR and layout algorithm, ported to Go. |
|
format/doc/tools/generate_string_width
command
Command generate_string_width captures the three tables Prettier's getStringWidth depends on, from the exact package versions the fork bundles, and writes them as Go.
|
Command generate_string_width captures the three tables Prettier's getStringWidth depends on, from the exact package versions the fork bundles, and writes them as Go. |
|
format/estree
Package estree is the ESTree tree Prettier's JavaScript printer reads, built from typescript-go's AST.
|
Package estree is the ESTree tree Prettier's JavaScript printer reads, built from typescript-go's AST. |
|
format/formatfiles
Package formatfiles decides which files a tree offers the formatter: the walk, its ignore layers (git's ignore files, the house list, the project's ignorePatterns), and an account of every file it did not offer.
|
Package formatfiles decides which files a tree offers the formatter: the walk, its ignore layers (git's ignore files, the house list, the project's ignorePatterns), and an account of every file it did not offer. |
|
format/formatoptions
Package formatoptions is what a file formats with: the options, Prettier's names for them, and how a directory resolves them from its repository's config.
|
Package formatoptions is what a file formats with: the options, Prettier's names for them, and how a directory resolves them from its repository's config. |
|
format/graphql
Package graphql is Prettier's GraphQL language: graphql-js's parser, ported here, and Prettier's printer-graphql, ported beside it.
|
Package graphql is Prettier's GraphQL language: graphql-js's parser, ported here, and Prettier's printer-graphql, ported beside it. |
|
format/javascript
Package javascript is Prettier's JavaScript and TypeScript printer, src/language-js in the fork, ported to Go over the ESTree tree internal/format/estree builds.
|
Package javascript is Prettier's JavaScript and TypeScript printer, src/language-js in the fork, ported to Go over the ESTree tree internal/format/estree builds. |
|
format/markdown
Package markdown is Prettier's markdown printer (src/language-markdown) for the markdown parser, ported to Go over the tree internal/format/markdown/mdast builds with the same parser the fork runs.
|
Package markdown is Prettier's markdown printer (src/language-markdown) for the markdown parser, ported to Go over the tree internal/format/markdown/mdast builds with the same parser the fork runs. |
|
format/markdown/mdast
Package mdast is the syntax tree Prettier's markdown printer reads, and mdast-util-from-markdown, the compiler that builds it from micromark's events.
|
Package mdast is the syntax tree Prettier's markdown printer reads, and mdast-util-from-markdown, the compiler that builds it from micromark's events. |
|
format/markdown/micromark
Package micromark is micromark 4, the markdown tokenizer Prettier's markdown parser runs, ported to Go.
|
Package micromark is micromark 4, the markdown tokenizer Prettier's markdown parser runs, ported to Go. |
|
format/markdown/micromark/tools/generate_characters
command
Command generate_characters captures micromark's two Unicode character classes from the bundle the oracle runs, and writes them as Go.
|
Command generate_characters captures micromark's two Unicode character classes from the bundle the oracle runs, and writes them as Go. |
|
format/markdown/micromark/tools/generate_entities
command
Command generate_entities captures the HTML named character references micromark decodes, from the table the oracle's bundle carries, and writes them as Go.
|
Command generate_entities captures the HTML named character references micromark decodes, from the table the oracle's bundle carries, and writes them as Go. |
|
format/markdown/tools/generate_classes
command
Command generate_classes captures the character classes Prettier's markdown printer splits and wraps text by, from the bundle the oracle runs, and writes them as Go.
|
Command generate_classes captures the character classes Prettier's markdown printer splits and wraps text by, from the bundle the oracle runs, and writes them as Go. |
|
format/markdown/tools/generate_languages
command
Command generate_languages captures the languages markdown's embed infers a parser from, from the bundles the oracle runs, and writes them as Go.
|
Command generate_languages captures the languages markdown's embed infers a parser from, from the bundles the oracle runs, and writes them as Go. |
|
format/native
Package native is cohere's own formatter: the printers that replace Prettier, routed by file type.
|
Package native is cohere's own formatter: the printers that replace Prettier, routed by file type. |
|
format/oracletest
Package oracletest keeps what the embedded Prettier answered for a test's fixtures in a checked-in golden file, so the test compares bytes and runs no JavaScript (#nxgt2ca).
|
Package oracletest keeps what the embedded Prettier answered for a test's fixtures in a checked-in golden file, so the test compares bytes and runs no JavaScript (#nxgt2ca). |
|
format/prettier
Package prettier formats source by running our own Prettier fork inside a JavaScript engine.
|
Package prettier formats source by running our own Prettier fork inside a JavaScript engine. |
|
format/printing
Package printing is Prettier's print core, shared by every native printer in cohere: AstPath, the print driver that wraps each node's doc in its comments, comment attachment, and embedding.
|
Package printing is Prettier's print core, shared by every native printer in cohere: AstPath, the print driver that wraps each node's doc in its comments, comment attachment, and embedding. |
|
format/yaml
Package yaml is Prettier's YAML printer (src/language-yaml) ported to Go, printing the tree internal/format/yaml/unist describes: yaml-unist-parser's, over eemeli/yaml.
|
Package yaml is Prettier's YAML printer (src/language-yaml) ported to Go, printing the tree internal/format/yaml/unist describes: yaml-unist-parser's, over eemeli/yaml. |
|
format/yaml/compose
Package compose is eemeli/yaml 2.9.0's composer, dist/compose/, ported to Go with the node classes it builds (dist/nodes/), the parts of dist/doc/ it runs (the Document constructor and setSchema, the Directives), and the schemas it resolves tags against (dist/schema/: the core schema, the common map, seq, string and null tags, and the YAML 1.1 schema, which a %YAML 1.1 directive selects and six of whose tags the core schema reaches as known tags).
|
Package compose is eemeli/yaml 2.9.0's composer, dist/compose/, ported to Go with the node classes it builds (dist/nodes/), the parts of dist/doc/ it runs (the Document constructor and setSchema, the Directives), and the schemas it resolves tags against (dist/schema/: the core schema, the common map, seq, string and null tags, and the YAML 1.1 schema, which a %YAML 1.1 directive selects and six of whose tags the core schema reaches as known tags). |
|
format/yaml/cst
Package cst is eemeli/yaml 2.9.0's concrete syntax tree parser, dist/parse/, ported to Go: the lexer (lexer.js), the parser (parser.js), the token types and tokenType (cst.js), and the LineCounter (line-counter.js).
|
Package cst is eemeli/yaml 2.9.0's concrete syntax tree parser, dist/parse/, ported to Go: the lexer (lexer.js), the parser (parser.js), the token types and tokenType (cst.js), and the LineCounter (line-counter.js). |
|
format/yaml/unist
Package unist is the syntax tree Prettier's YAML printer reads: yaml-unist-parser 3.2.0's tree, built over the documents eemeli/yaml 2.9.0 composes.
|
Package unist is the syntax tree Prettier's YAML printer reads: yaml-unist-parser 3.2.0's tree, built over the documents eemeli/yaml 2.9.0 composes. |
|
gitignore
Package gitignore decides which paths a repository's ignore files exclude, the way git decides it, without running git.
|
Package gitignore decides which paths a repository's ignore files exclude, the way git decides it, without running git. |
|
lint/checking
Source: tsgolint `internal/utilities/builtin_symbol_likes.go`.
|
Source: tsgolint `internal/utilities/builtin_symbol_likes.go`. |
|
lint/checking/flow
Package flow finds every place a value of one type is put into a slot of another, and relates the two part by part.
|
Package flow finds every place a value of one type is put into a slot of another, and relates the two part by part. |
|
lint/configuration
Package config decides which rules apply to which files.
|
Package config decides which rules apply to which files. |
|
lint/ecmascript/binding
Package binding answers whether an identifier names something this file chose.
|
Package binding answers whether an identifier names something this file chose. |
|
lint/ecmascript/classmembers
Package classmembers answers which members of a class collide with each other.
|
Package classmembers answers which members of a class collide with each other. |
|
lint/ecmascript/consistentreturn
Package consistentreturn answers whether the `return` statements in one function agree about carrying a value, and where to point when they do not.
|
Package consistentreturn answers whether the `return` statements in one function agree about carrying a value, and where to point when they do not. |
|
lint/ecmascript/control_flow_graph
Vendored from web-infra-dev/rslint, `internal/utilities/cfg`, at commit 44956a0c53201157aaf5bc19e1c2728896c83ec4.
|
Vendored from web-infra-dev/rslint, `internal/utilities/cfg`, at commit 44956a0c53201157aaf5bc19e1c2728896c83ec4. |
|
lint/ecmascript/decorators
Package decorators reads TypeScript decorators and the declared/actual nullability that the decorator parity rules compare.
|
Package decorators reads TypeScript decorators and the declared/actual nullability that the decorator parity rules compare. |
|
lint/ecmascript/descriptor
Package descriptor answers whether a function is the `get` or `set` of a property descriptor passed to one of the platform methods that read descriptors: `Object.defineProperty`, `Object.defineProperties`, `Object.create` and `Reflect.defineProperty`.
|
Package descriptor answers whether a function is the `get` or `set` of a property descriptor passed to one of the platform methods that read descriptors: `Object.defineProperty`, `Object.defineProperties`, `Object.create` and `Reflect.defineProperty`. |
|
lint/ecmascript/directives
Package directives is the grammar of suppression comments, and the short list of rules whose findings are about those comments.
|
Package directives is the grammar of suppression comments, and the short list of rules whose findings are about those comments. |
|
lint/ecmascript/dotnotation
Package dotnotation is the judgment behind `dot-notation`: which bracket accesses with a literal key read better as dot accesses, which dot accesses must be bracketed when keywords are disallowed, and the repairs for both.
|
Package dotnotation is the judgment behind `dot-notation`: which bracket accesses with a literal key read better as dot accesses, which dot accesses must be bracketed when keywords are disallowed, and the repairs for both. |
|
lint/ecmascript/high_level_intermediate_representation
Making a method call and its property agree about scopes.
|
Making a method call and its property agree about scopes. |
|
lint/ecmascript/imports
Package imports answers where a file's imports come from, in every shape the language allows.
|
Package imports answers where a file's imports come from, in every shape the language allows. |
|
lint/ecmascript/jsx
Package jsx answers the questions a rule asks about a JSX element: what tag it names, what attributes it writes, and what a given attribute's text is.
|
Package jsx answers the questions a rule asks about a JSX element: what tag it names, what attributes it writes, and what a given attribute's text is. |
|
lint/ecmascript/literal
Package literal answers questions about the text a string literal holds, where the bytes on disk and the value the program receives are two different strings.
|
Package literal answers questions about the text a string literal holds, where the bytes on disk and the value the program receives are two different strings. |
|
lint/ecmascript/module
Package module answers questions about how a file exposes its declarations.
|
Package module answers questions about how a file exposes its declarations. |
|
lint/ecmascript/module_roots
Package module_roots decides which files are alive with no importer: a framework loads them by filename, a test runner by glob, a computed `import()` by directory.
|
Package module_roots decides which files are alive with no importer: a framework loads them by filename, a test runner by glob, a computed `import()` by directory. |
|
lint/ecmascript/nextjs
Package nextjs answers which Next.js file a path is, for the rules that gate on it.
|
Package nextjs answers which Next.js file a path is, for the rules that gate on it. |
|
lint/ecmascript/property
Package property answers what property a key or a member access names, when the syntax settles it without evaluation.
|
Package property answers what property a key or a member access names, when the syntax settles it without evaluation. |
|
lint/ecmascript/react
Package react answers the questions a rule asks about React code that are not questions about JSX: is this call constructing an element, is this a component, which component encloses this.
|
Package react answers the questions a rule asks about React code that are not questions about JSX: is this call constructing an element, is this a component, which component encloses this. |
|
lint/ecmascript/reference
Package reference answers what an identifier occurrence does to the binding it names.
|
Package reference answers what an identifier occurrence does to the binding it names. |
|
lint/ecmascript/regexp
Package regexp compiles a JavaScript regexp the way JavaScript reads it.
|
Package regexp compiles a JavaScript regexp the way JavaScript reads it. |
|
lint/ecmascript/regexpattern
Package regexpattern walks a regular expression pattern and reports each character it matches, with the structure enclosing it.
|
Package regexpattern walks a regular expression pattern and reports each character it matches, with the structure enclosing it. |
|
lint/ecmascript/regexsyntax
cspell:ignore octals
|
cspell:ignore octals |
|
lint/ecmascript/scope
Package scope answers which construct encloses a node.
|
Package scope answers which construct encloses a node. |
|
lint/ecmascript/text
Package text holds string measurements that are not specific to any language we lint.
|
Package text holds string measurements that are not specific to any language we lint. |
|
lint/ecmascript/tokens
Package tokens is a node's tokens, comments and whitespace excluded, and the questions ESLint's SourceCode asks of them: getTokenBefore, getTokenAfter and getFirstTokenBetween.
|
Package tokens is a node's tokens, comments and whitespace excluded, and the questions ESLint's SourceCode asks of them: getTokenBefore, getTokenAfter and getFirstTokenBetween. |
|
lint/housesets
Package housesets decides, from the program, which house sets a zero-config run applies where (#bfxz13m, #j6p9t1g).
|
Package housesets decides, from the program, which house sets a zero-config run applies where (#bfxz13m, #j6p9t1g). |
|
lint/linter
Package linter walks source files once and dispatches every rule against them.
|
Package linter walks source files once and dispatches every rule against them. |
|
lint/optionschema
Package optionschema holds every ported rule's upstream options schema and checks a config's options against it, so cohere accepts exactly the option shapes ESLint accepts and refuses the rest (#pd2chkx).
|
Package optionschema holds every ported rule's upstream options schema and checks a config's options against it, so cohere accepts exactly the option shapes ESLint accepts and refuses the rest (#pd2chkx). |
|
lint/registry
Package registry is the list of every rule cohere knows.
|
Package registry is the list of every rule cohere knows. |
|
lint/report
Package report turns findings into what a person reads, and says what was covered.
|
Package report turns findings into what a person reads, and says what was covered. |
|
lint/rule
Package rule defines what a rule is and how it speaks.
|
Package rule defines what a rule is and how it speaks. |
|
lint/rules/base
Package base holds the rules that check Base's own conventions.
|
Package base holds the rules that check Base's own conventions. |
|
lint/rules/boundaries
Package boundaries holds cohere's port of eslint-plugin-boundaries, which checks which parts of a codebase may import which.
|
Package boundaries holds cohere's port of eslint-plugin-boundaries, which checks which parts of a codebase may import which. |
|
lint/rules/core
Package core ports ESLint's own core rules, the ones that guard JavaScript rather than any convention of ours.
|
Package core ports ESLint's own core rules, the ones that guard JavaScript rather than any convention of ours. |
|
lint/rules/next
Package next holds the rules from `@next/eslint-plugin-next`, ported from Vercel's originals.
|
Package next holds the rules from `@next/eslint-plugin-next`, ported from Vercel's originals. |
|
lint/rules/nexus
Package nexus holds the rules that describe how Nexus code reads, ported from the TypeScript originals in ahra's libraries/structure/libraries/nexus/code-quality/lint/rules.
|
Package nexus holds the rules that describe how Nexus code reads, ported from the TypeScript originals in ahra's libraries/structure/libraries/nexus/code-quality/lint/rules. |
|
lint/rules/react
Package react holds the ported `eslint-plugin-react` rules.
|
Package react holds the ported `eslint-plugin-react` rules. |
|
lint/rules/react/conformance
Package react_conformance scores an implementation against React's own compiler error fixtures.
|
Package react_conformance scores an implementation against React's own compiler error fixtures. |
|
lint/rules/react/tools/vendor_fixtures
command
Command vendor_fixtures re-pulls React's error-named compiler fixtures at a chosen commit.
|
Command vendor_fixtures re-pulls React's error-named compiler fixtures at a chosen commit. |
|
lint/rules/structure
Package structure holds the rules for this project's own conventions, as opposed to the language rules in core and the cross-cutting ones in nexus.
|
Package structure holds the rules for this project's own conventions, as opposed to the language rules in core and the cross-cutting ones in nexus. |
|
lint/rules/tailwind
The live candidate split: a class broken into the pieces that decide whether it can merge, using this repository's own roots.
|
The live candidate split: a class broken into the pieces that decide whether it can merge, using this repository's own roots. |
|
lint/rules/tailwind/collapse
decodeArbitraryValue and isValidArbitrary: the two functions every arbitrary bracket in a class string is routed through before the candidate parser will look at it.
|
decodeArbitraryValue and isValidArbitrary: the two functions every arbitrary bracket in a class string is routed through before the candidate parser will look at it. |
|
lint/rules/tailwind/tools/generate_candidate
command
Command generate_candidate captures candidate readings from the real Tailwind candidate parser, so that the Go port in internal/lint/rules/tailwind/collapse/candidate.go is tested against measurements rather than against a reading of the TypeScript source.
|
Command generate_candidate captures candidate readings from the real Tailwind candidate parser, so that the Go port in internal/lint/rules/tailwind/collapse/candidate.go is tested against measurements rather than against a reading of the TypeScript source. |
|
lint/rules/tailwind/tools/generate_class_literals
command
Command generate_class_literals asks better-tailwindcss itself what it reads as a class string (#btxd64n), and writes two files from its answers:
|
Command generate_class_literals asks better-tailwindcss itself what it reads as a class string (#btxd64n), and writes two files from its answers: |
|
lint/rules/tailwind/tools/generate_class_order
command
Command generate_class_order captures the Tier 2 differential fixture: `{order, count}` for every class in every design system, as the shipped Tailwind engine computes it, together with the per-repository tables the Go side needs to answer the same question.
|
Command generate_class_order captures the Tier 2 differential fixture: `{order, count}` for every class in every design system, as the shipped Tailwind engine computes it, together with the per-repository tables the Go side needs to answer the same question. |
|
lint/rules/tailwind/tools/generate_collapse
command
Command generate_collapse regenerates the Tailwind collapse table from the installed Tailwind.
|
Command generate_collapse regenerates the Tailwind collapse table from the installed Tailwind. |
|
lint/rules/tailwind/tools/generate_css_parser
command
Command generate_css_parser captures parse trees from the real Tailwind CSS parser, so that the Go port in internal/lint/rules/tailwind/collapse/cssparser.go is tested against measurements rather than against a reading of the TypeScript source.
|
Command generate_css_parser captures parse trees from the real Tailwind CSS parser, so that the Go port in internal/lint/rules/tailwind/collapse/cssparser.go is tested against measurements rather than against a reading of the TypeScript source. |
|
lint/rules/tailwind/tools/generate_data_type
command
Command generate_data_type captures what the real Tailwind engine infers for a corpus of CSS value shapes, so that the Go port in internal/tailwind can be tested against measurements rather than against a reading of the TypeScript source.
|
Command generate_data_type captures what the real Tailwind engine infers for a corpus of CSS value shapes, so that the Go port in internal/tailwind can be tested against measurements rather than against a reading of the TypeScript source. |
|
lint/rules/tailwind/tools/generate_descriptor_base
command
Command generate_descriptor_base prints the framework-invariant half of the descriptor table into shipped Go, so a design system can be given a descriptor Table without a checked-in fixture.
|
Command generate_descriptor_base prints the framework-invariant half of the descriptor table into shipped Go, so a design system can be given a descriptor Table without a checked-in fixture. |
|
lint/rules/tailwind/tools/generate_descriptor_table
command
Command generate_descriptor_table turns the descriptor extractor's diagnostic JSON into the Go table `internal/tailwind` looks readings up in.
|
Command generate_descriptor_table turns the descriptor extractor's diagnostic JSON into the Go table `internal/tailwind` looks readings up in. |
|
lint/rules/tailwind/tools/generate_framework_variants
command
Command generate_framework_variants prints the framework's variant registrations into shipped Go.
|
Command generate_framework_variants prints the framework's variant registrations into shipped Go. |
|
lint/rules/tailwind/tools/generate_statics
command
Command generate_statics turns the engine's own static-utility registrations into Go.
|
Command generate_statics turns the engine's own static-utility registrations into Go. |
|
lint/rules/tailwind/tools/generate_syntax_tree
command
Command generate_syntax_tree captures compiled utility trees from the real Tailwind engine, together with the {order, count} reading the engine takes from each, so that the Go AST and PropertySort in internal/tailwind are tested against measurements rather than against a reading of the TypeScript source.
|
Command generate_syntax_tree captures compiled utility trees from the real Tailwind engine, together with the {order, count} reading the engine takes from each, so that the Go AST and PropertySort in internal/tailwind are tested against measurements rather than against a reading of the TypeScript source. |
|
lint/rules/tailwind/tools/generate_theme
command
Command generate_theme captures the theme the real Tailwind engine resolved for a corpus of stylesheets, so that the Go port in internal/lint/rules/tailwind/collapse/theme.go is tested against measurements rather than against a reading of the TypeScript source.
|
Command generate_theme captures the theme the real Tailwind engine resolved for a corpus of stylesheets, so that the Go port in internal/lint/rules/tailwind/collapse/theme.go is tested against measurements rather than against a reading of the TypeScript source. |
|
lint/rules/tailwind/tools/generate_utility
command
Command generate_utility captures what the shipped Tailwind engine does with a repository's own `@utility` blocks, so that the Go evaluator in internal/lint/rules/tailwind/collapse/utility.go is tested against measurements rather than against a reading of `createCssUtility`.
|
Command generate_utility captures what the shipped Tailwind engine does with a repository's own `@utility` blocks, so that the Go evaluator in internal/lint/rules/tailwind/collapse/utility.go is tested against measurements rather than against a reading of `createCssUtility`. |
|
lint/rules/tailwind/tools/generate_value_parser
command
Command generate_value_parser captures the node tree the real Tailwind value parser produces for a corpus of CSS value shapes, so that the Go port in internal/tailwind is tested against measurements rather than against a reading of the TypeScript source.
|
Command generate_value_parser captures the node tree the real Tailwind value parser produces for a corpus of CSS value shapes, so that the Go port in internal/tailwind is tested against measurements rather than against a reading of the TypeScript source. |
|
lint/rules/tailwind/tools/generate_variant
command
Command generate_variant captures how the real Tailwind engine orders variants, so that the Go port in internal/lint/rules/tailwind/collapse/variant.go is tested against measurements rather than against a reading of the TypeScript source.
|
Command generate_variant captures how the real Tailwind engine orders variants, so that the Go port in internal/lint/rules/tailwind/collapse/variant.go is tested against measurements rather than against a reading of the TypeScript source. |
|
lint/rules/tailwind/tools/tooldirectory
Package tooldirectory finds a generator's own source directory, where its sibling scripts live.
|
Package tooldirectory finds a generator's own source directory, where its sibling scripts live. |
|
lint/rules/tailwind/vendored
Package vendored is the installed tailwindcss the Tailwind rules' tests build a design system against: a snapshot of tailwindcss 4.3.3 in testdata, so those tests run on any machine instead of only where ahra's node_modules happens to be (#sycrdr6).
|
Package vendored is the installed tailwindcss the Tailwind rules' tests build a design system against: a snapshot of tailwindcss 4.3.3 in testdata, so those tests run on any machine instead of only where ahra's node_modules happens to be (#sycrdr6). |
|
lint/rules/typescript
Package typescript holds the rules from `@typescript-eslint/eslint-plugin`, ported from the originals.
|
Package typescript holds the rules from `@typescript-eslint/eslint-plugin`, ported from the originals. |
|
lint/suppression
Package suppression reads the comments that tell a rule "not here", and records what they did.
|
Package suppression reads the comments that tell a rule "not here", and records what they did. |
|
lint/testing
Package rule_testing runs a rule against source text and reports what it found.
|
Package rule_testing runs a rule against source text and reports what it found. |
|
release/changelog
Package changelog writes a release's section of CHANGELOG.md from what changed in the rule sets cohere carries, and says the smallest version that change allows.
|
Package changelog writes a release's section of CHANGELOG.md from what changed in the rule sets cohere carries, and says the smallest version that change allows. |
|
release/dispatch
Package dispatch resolves which cohere binary to run, rebuilding it when its inputs change.
|
Package dispatch resolves which cohere binary to run, rebuilding it when its inputs change. |
|
release/gocache
Package gocache bounds a Go build cache by size, which Go itself never does.
|
Package gocache bounds a Go build cache by size, which Go itself never does. |
|
release/notices
Package notices writes cohere's third-party notices: NOTICE, which carries the TypeScript compiler's Apache-2.0 notice, and THIRD_PARTY_NOTICES.md, which credits every other project cohere is built on with its license in full.
|
Package notices writes cohere's third-party notices: NOTICE, which carries the TypeScript compiler's Apache-2.0 notice, and THIRD_PARTY_NOTICES.md, which credits every other project cohere is built on with its license in full. |
|
release/packaging
Package release holds what a shipped cohere knows about itself: which build it is, and where its binary comes from on a machine that has no source and no Go toolchain.
|
Package release holds what a shipped cohere knows about itself: which build it is, and where its binary comes from on a machine that has no source and no Go toolchain. |
|
release/tools/build_dispatcher_package
command
Command build_dispatcher_package writes one npm package to a directory, and compiles nothing.
|
Command build_dispatcher_package writes one npm package to a directory, and compiles nothing. |
|
release/tools/changelog
command
Command changelog prints a release's section of CHANGELOG.md from what changed in the rule sets, and refuses a version smaller than that change allows.
|
Command changelog prints a release's section of CHANGELOG.md from what changed in the rule sets, and refuses a version smaller than that change allows. |
|
release/tools/notices
command
Command notices writes NOTICE and THIRD_PARTY_NOTICES.md at the module root, from cohere's build graph and the curated upstreams in internal/release/notices.
|
Command notices writes NOTICE and THIRD_PARTY_NOTICES.md at the module root, from cohere's build graph and the curated upstreams in internal/release/notices. |
|
rename
Package rename performs a program-wide symbol rename: the command-line equivalent of an editor's rename refactor, answered from the type graph rather than from a text search.
|
Package rename performs a program-wide symbol rename: the command-line equivalent of an editor's rename refactor, answered from the type graph rather than from a text search. |
|
replace
Package replace puts a finished file in place of another, as one rename, on every platform cohere ships.
|
Package replace puts a finished file in place of another, as one rename, on every platform cohere ships. |
|
settingsschema
Package settingsschema generates the JSON schemas for CohereSettings.json and NexusCohereSettings.json, and the reference document beside them, from the types that read those files.
|
Package settingsschema generates the JSON schemas for CohereSettings.json and NexusCohereSettings.json, and the reference document beside them, from the types that read those files. |
|
settingsschema/tools/generate
command
Command generate writes the settings schemas and their reference (internal/settingsschema) into the module's schema/ directory.
|
Command generate writes the settings schemas and their reference (internal/settingsschema) into the module's schema/ directory. |
|
testpolicy
Package testpolicy holds the house rules for cohere's own tests, checked by tests of its own.
|
Package testpolicy holds the house rules for cohere's own tests, checked by tests of its own. |
|
types/program
Package program builds the type graph and hands the other phases a checker they call as a function.
|
Package program builds the type graph and hands the other phases a checker they call as a function. |
|
types/sourcename
Package sourcename says what a source file's name means to cohere's TypeScript decisions.
|
Package sourcename says what a source file's name means to cohere's TypeScript decisions. |
|
types/tools/generate_shims
command
|
|
|
unused_exports
Package unused_exports reports code that was written and never used.
|
Package unused_exports reports code that was written and never used. |
|
mutation_aliasing
module
|
|
|
Package policy is the house policy both engines read as data: what the Go engine embeds here, the Swift engine reads from the same file, so a decision about the house lands once and cannot drift between them.
|
Package policy is the house policy both engines read as data: what the Go engine embeds here, the Swift engine reads from the same file, so a decision about the house lands once and cannot drift between them. |
|
tools/generate
command
Command generate writes the Swift sources that compile cohere's policy files into the Swift engine (policy.SwiftFiles).
|
Command generate writes the Swift sources that compile cohere's policy files into the Swift engine (policy.SwiftFiles). |
|
Package rule_runner runs one of cohere's rules in another program's process, over a program and checker that program already holds, so a rule lives once and is never copied (#xjdce2d, #s6z97k8).
|
Package rule_runner runs one of cohere's rules in another program's process, over a program and checker that program already holds, so a rule lives once and is never copied (#xjdce2d, #s6z97k8). |
|
static_single_assignment
module
|
|
|
Package unicodeproperties provides ECMAScript character properties from Unicode 17.0.0.
|
Package unicodeproperties provides ECMAScript character properties from Unicode 17.0.0. |
|
internal/generate
command
Command generate produces cohere's ECMAScript Unicode property tables.
|
Command generate produces cohere's ECMAScript Unicode property tables. |
|
internal/ucd
Package ucd builds ECMAScript character properties from the pinned Unicode Character Database.
|
Package ucd builds ECMAScript character properties from the pinned Unicode Character Database. |
Click to show internal directories.
Click to hide internal directories.