Registry / testing / pug-lint-config-emarsys

pug-lint-config-emarsys

JSON →
library2.0.1jsnpmunverified

Shareable PugLint configuration for Emarsys projects. Current stable version is 2.0.1, with no recent updates. This config provides a baseline set of linting rules for Pug templates, intended to enforce consistent code style across Emarsys teams. It is typically installed alongside gulp-pug-lint and extended via a .pug-lintrc file using the 'extends' directive.

npm install pug-lint-config-emarsys
INSTALL
IMPORT
SIG · PUG-LINT-CONFIG-EM
P
pug-lint-config-emarsys
testingjavascriptv2.0.1
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.

config
extends: ['emarsys']
require('pug-lint-config-emarsys')
This package exposes a shareable config for pug-lint; it's not imported directly but referenced in .pug-lintrc as 'emarsys'.

Installs pug-lint-config-emarsys and shows minimal .pug-lintrc configuration.

// Install peer dependencies npm install -D gulp-pug-lint pug-lint-config-emarsys // Create .pug-lintrc with content: { "extends": "emarsys", "disallowMultipleLineBreaks": true }
Debug
Known issues
gotchaConfig extends must reference 'emarsys' without the full package name
fix
Use 'extends': 'emarsys' (not 'pug-lint-config-emarsys')
affects: >=2.0.0
Errors
Common errors & fixes
Cannot find module 'pug-lint-config-emarsys'
The package is not installed correctly or peer dependency is missing
fix
Run npm install -D gulp-pug-lint pug-lint-config-emarsys
Upgrade
Version history
2.0.1latest on npm
Audit
Dependencies
pug-lintrequiredpeer dependency required to run linting
Agent activity
4 hits · last 30 days
node
4
Resources
pug-lint-config-emarsys — npm install pug-lint-config-emarsys · libregistry