javascript-node

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

npx skills add https://github.com/contentstack/datasync-boilerplate --skill javascript-node

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.