@cenk1cenk2/eslint-config 3.1.74 → 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 +15 -0
- package/package.json +15 -13
- package/react-typescript.js +6 -3
- package/react.js +11 -3
- package/svelte-typescript.js +0 -3
- package/svelte.js +5 -0
- package/vue-typescript.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
|
|
8
|
+
## [3.1.75](https://gitlab.kilic.dev/config/eslint-config/compare/v3.1.74...v3.1.75) (2026-02-19)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update dependency @stylistic/eslint-plugin to ^5.9.0 ([866f118](https://gitlab.kilic.dev/config/eslint-config/commit/866f118840e15abd78bc17f892f8a9ddafba38af))
|
|
14
|
+
* **deps:** update node all minor dependency updates to ^8.56.0 ([0a29191](https://gitlab.kilic.dev/config/eslint-config/commit/0a291919b88cb3cef3ab776c970a2b1424dfc556))
|
|
15
|
+
|
|
1
16
|
## [3.1.74](https://gitlab.kilic.dev/config/eslint-config/compare/v3.1.73...v3.1.74) (2026-02-10)
|
|
2
17
|
|
|
3
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cenk1cenk2/eslint-config",
|
|
3
|
-
"version": "3.
|
|
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-
|
|
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-
|
|
53
|
+
"eslint-plugin-react": {
|
|
52
54
|
"optional": true
|
|
53
55
|
},
|
|
54
56
|
"eslint-plugin-react-hooks": {
|
|
@@ -63,28 +65,28 @@
|
|
|
63
65
|
},
|
|
64
66
|
"dependencies": {
|
|
65
67
|
"@eslint/js": "^10.0.1",
|
|
66
|
-
"@stylistic/eslint-plugin": "^5.
|
|
67
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
68
|
-
"@typescript-eslint/parser": "^8.
|
|
68
|
+
"@stylistic/eslint-plugin": "^5.9.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.
|
|
74
|
+
"typescript-eslint": "^8.56.1"
|
|
73
75
|
},
|
|
74
76
|
"devDependencies": {
|
|
75
|
-
"@cenk1cenk2/cz-cc": "^2.2.
|
|
76
|
-
"@vue/eslint-config-typescript": "^14.
|
|
77
|
-
"eslint": "^
|
|
78
|
-
"eslint-plugin-vue": "^10.
|
|
77
|
+
"@cenk1cenk2/cz-cc": "^2.2.5",
|
|
78
|
+
"@vue/eslint-config-typescript": "^14.7.0",
|
|
79
|
+
"eslint": "^10.0.1",
|
|
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.
|
|
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.
|
|
91
|
+
"packageManager": "pnpm@10.30.1"
|
|
90
92
|
}
|
package/react-typescript.js
CHANGED
|
@@ -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:
|
|
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
|
|
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:
|
|
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,
|
package/svelte-typescript.js
CHANGED
|
@@ -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
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],
|