eslint-config-gits 3.1.2 → 4.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/index.js +2 -0
  3. package/package.json +11 -10
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## [4.0.1](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v4.0.0...v4.0.1) (2024-03-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Add @typescript-eslint/eslint-plugin peer dependency ([191d108](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/191d108e0958021097ef6658c4bbcaafd045f679))
7
+
8
+ # [4.0.0](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v3.1.2...v4.0.0) (2024-03-05)
9
+
10
+
11
+ ### Features
12
+
13
+ * Set error for undefined ([89ec1a3](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/89ec1a347d7c98cee744dc7c69b34e658504d00c))
14
+ * Set error for unused var ([7b81f3c](https://gitlab.com/geenen-it-systeme/eslint-preset/commit/7b81f3c6af317e6b28090cf98e6b4470dcb32bdb))
15
+
16
+
17
+ ### BREAKING CHANGES
18
+
19
+ * Forbid undefined as type or value
20
+
1
21
  ## [3.1.2](https://gitlab.com/geenen-it-systeme/eslint-preset/compare/v3.1.1...v3.1.2) (2023-11-27)
2
22
 
3
23
 
package/index.js CHANGED
@@ -15,6 +15,7 @@ module.exports = {
15
15
  sourceType: 'module',
16
16
  },
17
17
  rules: {
18
+ 'no-undefined': 'error',
18
19
  'prettier/prettier': [
19
20
  'error',
20
21
  {
@@ -46,6 +47,7 @@ module.exports = {
46
47
  variableDeclarationIgnoreFunction: true,
47
48
  },
48
49
  ],
50
+ '@typescript-eslint/no-unused-vars': 'error',
49
51
  'default-param-last': ['error']
50
52
  },
51
53
  overrides: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-gits",
3
- "version": "3.1.2",
3
+ "version": "4.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.js",
@@ -19,20 +19,21 @@
19
19
  "eslint-plugin-react": "^7",
20
20
  "eslint-plugin-react-hooks": "^4",
21
21
  "eslint-plugin-storybook": "^0",
22
- "prettier": "^2"
22
+ "prettier": "^2",
23
+ "@typescript-eslint/eslint-plugin": "^5"
23
24
  },
24
25
  "devDependencies": {
25
26
  "@semantic-release/changelog": "^6.0.3",
26
27
  "@semantic-release/git": "^10.0.1",
27
- "@semantic-release/gitlab": "^12.0.1",
28
- "@typescript-eslint/eslint-plugin": "^5.59.0",
29
- "@typescript-eslint/parser": "^5.59.0",
30
- "eslint": "^8.38.0",
28
+ "@semantic-release/gitlab": "^12.1.1",
29
+ "@typescript-eslint/eslint-plugin": "^5.62.0",
30
+ "@typescript-eslint/parser": "^5.62.0",
31
+ "eslint": "^8.57.0",
31
32
  "eslint-plugin-prettier": "^4.2.1",
32
- "eslint-plugin-react": "^7.32.2",
33
+ "eslint-plugin-react": "^7.34.1",
33
34
  "eslint-plugin-react-hooks": "^4.6.0",
34
- "eslint-plugin-storybook": "^0.6.11",
35
- "prettier": "^2.8.7",
36
- "semantic-release": "^21.0.1"
35
+ "eslint-plugin-storybook": "^0.8.0",
36
+ "prettier": "^2.8.8",
37
+ "semantic-release": "^21.1.2"
37
38
  }
38
39
  }