@cjournois/eslint-config-ts (0.1.1)
Published 2026-07-01 18:58:50 +00:00 by cjournois
Installation
@cjournois:registry=npm install @cjournois/eslint-config-ts@0.1.1"@cjournois/eslint-config-ts": "0.1.1"About this package
@cjournois/eslint-config-ts
One ESLint flat config (ESLint v9+) tuned for AI agents: correctness and safety rules only, formatting delegated to @cjournois/biome-config-ts. Single config per entry point (no recommended/strict split), with an optional React entry.
Proprietary — Copyright (c) 2026 cjournois. All rights reserved. SPDX: UNLICENSED. See LICENSE for terms.
Install
bun add -d @cjournois/eslint-config-ts \
@eslint/js eslint eslint-plugin-import globals typescript-eslint
Usage
The default export is a flat-config array — spread it:
// eslint.config.js
import config from '@cjournois/eslint-config-ts';
import { defineConfig } from 'eslint/config';
export default defineConfig(
{ ignores: ['lib', 'node_modules'] },
...config,
);
React
bun add -d eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-refresh
import config from '@cjournois/eslint-config-ts/react';
Per-repo overrides
Add extra config objects after the spread:
...config,
{
files: ['src/lib/log.ts', 'scripts/**/*.ts'],
rules: { 'no-console': 'off' },
},
);
Source
Repository: git.journois.com/cjournois/library
Dependencies
Development dependencies
| ID | Version |
|---|---|
| @eslint/js | 9.39.4 |
| eslint | 9.39.4 |
| eslint-plugin-import | 2.32.0 |
| eslint-plugin-react | 7.37.5 |
| eslint-plugin-react-hooks | 7.1.1 |
| eslint-plugin-react-refresh | 0.5.3 |
| globals | 17.7.0 |
| tsdown | 0.22.3 |
| typescript | 6.0.3 |
| typescript-eslint | 8.62.0 |
Peer dependencies
| ID | Version |
|---|---|
| @eslint/js | ^9 || ^10 |
| eslint | ^9 || ^10 |
| eslint-plugin-import | ^2 |
| eslint-plugin-react | ^7 |
| eslint-plugin-react-hooks | ^7 |
| eslint-plugin-react-refresh | ^0.5 |
| globals | ^17 |
| typescript-eslint | ^8 |
Details
2026-07-01 18:58:50 +00:00
Assets (1)
Versions (2)
View all
npm
1587
Corentin JOURNOIS
UNLICENSED
latest
37 KiB
eslint-config-ts-0.1.1.tgz
37 KiB