Twilio's official ESLint shareable config enforcing JavaScript style guidelines. Current stable version 2.0.0 requires ESLint ^8 and drops support for ESLint 5, 6, and 7. Integrates with prettier, eslint-plugin-import, eslint-plugin-no-only-tests, and eslint-plugin-sonarjs. Designed for Twilio's codebase but usable by any JavaScript project. Released under twilio-style monorepo with slow cadence; no known further updates.
npm install eslint-config-twilioVerified import paths — ran on the pinned version, not inferred.
Installs eslint@^8 and eslint-config-twilio, configures ESLint with the twilio preset, and sets up lint and lint:fix scripts.
Upgrade ESLint to version 8 or later.
Run 'npm install eslint@^8 --save-dev' if not already installed, or upgrade npm to >=7.
Follow the Prettier section in README to customize: add override rule 'prettier/prettier': ['warn', {}, { 'usePrettierrc': true }]Run 'npm install eslint eslint-config-twilio --save-dev'.
Install missing peer dependencies: 'npm install eslint-plugin-import --save-dev'.
Ensure .eslintrc.json is valid JSON with double-quoted strings.
No dependency data recorded yet.