@boehringer-ingelheim/eslint-config 7.0.0-next.1 → 7.0.0-typescript-eslint-parser-options.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 (2) hide show
  1. package/configs/base.js +6 -6
  2. package/package.json +1 -1
package/configs/base.js CHANGED
@@ -22,7 +22,7 @@ module.exports = tseslint.config(
22
22
  languageOptions: {
23
23
  parserOptions: {
24
24
  // find the tsconfig.json nearest each source file
25
- project: true,
25
+ projectService: true,
26
26
  },
27
27
  },
28
28
  linterOptions: {
@@ -95,14 +95,14 @@ module.exports = tseslint.config(
95
95
  'perfectionist/sort-classes': [
96
96
  'error',
97
97
  {
98
- ...perfectionist.configs['recommended-natural-legacy'].rules['perfectionist/sort-classes'][1],
98
+ ...perfectionist.configs['recommended-natural'].rules['perfectionist/sort-classes'][1],
99
99
  groups: SORT_CLASSES_GROUPS,
100
100
  },
101
101
  ],
102
102
  'perfectionist/sort-imports': [
103
103
  'error',
104
104
  {
105
- ...perfectionist.configs['recommended-natural-legacy'].rules['perfectionist/sort-imports'][1],
105
+ ...perfectionist.configs['recommended-natural'].rules['perfectionist/sort-imports'][1],
106
106
  groups: SORT_IMPORTS_GROUPS,
107
107
  newlinesBetween: 'ignore',
108
108
  },
@@ -110,21 +110,21 @@ module.exports = tseslint.config(
110
110
  'perfectionist/sort-intersection-types': [
111
111
  'error',
112
112
  {
113
- ...perfectionist.configs['recommended-natural-legacy'].rules['perfectionist/sort-intersection-types'][1],
113
+ ...perfectionist.configs['recommended-natural'].rules['perfectionist/sort-intersection-types'][1],
114
114
  groups: SORT_INTERSECTION_TYPES_GROUPS,
115
115
  },
116
116
  ],
117
117
  'perfectionist/sort-named-imports': [
118
118
  'error',
119
119
  {
120
- ...perfectionist.configs['recommended-natural-legacy'].rules['perfectionist/sort-named-imports'][1],
120
+ ...perfectionist.configs['recommended-natural'].rules['perfectionist/sort-named-imports'][1],
121
121
  ignoreAlias: true,
122
122
  },
123
123
  ],
124
124
  'perfectionist/sort-objects': [
125
125
  'error',
126
126
  {
127
- ...perfectionist.configs['recommended-natural-legacy'].rules['perfectionist/sort-objects'][1],
127
+ ...perfectionist.configs['recommended-natural'].rules['perfectionist/sort-objects'][1],
128
128
  partitionByComment: true,
129
129
  },
130
130
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boehringer-ingelheim/eslint-config",
3
- "version": "7.0.0-next.1",
3
+ "version": "7.0.0-typescript-eslint-parser-options.1",
4
4
  "description": "Shared eslint configuration used at Boehringer Ingelheim for code styling",
5
5
  "keywords": [
6
6
  "boehringer",