javascript-tooling
Development tools, linting, and testing for JavaScript projects.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
JavaScript Tooling
Priority: P1 (OPERATIONAL)
Essential tooling for JavaScript development.
Implementation Guidelines
- Linting: ESLint (Rec + Prettier). Fix on save.
- Formatting: Prettier. Run on save/commit.
- Testing: Jest/Vitest. Co-locate tests. >80% cov.
- Build: Vite (Apps), Rollup (Libs).
-
Pkg Manager: Sync versions (
npm/yarn/pnpm).
Anti-Patterns
- No Formatting Wars: Prettier rules.
- No Untested Code: TDD/Post-code tests.
- No Dirty Commits: Lint before push.
Configuration
// .eslintrc.js
module.exports = {
extends: ['eslint:recommended', 'prettier'],
rules: { 'no-console': 'warn', 'prefer-const': 'error' },
};
// .prettierrc
{ "semi": true, "singleQuote": true, "printWidth": 80 }
// jest.config.js
export default {
coverageThreshold: { global: { lines: 80 } },
};
Reference & Examples
For testing patterns and CI/CD: See references/REFERENCE.md.
Related Topics
best-practices | language
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!