javascript-style
Installation
SKILL.md
JavaScript & types – Contentstack Management JavaScript SDK
When to use
- Editing
lib/**/*.js,webpack/**/*.js,types/**, or root*.mjs. - Matching ESLint standard style and public JSDoc for npm consumers.
Instructions
Runtime & modules
- Source is ES modules under
lib/(import/export). Builds target Node and browsers via Babel + Webpack (package.jsonscripts). types/holds public TypeScript declarations for npm; keep aligned withlib/JSDoc and exports.
Style & tooling
- ESLint uses
eslint-config-standardand@babel/eslint-parser; match semicolon-free standard style and two-space indentation as in existinglib/files. - Environment: ESLint
es2020;test/**/*.jsmay relax rules viaoverridesin.eslintrc.js.