Skip to content

Commit c131066

Browse files
committed
chore: update ESLint configuration and dependencies
- Removed `.eslintignore` file. - Added `eslint.config.mjs` for ESLint configuration using the latest ESLint and TypeScript ESLint packages. - Updated `package.json` and `package-lock.json` to use ESLint version 9.32.0 and added TypeScript ESLint as a dependency. - Made minor type adjustments in `src/extract-react-intl/index.ts` for better type handling.
1 parent 6391775 commit c131066

File tree

6 files changed

+6599
-6082
lines changed

6 files changed

+6599
-6082
lines changed

.eslintignore

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

eslint.config.mjs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// ESLint v9+ config
2+
import js from '@eslint/js'
3+
import tseslint from 'typescript-eslint'
4+
5+
export default [
6+
js.configs.recommended,
7+
...tseslint.configs.recommended,
8+
{
9+
files: ["src/**/*.ts"],
10+
languageOptions: {
11+
parser: tseslint.parser,
12+
parserOptions: {
13+
ecmaVersion: 2022,
14+
sourceType: "module"
15+
}
16+
}
17+
},
18+
{
19+
ignores: ['dist/', 'node_modules/', 'compiled/']
20+
}
21+
]

0 commit comments

Comments
 (0)