Opinionated ESLint and Prettier configuration from CodelyTV, currently at v4.5.0 (February 2025). Released under Semantic Versioning with active maintenance. Provides flat config presets for JavaScript, TypeScript, and a full opinionated set including import sorting, unused import removal, and DDD-convention folder naming rules. Requires eslint >=9.0.0 flat config and TypeScript strict mode for some rules. Differentiated by its Codely-specific folder naming conventions and all-in-one approach combining recommended rules, import plugins, and Prettier integration.
npm install eslint-config-codelyVerified import paths — ran on the pinned version, not inferred.
Shows installation and basic usage with the TypeScript preset in flat config format.
Use eslint.config.js with the flat config format as shown in the quickstart.
Use import or set "type": "module" in package.json; if using CommonJS, use dynamic import: const eslintConfigCodely = await import('eslint-config-codely');Stay updated with releases; override deprecated rules as needed.
Set "strict": true in tsconfig.json.
Override codely/folder-naming-convention rule in your config if needed.
Use import type { ... } from 'module' to prevent false positives.Replace require() with import or use dynamic import().
Ensure package is installed: npm install --save-dev eslint-config-codely, and use eslint.config.js flat config.
Rename file to eslint.config.js and use the flat config format with export default.
Ensure tsconfig.json has strict: true and parserOptions.project points to tsconfig.json.