Pluggable ESLint configuration for Node.js that extends ESNext with Node.js-specific safety checks and best practices
73
Create a Git pre-commit hook that automatically validates JavaScript code quality before allowing commits.
Create a pre-commit hook script that:
.js extension only)The hook script should be placed in .git/hooks/pre-commit and must be executable
git commit with clean code (no linting errors) successfully creates a commit @testgit commit with code containing linting errors blocks the commit and returns a non-zero exit code @testInitialize a Git repository with appropriate configuration for running the pre-commit hook.
@generates
Provides Node.js-specific ESLint configuration with modern JavaScript best practices.
Install with Tessl CLI
npx tessl i tessl/npm-eslint-config-nodedocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10