javascript-node
от contentstack
Use for ESLint, formatting, and JavaScript/Node conventions in this repository.
npx skills add https://github.com/contentstack/datasync-boilerplate --skill javascript-nodeJavaScript / Node – Contentstack DataSync Boilerplate
When to use
- Editing
.eslintrc.jsor fixing lint findings - Keeping new files consistent with existing CommonJS style
Instructions
- Lint: Run
npx eslint .from the repo root (nolintnpm script). Config is.eslintrc.js:eslint:recommendedplus indent, linebreak, quotes, andsemirules—match ESLint output and the style of files you edit. - Modules: Use CommonJS (
require/module.exports) to matchindex.js,config/, and dependencies. - Environment: Target Node; match
ecmaVersion/ parser options to.eslintrc.jswhen changing tooling.