@cjournois/eslint-config-ts (1.0.0-e02fe4d8)
Published 2026-04-03 18:18:16 +00:00 by cjournois
Installation
@cjournois:registry=npm install @cjournois/eslint-config-ts@1.0.0-e02fe4d8"@cjournois/eslint-config-ts": "1.0.0-e02fe4d8"About this package
cjournois/lib-eslint-config-ts
This project is licensed under the GNU AGPL-3.0. See the LICENSE file for details.
Minimal ESLint flat config (ESLint v9+) with airbnb-style rules for JavaScript and TypeScript.
Summary
Developer: Usage
Install peer dependencies:
npm install -D @eslint/js eslint eslint-plugin-import globals typescript-eslint
And create this file:
// eslint.config.js
import configs from '@cjournois/eslint-config-ts';
import { defineConfig } from 'eslint/config';
export default defineConfig(
{
ignores: ['lib', 'node_modules'],
},
configs.strict,
);
Angular or Rect
Add corresponding plugins:
# For Angular
npm install -D angular-eslint
# For React
npm install -D eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-refresh
And change import of @cjournois/eslint-config-ts/by adding either angular or react.
// eslint.config.js
import configs from '@cjournois/eslint-config-ts/angular';
import { defineConfig } from 'eslint/config';
export default defineConfig(
{
ignores: ['lib', 'node_modules'],
},
configs.strict,
);
If you have issue with import/no-extraneous-dependencies :
// ...end of eslint.config.js
configs.strict,
{
files: [
'eslint.config.js',
'vite.config.ts',
'test/**/*.{ts,tsx}',
],
rules: {
'import/no-extraneous-dependencies': ['error', {
devDependencies: true,
}],
},
},
);
Developer: Getting Started
Requirements
- Node@24
Development
npm ci— Install dependenciesnpm run lint— Run linternpm run build— Run Build
Maintainer: Troubleshooting
Notes for maintainers, issues, or to-do items
Dependencies
Development dependencies
| ID | Version |
|---|---|
| @eslint/js | 9.39.4 |
| angular-eslint | 21.3.1 |
| commit-and-tag-version | 12.7.1 |
| eslint | 9.39.4 |
| eslint-plugin-import | 2.32.0 |
| eslint-plugin-react | 7.37.5 |
| eslint-plugin-react-hooks | 7.0.1 |
| eslint-plugin-react-refresh | 0.5.2 |
| globals | 17.4.0 |
| tsdown | 0.21.7 |
| typescript | 6.0.2 |
| typescript-eslint | 8.58.0 |
Peer dependencies
| ID | Version |
|---|---|
| @eslint/js | ^9 || ^10 |
| angular-eslint | ^19 || ^20 || ^21 |
| 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-04-03 18:18:16 +00:00
Assets (1)
Versions (6)
View all
npm
2
Corentin JOURNOIS
AGPL-3.0
dev
15 KiB
1.1.0
2026-05-20
1.0.0-e02fe4d8
2026-04-03
1.0.0-71e5fd39
2026-04-02
1.0.0
2026-04-01
0.0.0-24c118ed
2026-04-01