nitra

183 mods across 1 repository, 1 stars between them.

lint-surface

121

nitra/7n-rules

Cursor rule Cursor

A rule for running lint checks, which inspect code for problems, through the `n-rules` command-line tool or its `npx` form.

not rated 1 +1 1mo ago A 290 tokens archived

connection

122

nitra/7n-rules

Cursor rule Cursor

A database-connection rule for Bun, a JavaScript runtime and toolkit. Bun's SQL export reads database settings from environment variables and manages the connection pool for you.

not rated 1 +1 1mo ago A 599 tokens archived

pg_format_identifiers

123

nitra/7n-rules

Cursor rule Cursor

A database rule for safely inserting dynamic names such as schemas, tables, columns, indexes, roles, and databases into Bun SQL queries.

not rated 1 +1 1mo ago A 1,718 tokens archived

safety

124

nitra/7n-rules

Cursor rule Cursor

A JavaScript and TypeScript safety scan based on abstract syntax trees, which represent source code's structure for automated inspection.

not rated 1 +1 1mo ago A 6,774 tokens archived

imports

125

nitra/7n-rules

Cursor rule Cursor

A project rule that scans JavaScript and TypeScript files for imports, `require()` calls, and dynamic imports of forbidden packages.

not rated 1 +1 1mo ago A 526 tokens archived

mssql-tvp

126

nitra/7n-rules

Cursor rule Cursor

A rule for using SQL Server table-valued parameters, or TVPs, to send lists of values or key pairs to a query as a table-like input.

not rated 1 +1 1mo ago A 798 tokens archived

configmap

127

nitra/7n-rules

Cursor rule Cursor

A Kubernetes ConfigMap rule for OpenTelemetry configuration, with a check that requires service.namespace to be set.

not rated 1 +1 1mo ago A 539 tokens archived

jsconfig

128

nitra/7n-rules

Cursor rule Cursor

A rule requiring a jsconfig.json file in backend workspace packages that have a src directory and do not use Vite.

not rated 1 +1 1mo ago A 586 tokens archived

project-structure

129

nitra/7n-rules

Cursor rule Cursor

A project-structure rule recommending a particular layout for the project.

not rated 1 +1 1mo ago A 71 tokens archived

runtime

130

nitra/7n-rules

Cursor rule Cursor

A coding rule for backend packages that do not use Vite: their scripts should run with Bun instead of the Node executable.

not rated 1 +1 1mo ago A 2,474 tokens archived

scope

131

nitra/7n-rules

Cursor rule Cursor

A scope rule limiting these conventions to backend Node.js workspace packages, such as jobs, GraphQL or HTTP servers, and command-line tools.

not rated 1 +1 1mo ago A 335 tokens archived

check

132

nitra/7n-rules

Cursor rule Cursor

A JavaScript style rule about for-in loops, which can include inherited object properties as well as an object's own properties.

not rated 1 +1 1mo ago A 368 tokens archived

dep-policy

133

nitra/7n-rules

Cursor rule Cursor

A dependency policy for shared linting and code-checking tools such as ESLint, oxlint, jscpd, and knip in a monorepo, a repository containing multiple packages.

not rated 1 +1 1mo ago A 632 tokens archived

doc_comments

134

nitra/7n-rules

Cursor rule Cursor

A documentation rule for JSDoc, comments written in JavaScript's documentation format, and file-level header comments.

not rated 1 +1 1mo ago A 458 tokens archived

file-extensions

135

nitra/7n-rules

Cursor rule Cursor

A file-naming rule requiring new JavaScript module files to include an explicit file extension.

not rated 1 +1 1mo ago A 372 tokens archived

jscpd_config

136

nitra/7n-rules

Cursor rule Cursor

A configuration rule for jscpd, a tool that detects duplicated code, and for files that the check should ignore.

not rated 1 +1 1mo ago A 817 tokens archived

knip

137

nitra/7n-rules

Cursor rule Cursor

A dependency-analysis rule using Knip, a tool that finds unused dependencies and exports across files.

not rated 1 +1 1mo ago A 500 tokens archived

utils_imports

138

nitra/7n-rules

Cursor rule Cursor

A naming rule for directories that hold shared JavaScript methods moved out of several files.

not rated 1 +1 1mo ago A 509 tokens archived

emit_types_config

139

nitra/7n-rules

Cursor rule Cursor

A Cursor rule named emit_types_config that documents what is checked, allowed deviations, and examples.

not rated 1 +1 1mo ago A 350 tokens archived

header_doc_pointer

140

nitra/7n-rules

Cursor rule Cursor

A documentation rule for JavaScript and MJS modules that have a nearby Markdown document. Their module-level JSDoc should point to that document in no more than one non-empty line.

not rated 1 +1 1mo ago A 286 tokens archived

npm_package_json

141

nitra/7n-rules

Cursor rule Cursor

A Cursor rule named npm_package_json for validating npm/package.json with a rego-gate check.

not rated 1 +1 1mo ago A 1,073 tokens archived

package_structure

142

nitra/7n-rules

Cursor rule Cursor

A repository layout rule for a Bun monorepo, which is one repository containing multiple related packages. It expects packages under npm/, a root package.json, and GitHub workflow files, with an optional demo/ directory.

not rated 1 +1 1mo ago A 2,076 tokens archived

root_package_json

143

nitra/7n-rules

Cursor rule Cursor

A Cursor rule named root_package_json for validating the repository's top-level package.json with a rego-gate check.

not rated 1 +1 1mo ago A 355 tokens archived

rule_meta

144

nitra/7n-rules

Cursor rule Cursor

A metadata requirement for rules stored under the npm/rules directory. Each rule must include a valid main.json file describing its metadata.

not rated 1 +1 1mo ago A 269 tokens archived

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: