SPPT Lint Init
raw JSON → 1.0.8 verified Fri May 01 auth: no javascript
A CLI tool that initializes sppt-lint configuration files in your project with a single npx command. Version 1.0.8 is the current stable release. It prompts users to select a preset configuration, then generates .sppt-lintrc files adapted to common project types (Node.js, React, TypeScript). Unlike manual lint setup, this tool automates boilerplate and standardizes config decisions across teams.
Common errors
error command not found: npx ↓
cause Node.js/npm not installed or not in PATH.
fix
Install Node.js from https://nodejs.org/ and ensure npm is available.
error Error: Cannot find module 'sppt-lint' ↓
cause sppt-lint is not installed locally.
fix
Run
npm install sppt-lint before running sppt-lint-init. Warnings
gotcha The tool overwrites existing .sppt-lintrc files without backup. ↓
fix Manually back up existing config before running the command.
gotcha The generated configuration might not include all necessary overrides for monorepos. ↓
fix Review and adjust the generated config for multi-package repositories.
Install
npm install sppt-lint-init yarn add sppt-lint-init pnpm add sppt-lint-init Quickstart
npx sppt-lint-init