A shared ESLint and Prettier configuration package from FreshEgg UK. Version 1.0.7 supports ESLint 8, Prettier 2, and TypeScript 5. It provides a consistent set of linting and formatting rules for JavaScript and TypeScript projects. Unlike many configs, it includes TypeScript-specific rules and integrates Prettier via eslint-plugin-prettier. The package is designed to be minimal and opinionated, reducing configuration overhead. Updates are infrequent; at v1.0.7, it is considered stable.
npm install eslint-config-fresheggVerified import paths — ran on the pinned version, not inferred.
Shows how to install and configure the ESLint and Prettier config for a TypeScript project.
Use ESLint 8.x or check for v2 release with ESLint 9 support.
Disable prettier rules in eslint if using standalone Prettier.
Ensure tsconfig.json exists and parserOptions.project points to it.
npm install --save-dev eslint-plugin-prettier
npm install --save-dev typescript or switch to base config without typescript.