Registry / testing / eslint-config-tc

eslint-config-tc

JSON →
library28.0.3jsnpmunverified

An ESLint shareable flat config for JavaScript projects, providing a comprehensive set of linting rules including style, import, Jest, and unicorn plugins. Current stable version is 28.0.3, requiring Node >=22, ESLint 10, and flat config. Key differentiators: integrates Prettier formatting, updates peer deps frequently, and drops legacy eslintrc support. Released irregularly with breaking changes on major bumps; v28 drops Node 20 and switches to flat config only.

testing
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Package is ESM-only since v28; CommonJS require() throws ERR_REQUIRE_ESM.

import tcConfig from 'eslint-config-tc';

No separate TS config; flat config works with @typescript-eslint/parser if added manually.

import tcConfig from 'eslint-config-tc'; // same as JS

Package does not export a CommonJS module; use ESM import.

// Not applicable; use flat config spread

Basic setup for ESLint flat config using eslint-config-tc with a rule override.

// eslint.config.mjs import tcConfig from 'eslint-config-tc'; export default [ ...tcConfig, { rules: { 'no-console': 'warn', }, }, ];
Debug
Known footguns
breakingv28.0.0 drops support for Node 20 and ESLint 10 flat config only, removing .eslintrc compatibility.
breakingv27.0.0 drops Node 18.
breakingv26.0.0 requires eslint-plugin-jest >=28.0.0 and removes jest/no-if rule.
deprecatedv24.0.0 requires eslint-plugin-prettier ^5.0.0 and prettier ^3.0.0; older versions are deprecated.
gotchaPeer dependencies must be installed manually; using npx install-peerdeps --dev eslint-config-tc is recommended.
gotchaPackage is ESM-only since v28; require() throws ERR_REQUIRE_ESM.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
9 hits · last 30 days
gptbot
4
ahrefsbot
4
script
1
Resources