ESLint configuration for kyt projects, maintained by The New York Times. Current stable version is 1.6.3, part of the kyt monorepo with infrequent releases and no known recent breaking changes. It provides a comprehensive set of ESLint rules for React, Jest, JSON, Prettier, and import ordering, based on Airbnb's config. Unlike generic configs, it is tailored for kyt's webpack-based setup and includes Babel parser support. Suitable for Node.js and browser environments.
npm install eslint-config-kytVerified import paths — ran on the pinned version, not inferred.
Basic ESLint configuration using eslint-config-kyt with a custom rule override and environment settings.
Check rule compatibility with ESLint 7 and above; consider updating peer deps.
Run npx install-peerdeps eslint-config-kyt to install all peers.
Review changelog for rule updates when upgrading from 0.x.
Override parser if not using Babel, e.g., parser: '@typescript-eslint/parser'.
Install all peer dependencies: npx install-peerdeps eslint-config-kyt
Update rule format per eslint-plugin-react docs, e.g., use ['error', { extensions: ['.jsx'] }]