Registry / remark-preset-lint-crowdstrike

remark-preset-lint-crowdstrike

JSON →
library4.0.0jsnpmunverified

remark-preset-lint-crowdstrike v4.0.0 is a preset configuration for remark-lint enforcing CrowdStrike's documentation style. It integrates seamlessly with remark-cli v12 and is intended for use in Node.js >=16.13. Unlike generic presets like remark-preset-lint-consistent or remark-preset-lint-recommended, this package is opinionated with CrowdStrike-specific rules. It ships as ESM-only and provides a single default export. Active development by CrowdStrike.

npm install remark-preset-lint-crowdstrike
INSTALL
IMPORT
SIG · REMARK-PRESET-LINT
R
remark-preset-lint-crowdstrike
javascriptv4.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import preset from 'remark-preset-lint-crowdstrike'
const preset = require('remark-preset-lint-crowdstrike')
Package is ESM-only; CommonJS require will fail.
default
import preset from 'remark-preset-lint-crowdstrike'
import { preset } from 'remark-preset-lint-crowdstrike'
Export is default, not named.
remark-cli
npx remark --use remark-preset-lint-crowdstrike file.md
npx remark --preset remark-preset-lint-crowdstrike file.md
Use --use, not --preset, to load the preset.

Shows how to install and configure the preset in .remarkrc.mjs, then run remark on a Markdown file.

// Ensure Node.js >=16.13 // Install: npm install remark-cli remark-preset-lint-crowdstrike // .remarkrc.mjs import preset from 'remark-preset-lint-crowdstrike'; export default { plugins: [preset] }; // Then run: npx remark README.md
remark --version
Debug
Known issues
breakingVersion 4.0.0 drops CJS support; ESM-only.
fix
Use ESM (import) instead of require().
affects: >=4.0.0
breakingRequires Node.js >=16.13.
fix
Update Node.js to version 16.13 or later.
affects: >=4.0.0
deprecatedOlder version used --preset flag; now must use --use.
fix
Replace --preset with --use in CLI commands.
affects: <4.0.0
Errors
Common errors & fixes
Cannot find module 'remark-preset-lint-crowdstrike'
Package not installed or missing as dependency.
fix
Run: npm install remark-preset-lint-crowdstrike
Error [ERR_REQUIRE_ESM]: require() of ES Module not supported
Using CommonJS require() on ESM-only package.
fix
Switch to import statement or use dynamic import.
Upgrade
Version history
4.0.0latest on npm
Audit
Dependencies
remark-clirequiredpeer dependency required to lint markdown
Agent activity
2 hits · last 30 days
node
2
Resources
remark-preset-lint-crowdstrike — npm install remark-preset-lint-crowdstrike · libregistry