Wes Bos's personal ESLint & Prettier config, version 4.3.2. Updated infrequently; based on eslint-config-airbnb and includes TypeScript support. Lightweight alternative to other configs like `eslint-config-airbnb` or `standard`. Options for JS and TypeScript (via `wesbos/typescript`). Requires peer dependencies ESLint ^8, Prettier ^3, TypeScript ^4.8.4 or ^5. Requires manual `tsconfig.json` for TypeScript. Uses Prettier for formatting with opinionated defaults (singleQuote, endOfLine).
npm install eslint-config-wesbosVerified import paths — ran on the pinned version, not inferred.
Sets up a new project with Wes Bos's ESLint config for JavaScript projects.
Create an empty tsconfig.json or point to existing one.
Stick with ESLint v8 or switch to flat config and a different config package.
Override both in .prettierrc or via prettier/prettier rule.
Run `npm install eslint-config-wesbos` and ensure peer deps are installed. Use 'wesbos' not 'wesbos/javascript'.
Create a tsconfig.json in your project root.
npm install prettier@^3.0.0 --save-dev