@cenk1cenk2/eslint-config 3.1.75 → 3.2.1
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 +14 -0
- package/package.json +14 -12
- 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,17 @@
|
|
|
1
|
+
## [3.2.1](https://gitlab.kilic.dev/config/eslint-config/compare/v3.2.0...v3.2.1) (2026-03-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependency globals to ^17.4.0 ([4f49971](https://gitlab.kilic.dev/config/eslint-config/commit/4f499718b1801b06b21be795af6de9c5aa3bc5ce))
|
|
7
|
+
|
|
8
|
+
# [3.2.0](https://gitlab.kilic.dev/config/eslint-config/compare/v3.1.75...v3.2.0) (2026-02-23)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* update to eslint10 ([c37a7f0](https://gitlab.kilic.dev/config/eslint-config/commit/c37a7f0070c1fa879071f4d2196a4493e20aebd0))
|
|
14
|
+
|
|
1
15
|
## [3.1.75](https://gitlab.kilic.dev/config/eslint-config/compare/v3.1.74...v3.1.75) (2026-02-19)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cenk1cenk2/eslint-config",
|
|
3
|
-
"version": "3.1
|
|
3
|
+
"version": "3.2.1",
|
|
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": {
|
|
@@ -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.
|
|
68
|
-
"@typescript-eslint/parser": "^8.56.
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
70
|
+
"@typescript-eslint/parser": "^8.56.1",
|
|
69
71
|
"eslint-plugin-import": "^2.32.0",
|
|
70
|
-
"globals": "^17.
|
|
72
|
+
"globals": "^17.4.0",
|
|
71
73
|
"load-tsconfig": "^0.2.5",
|
|
72
|
-
"typescript-eslint": "^8.56.
|
|
74
|
+
"typescript-eslint": "^8.56.1"
|
|
73
75
|
},
|
|
74
76
|
"devDependencies": {
|
|
75
|
-
"@cenk1cenk2/cz-cc": "^2.2.
|
|
77
|
+
"@cenk1cenk2/cz-cc": "^2.2.6",
|
|
76
78
|
"@vue/eslint-config-typescript": "^14.7.0",
|
|
77
|
-
"eslint": "^10.0.
|
|
79
|
+
"eslint": "^10.0.2",
|
|
78
80
|
"eslint-plugin-vue": "^10.8.0",
|
|
79
|
-
"lint-staged": "^16.
|
|
81
|
+
"lint-staged": "^16.3.1",
|
|
80
82
|
"prettier": "^3.8.1",
|
|
81
83
|
"simple-git-hooks": "^2.13.1",
|
|
82
|
-
"svelte": "^5.53.
|
|
84
|
+
"svelte": "^5.53.6"
|
|
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.
|
|
91
|
+
"packageManager": "pnpm@10.30.3"
|
|
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],
|