Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.

Commit 18e58e9

Browse files
committed
chore: update ESLint to v9
1 parent 2ac5e1d commit 18e58e9

File tree

5 files changed

+202
-185
lines changed

5 files changed

+202
-185
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 25 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// @ts-check
2+
3+
import globals from 'globals';
4+
import eslint from '@eslint/js';
5+
import tseslint from 'typescript-eslint';
6+
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
7+
8+
export default tseslint.config(
9+
{
10+
ignores: ['prod/**/*', 'jest.config.ts'],
11+
},
12+
eslint.configs.recommended,
13+
...tseslint.configs.recommended,
14+
{
15+
languageOptions: {
16+
globals: {
17+
...globals.jest,
18+
...globals.node,
19+
},
20+
},
21+
},
22+
eslintPluginPrettierRecommended,
23+
);

0 commit comments

Comments
 (0)