@cenk1cenk2/eslint-config 3.1.75 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [3.2.0](https://gitlab.kilic.dev/config/eslint-config/compare/v3.1.75...v3.2.0) (2026-02-23)
2
+
3
+
4
+ ### Features
5
+
6
+ * update to eslint10 ([c37a7f0](https://gitlab.kilic.dev/config/eslint-config/commit/c37a7f0070c1fa879071f4d2196a4493e20aebd0))
7
+
1
8
  ## [3.1.75](https://gitlab.kilic.dev/config/eslint-config/compare/v3.1.74...v3.1.75) (2026-02-19)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/eslint-config",
3
- "version": "3.1.75",
3
+ "version": "3.2.0",
4
4
  "description": "Eslint configuration for my taste.",
5
5
  "main": "index.js",
6
6
  "repository": "git@gitlab.kilic.dev:config/eslint-config.git",
@@ -9,7 +9,9 @@
9
9
  "type": "module",
10
10
  "exports": {
11
11
  ".": "./index.js",
12
+ "./svelte": "./svelte.js",
12
13
  "./vue": "./vue.js",
14
+ "./react": "./react.js",
13
15
  "./vue-typescript": "./vue-typescript.js",
14
16
  "./svelte-typescript": "./svelte-typescript.js",
15
17
  "./prettierrc": "./.prettierrc.js"
@@ -35,7 +37,7 @@
35
37
  "peerDependencies": {
36
38
  "@vue/eslint-config-typescript": ">= 14.1.1",
37
39
  "eslint": ">= 9",
38
- "eslint-config-react": ">= 1",
40
+ "eslint-plugin-react": ">= 7",
39
41
  "eslint-plugin-react-hooks": ">= 4",
40
42
  "eslint-plugin-svelte": ">= 2",
41
43
  "eslint-plugin-vue": ">= 9",
@@ -48,7 +50,7 @@
48
50
  "eslint-plugin-vue": {
49
51
  "optional": true
50
52
  },
51
- "eslint-config-react": {
53
+ "eslint-plugin-react": {
52
54
  "optional": true
53
55
  },
54
56
  "eslint-plugin-react-hooks": {
@@ -64,27 +66,27 @@
64
66
  "dependencies": {
65
67
  "@eslint/js": "^10.0.1",
66
68
  "@stylistic/eslint-plugin": "^5.9.0",
67
- "@typescript-eslint/eslint-plugin": "^8.56.0",
68
- "@typescript-eslint/parser": "^8.56.0",
69
+ "@typescript-eslint/eslint-plugin": "^8.56.1",
70
+ "@typescript-eslint/parser": "^8.56.1",
69
71
  "eslint-plugin-import": "^2.32.0",
70
72
  "globals": "^17.3.0",
71
73
  "load-tsconfig": "^0.2.5",
72
- "typescript-eslint": "^8.56.0"
74
+ "typescript-eslint": "^8.56.1"
73
75
  },
74
76
  "devDependencies": {
75
- "@cenk1cenk2/cz-cc": "^2.2.4",
77
+ "@cenk1cenk2/cz-cc": "^2.2.5",
76
78
  "@vue/eslint-config-typescript": "^14.7.0",
77
- "eslint": "^10.0.0",
79
+ "eslint": "^10.0.1",
78
80
  "eslint-plugin-vue": "^10.8.0",
79
81
  "lint-staged": "^16.2.7",
80
82
  "prettier": "^3.8.1",
81
83
  "simple-git-hooks": "^2.13.1",
82
- "svelte": "^5.53.0"
84
+ "svelte": "^5.53.3"
83
85
  },
84
86
  "config": {
85
87
  "commitizen": {
86
88
  "path": "./node_modules/@cenk1cenk2/cz-cc"
87
89
  }
88
90
  },
89
- "packageManager": "pnpm@10.30.0"
91
+ "packageManager": "pnpm@10.30.1"
90
92
  }
@@ -1,13 +1,16 @@
1
+ import ReactPlugin from 'eslint-plugin-react'
2
+ import ReactHooksPlugin from 'eslint-plugin-react-hooks'
1
3
  import react from './react.js'
2
- import typescript from './typescript.js'
3
4
 
4
5
  /** @type {import("eslint").Linter.Config[]} */
5
6
  export default [
6
- ...typescript,
7
7
  ...react,
8
8
  {
9
9
  files: ['**/*.tsx'],
10
- plugins: ['react', 'react-hooks'],
10
+ plugins: {
11
+ react: ReactPlugin,
12
+ 'react-hooks': /** @type {import("eslint").ESLint.Plugin} */ (ReactHooksPlugin)
13
+ },
11
14
  rules: {
12
15
  '@typescript-eslint/no-unused-vars': 'off',
13
16
  '@typescript-eslint/explicit-function-return-type': 'off',
package/react.js CHANGED
@@ -1,11 +1,19 @@
1
- import js from './js.js'
1
+ import ReactPlugin from 'eslint-plugin-react'
2
+ import ReactHooksPlugin from 'eslint-plugin-react-hooks'
3
+ import ConfigReactTypescript from './react-typescript.js'
4
+
5
+ export const configs = {
6
+ ['react-typescript']: ConfigReactTypescript
7
+ }
2
8
 
3
9
  /** @type {import("eslint").Linter.Config[]} */
4
10
  export default [
5
- ...js,
6
11
  {
7
12
  files: ['**/*.jsx', '**/*.tsx'],
8
- plugins: ['react', 'react-hooks'],
13
+ plugins: {
14
+ react: ReactPlugin,
15
+ ['react-hooks']: /** @type {import("eslint").ESLint.Plugin} */ (ReactHooksPlugin)
16
+ },
9
17
  languageOptions: {
10
18
  parserOptions: {
11
19
  project: null,
@@ -4,14 +4,11 @@ import SvelteParser from 'svelte-eslint-parser'
4
4
  import * as globals from 'globals'
5
5
 
6
6
  import { EXTENSIONS_SVELTE } from './constants.js'
7
- import ConfigTypescript from './typescript-dynamic.js'
8
7
 
9
8
  /** @type {import("eslint").Linter.Config[]} */
10
9
  export default [
11
10
  ...SveltePlugin.configs['flat/recommended'],
12
11
 
13
- ...ConfigTypescript,
14
-
15
12
  {
16
13
  name: 'cenk1cenk2/svelte/typescript/recommended',
17
14
  files: [...EXTENSIONS_SVELTE],
package/svelte.js ADDED
@@ -0,0 +1,5 @@
1
+ import ConfigSvelteTypescript from './svelte-typescript.js'
2
+
3
+ export const configs = {
4
+ ['svelte-typescript']: ConfigSvelteTypescript
5
+ }
package/vue-typescript.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import VueTypescriptConfig from '@vue/eslint-config-typescript'
2
2
  import VuePlugin from 'eslint-plugin-vue'
3
3
  import { EXTENSIONS_VUE } from './constants.js'
4
- import ConfigTypescript from './typescript-dynamic.js'
5
4
 
6
5
  /** @type {import("eslint").Linter.Config[]} */
7
6
  export default [
@@ -19,8 +18,6 @@ export default [
19
18
  }
20
19
  }),
21
20
 
22
- ...ConfigTypescript,
23
-
24
21
  {
25
22
  name: 'cenk1cenk2/vue/typescript/recommended',
26
23
  files: [...EXTENSIONS_VUE],