@boehringer-ingelheim/eslint-config 6.0.0-next.5 → 6.0.0-next.6

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/README.md CHANGED
@@ -68,7 +68,6 @@ This shared ESLint configuration is set up for TypeScript projects that adhere t
68
68
  The following plugins are used in this configuration:
69
69
 
70
70
  - [`@typescript-eslint/eslint-plugin`](https://typescript-eslint.io/rules/)
71
- - [`eslint-plugin-deprecation`](https://github.com/gund/eslint-plugin-deprecation)
72
71
  - [`eslint-plugin-import`](https://github.com/import-js/eslint-plugin-import)
73
72
  - [`eslint-plugin-sonarjs`](https://github.com/SonarSource/eslint-plugin-sonarjs)
74
73
 
package/base/index.js CHANGED
@@ -20,7 +20,6 @@ module.exports = {
20
20
  'eslint:recommended',
21
21
  'plugin:@typescript-eslint/recommended-type-checked',
22
22
  'plugin:@typescript-eslint/stylistic-type-checked',
23
- 'plugin:deprecation/recommended',
24
23
  'plugin:import/recommended',
25
24
  'plugin:import/typescript',
26
25
  'plugin:perfectionist/recommended-natural-legacy',
@@ -9,7 +9,8 @@ const SORT_IMPORTS_GROUPS = [
9
9
  ['external', 'external-type'],
10
10
  ['internal', 'internal-type'],
11
11
  ['parent', 'parent-type', 'sibling', 'sibling-type', 'index', 'index-type'],
12
- ['style', 'side-effect'],
12
+ 'style',
13
+ ['side-effect-style', 'side-effect'],
13
14
  'object',
14
15
  'unknown',
15
16
  ];
@@ -43,7 +44,7 @@ const SORT_INTERSECTION_TYPES_GROUPS = [
43
44
  'conditional',
44
45
  'function',
45
46
  'import',
46
- 'interseciont',
47
+ 'intersection',
47
48
  'union',
48
49
  'named',
49
50
  'keyword',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boehringer-ingelheim/eslint-config",
3
- "version": "6.0.0-next.5",
3
+ "version": "6.0.0-next.6",
4
4
  "description": "Shared eslint configuration used at Boehringer Ingelheim for code styling",
5
5
  "keywords": [
6
6
  "boehringer",
@@ -28,36 +28,35 @@
28
28
  "repair": "npx --no rimraf .git/hooks node_modules package-lock.json && npm install"
29
29
  },
30
30
  "peerDependencies": {
31
- "eslint": "^8.56.0"
31
+ "eslint": "^8.57.1"
32
32
  },
33
33
  "dependencies": {
34
- "@rushstack/eslint-patch": "^1.10.3",
35
- "@typescript-eslint/eslint-plugin": "^7.17.0",
36
- "@typescript-eslint/parser": "^7.17.0",
34
+ "@rushstack/eslint-patch": "^1.10.4",
35
+ "@typescript-eslint/eslint-plugin": "^8.18.0",
36
+ "@typescript-eslint/parser": "^8.18.0",
37
37
  "eslint-config-prettier": "^9.1.0",
38
- "eslint-import-resolver-typescript": "^3.6.1",
39
- "eslint-plugin-deprecation": "^3.0.0",
40
- "eslint-plugin-import": "^2.29.1",
41
- "eslint-plugin-jsx-a11y": "^6.9.0",
42
- "eslint-plugin-perfectionist": "^3.0.0",
43
- "eslint-plugin-playwright": "^1.6.2",
44
- "eslint-plugin-react": "^7.35.0",
45
- "eslint-plugin-react-hooks": "^4.6.2",
46
- "eslint-plugin-react-refresh": "^0.4.9",
47
- "eslint-plugin-sonarjs": "^1.0.4",
38
+ "eslint-import-resolver-typescript": "^3.7.0",
39
+ "eslint-plugin-import": "^2.31.0",
40
+ "eslint-plugin-jsx-a11y": "^6.10.2",
41
+ "eslint-plugin-perfectionist": "^4.3.0",
42
+ "eslint-plugin-playwright": "^2.1.0",
43
+ "eslint-plugin-react": "^7.37.2",
44
+ "eslint-plugin-react-hooks": "^5.1.0",
45
+ "eslint-plugin-react-refresh": "^0.4.16",
46
+ "eslint-plugin-sonarjs": "^3.0.1",
48
47
  "eslint-plugin-typescript-enum": "^2.1.0",
49
- "is-ci": "^3.0.1"
48
+ "is-ci": "^4.1.0"
50
49
  },
51
50
  "devDependencies": {
52
51
  "@boehringer-ingelheim/prettier-config": "2.0.0",
53
- "@commitlint/cli": "19.3.0",
54
- "@commitlint/config-conventional": "19.2.2",
55
- "@commitlint/types": "19.0.3",
52
+ "@commitlint/cli": "19.6.0",
53
+ "@commitlint/config-conventional": "19.6.0",
54
+ "@commitlint/types": "19.5.0",
56
55
  "@semantic-release/changelog": "6.0.3",
57
56
  "@semantic-release/git": "10.0.1",
58
- "dotenv-cli": "7.4.2",
59
- "husky": "9.1.1",
60
- "prettier": "3.3.3",
61
- "semantic-release": "24.0.0"
57
+ "dotenv-cli": "7.4.4",
58
+ "husky": "9.1.7",
59
+ "prettier": "3.4.2",
60
+ "semantic-release": "24.2.0"
62
61
  }
63
62
  }
package/react/index.js CHANGED
@@ -28,7 +28,7 @@ module.exports = {
28
28
  plugins: ['jsx-a11y', 'react', 'react-hooks', 'react-refresh', 'typescript-enum'],
29
29
  rules: {
30
30
  // @typescript-eslint: https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/eslint-plugin/docs/rules
31
- '@typescript-eslint/ban-types': [
31
+ '@typescript-eslint/no-restricted-types': [
32
32
  'error',
33
33
  {
34
34
  types: {
@@ -58,7 +58,7 @@ module.exports = {
58
58
  'perfectionist/sort-imports': [
59
59
  'error',
60
60
  {
61
- 'custom-groups': {
61
+ customGroups: {
62
62
  type: {
63
63
  react: ['react'],
64
64
  },
@@ -67,20 +67,20 @@ module.exports = {
67
67
  },
68
68
  },
69
69
  groups: ['react', ...SORT_IMPORTS_GROUPS],
70
- 'ignore-case': true,
71
- 'newlines-between': 'ignore',
70
+ ignoreCase: true,
71
+ newlinesBetween: 'ignore',
72
72
  type: 'natural',
73
73
  },
74
74
  ],
75
75
  'perfectionist/sort-jsx-props': [
76
76
  'error',
77
77
  {
78
- 'custom-groups': {
78
+ customGroups: {
79
79
  callback: 'on*',
80
80
  reservedProps: ['children', 'dangerouslySetInnerHTML', 'key', 'ref'], // Reserved props from: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/lib/rules/jsx-sort-props.js#L40C12-L40C12
81
81
  },
82
82
  groups: ['reservedProps', 'unknown', 'callback'],
83
- 'ignore-case': true,
83
+ ignoreCase: true,
84
84
  type: 'natural',
85
85
  },
86
86
  ],