Javascript Node

Use for ESLint, formatting, and JavaScript/Node conventions in this repository.

contentstack dc35410 792 B Updated

File contents

JavaScript / Node – Contentstack DataSync Boilerplate

When to use

  • Editing .eslintrc.js or fixing lint findings
  • Keeping new files consistent with existing CommonJS style

Instructions

  • Lint: Run npx eslint . from the repo root (no lint npm script). Config is .eslintrc.js: eslint:recommended plus indent, linebreak, quotes, and semi rules—match ESLint output and the style of files you edit.
  • Modules: Use CommonJS (require / module.exports) to match index.js, config/, and dependencies.
  • Environment: Target Node; match ecmaVersion / parser options to .eslintrc.js when changing tooling.

contentstack/datasync-boilerplate/tree/main/skills/javascript-node commit dc3541060c

Frequently asked questions

npx skillmds@latest add contentstack/javascript-node