eslint-config-gits 6.1.0 → 7.0.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/.gitlab-ci.yml +7 -0
- package/CHANGELOG.md +33 -0
- package/README.md +5 -0
- package/index.mjs +2 -3
- package/package.json +13 -29
package/.gitlab-ci.yml
CHANGED
|
@@ -2,15 +2,22 @@ stages:
|
|
|
2
2
|
- test
|
|
3
3
|
- deploy
|
|
4
4
|
|
|
5
|
+
default:
|
|
6
|
+
tags:
|
|
7
|
+
- gits
|
|
8
|
+
|
|
9
|
+
|
|
5
10
|
test:install:
|
|
6
11
|
stage: test
|
|
7
12
|
image: node:lts
|
|
13
|
+
interruptible: true
|
|
8
14
|
script:
|
|
9
15
|
- npm install
|
|
10
16
|
|
|
11
17
|
deploy:npm:
|
|
12
18
|
stage: deploy
|
|
13
19
|
image: node:lts
|
|
20
|
+
interruptible: false
|
|
14
21
|
only:
|
|
15
22
|
- main
|
|
16
23
|
before_script:
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
## [7.0.1](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v7.0.0...v7.0.1) (2026-06-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** pin dependencies ([c732e84](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/c732e840fad55da4d44a5bd54bf67a4bd90d29ca))
|
|
7
|
+
* **deps:** update dependency @eslint-react/eslint-plugin to v5.9.1 ([89cfb68](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/89cfb68275167c3db70c86df92fd031e40b71c32))
|
|
8
|
+
* **deps:** update dependency @eslint-react/eslint-plugin to v5.9.2 ([c41ebf9](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/c41ebf91b08646ac8e18c7d69a44efd6968e3bba))
|
|
9
|
+
* **deps:** update dependency globals to v17.7.0 ([dceeb79](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/dceeb797e15397e83fdd5b0a915b3974c41857f5))
|
|
10
|
+
|
|
11
|
+
# [7.0.0](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v6.1.1...v7.0.0) (2026-06-15)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
* feat!: replace eslint-plugin-react with @eslint-react/eslint-plugin ([6205373](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/6205373ee621e9f9d326eb0a3e99e474b73741c1))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### BREAKING CHANGES
|
|
18
|
+
|
|
19
|
+
* consumers must install @eslint-react/eslint-plugin as a peer
|
|
20
|
+
dependency instead of eslint-plugin-react. The stylistic rule
|
|
21
|
+
react/jsx-curly-brace-presence is removed (no @eslint-react equivalent; use
|
|
22
|
+
@stylistic/eslint-plugin if needed). The eslint-plugin-react eslint override is
|
|
23
|
+
no longer required and was dropped.
|
|
24
|
+
|
|
25
|
+
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
|
26
|
+
|
|
27
|
+
## [6.1.1](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v6.1.0...v6.1.1) (2026-04-02)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* Remove eslint/js dependency ([945f094](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/945f09486f6ec90ceebced3acaa400f45c337fcd))
|
|
33
|
+
|
|
1
34
|
# [6.1.0](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v6.0.1...v6.1.0) (2026-04-02)
|
|
2
35
|
|
|
3
36
|
|
package/README.md
CHANGED
|
@@ -11,6 +11,11 @@ This ESLint-Config provides commonly used configuration for eslint for all our p
|
|
|
11
11
|
npm install --save-dev eslint eslint-config-gits
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
+
All ESLint plugins, the parser and Prettier are bundled as dependencies of this
|
|
15
|
+
preset and get installed automatically — you only add `eslint-config-gits`
|
|
16
|
+
itself. `eslint` (^10) stays a peer dependency, so the consuming project
|
|
17
|
+
controls its ESLint version.
|
|
18
|
+
|
|
14
19
|
## Example configuration
|
|
15
20
|
|
|
16
21
|
```js
|
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import react from "eslint-plugin
|
|
1
|
+
import react from "@eslint-react/eslint-plugin";
|
|
2
2
|
import prettier from "eslint-plugin-prettier";
|
|
3
3
|
import reactHooks from "eslint-plugin-react-hooks";
|
|
4
4
|
import tsParser from "@typescript-eslint/parser";
|
|
@@ -32,7 +32,7 @@ const plugin = {
|
|
|
32
32
|
configs: {
|
|
33
33
|
recommended: [
|
|
34
34
|
...tsLintEsLint.configs.recommended,
|
|
35
|
-
react.configs.
|
|
35
|
+
react.configs.recommended,
|
|
36
36
|
reactHooks.configs.flat.recommended,
|
|
37
37
|
{
|
|
38
38
|
rules,
|
|
@@ -69,7 +69,6 @@ const plugin = {
|
|
|
69
69
|
],
|
|
70
70
|
// Already checked via arrow functions and variable definition
|
|
71
71
|
'@typescript-eslint/explicit-function-return-type': ['off'],
|
|
72
|
-
'react/jsx-curly-brace-presence': ['error', {props: "never", children: "never"}],
|
|
73
72
|
'arrow-body-style': ['error', 'as-needed']
|
|
74
73
|
},
|
|
75
74
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-gits",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "EsLint Preset for Geenen IT-Systeme",
|
|
5
5
|
"repository": "https://gitlab.com/geenen-it-systeme/eslint-preset",
|
|
6
6
|
"main": "index.mjs",
|
|
@@ -14,38 +14,22 @@
|
|
|
14
14
|
"author": "",
|
|
15
15
|
"license": "ISC",
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"eslint-plugin
|
|
21
|
-
"eslint
|
|
22
|
-
"eslint-plugin-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
17
|
+
"eslint": "^10.0.0"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@eslint-react/eslint-plugin": "5.9.2",
|
|
21
|
+
"@typescript-eslint/parser": "8.61.0",
|
|
22
|
+
"eslint-plugin-prettier": "5.5.6",
|
|
23
|
+
"eslint-plugin-react-hooks": "7.1.1",
|
|
24
|
+
"globals": "17.7.0",
|
|
25
|
+
"prettier": "3.8.4",
|
|
26
|
+
"typescript-eslint": "8.61.0"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
|
-
"@eslint/js": "10.0.1",
|
|
29
29
|
"@semantic-release/changelog": "6.0.3",
|
|
30
30
|
"@semantic-release/git": "10.0.1",
|
|
31
31
|
"@semantic-release/gitlab": "13.3.2",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"eslint": "10.0.0",
|
|
35
|
-
"eslint-plugin-prettier": "5.5.5",
|
|
36
|
-
"eslint-plugin-react": "7.37.5",
|
|
37
|
-
"eslint-plugin-react-hooks": "7.0.1",
|
|
38
|
-
"globals": "17.4.0",
|
|
39
|
-
"prettier": "3.8.1",
|
|
40
|
-
"semantic-release": "25.0.3",
|
|
41
|
-
"typescript-eslint": "8.58.0"
|
|
42
|
-
},
|
|
43
|
-
"overrides": {
|
|
44
|
-
"eslint-plugin-react": {
|
|
45
|
-
"eslint": ">=9"
|
|
46
|
-
},
|
|
47
|
-
"eslint-plugin-react-hooks": {
|
|
48
|
-
"eslint": ">=9"
|
|
49
|
-
}
|
|
32
|
+
"eslint": "10.5.0",
|
|
33
|
+
"semantic-release": "25.0.5"
|
|
50
34
|
}
|
|
51
35
|
}
|