{"id":15010475,"url":"https://github.com/nodejs/remark-preset-lint-node","last_synced_at":"2025-04-06T02:08:17.141Z","repository":{"id":20396287,"uuid":"89828051","full_name":"nodejs/remark-preset-lint-node","owner":"nodejs","description":"remark preset to configure remark-lint with settings for nodejs/node","archived":false,"fork":false,"pushed_at":"2024-10-21T22:38:33.000Z","size":2139,"stargazers_count":15,"open_issues_count":4,"forks_count":23,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-10-29T17:34:49.094Z","etag":null,"topics":["node","nodejs"],"latest_commit_sha":null,"homepage":"https://npm.im/remark-preset-lint-node","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nodejs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-30T03:55:45.000Z","updated_at":"2024-10-21T22:38:29.000Z","dependencies_parsed_at":"2023-12-13T20:14:34.667Z","dependency_job_id":"e83fd991-a72c-489b-81d8-c296cec1c714","html_url":"https://github.com/nodejs/remark-preset-lint-node","commit_stats":{"total_commits":562,"total_committers":15,"mean_commits":37.46666666666667,"dds":0.4412811387900356,"last_synced_commit":"dcd5c0b037927be53f05bf4235914226a5935591"},"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fremark-preset-lint-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fremark-preset-lint-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fremark-preset-lint-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fremark-preset-lint-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodejs","download_url":"https://codeload.github.com/nodejs/remark-preset-lint-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246953622,"owners_count":20860052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["node","nodejs"],"created_at":"2024-09-24T19:34:26.359Z","updated_at":"2025-04-06T02:08:17.118Z","avatar_url":"https://github.com/nodejs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remark-preset-lint-node\n\n[![Build Status](https://github.com/nodejs/remark-preset-lint-node/workflows/Tests/badge.svg)](https://github.com/nodejs/remark-preset-lint-node/actions?workflow=Tests)\n\nremark preset to configure remark-lint with settings for nodejs/node\n\n## Install\n\n```console\nnpm install remark-preset-lint-node\n```\n\n## Test\n\n```console\nnpm test\n```\n\n## Add new language or grammar\n\n### Adding the language to the documentation style guide\n\n1. PR the [nodejs/node](https://github.com/nodejs/node) repo adding the\n   language/grammar to the\n   [documentation style guide](https://github.com/nodejs/node/blob/HEAD/doc/README.md).\n\n### Adding the language to the linter\n\n1. PR this repo adding the language/grammar.\n1. Bump this package version, publish it.\n1. In\n   [node-lint-md-cli-rollup](https://github.com/nodejs/node/tree/master/tools/node-lint-md-cli-rollup),\n   bump the `remark-preset-lint-node` dependency.\n1. In the `nodejs/node` repo, rebuild the Markdown linter\n   (`make lint-md-rollup`).\n1. PR the `nodejs/node` repo with the updated linter.\n\n## Environment variables\n\n#### `NODE_RELEASED_VERSIONS`\n\nOn runtime, the linter will check the environment if the\n`NODE_RELEASED_VERSIONS` variable is defined; if it's there, it will use the\ncontent of the variable as a comma-separated list of allowed version numbers.\nThis list is supposed to be built from the changelog(s), and validates the\nversion numbers for the `nodejs-yaml-comments` rule.\n\nFor better compatibility with the nodejs/node changelogs, there are a few\nexceptions:\n\n* Version numbers `^0.0.0 || ^0.1.0` are not validated using the provided list.\n  They are validated using the `vx.x.x` pattern.\n* `REPLACEME` placeholder is always valid, regardless if it's in the list or\n  not.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodejs%2Fremark-preset-lint-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodejs%2Fremark-preset-lint-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodejs%2Fremark-preset-lint-node/lists"}