@crycode/eslint-config 1.1.0 → 1.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ESLint config
2
2
 
3
- This modules provides an ESLint configuration to be used with TypeScript
3
+ This modules provides an ESLint configuration to be used with **TypeScript**
4
4
  according to my personal preferences.
5
5
 
6
6
  ## Usage
@@ -48,6 +48,16 @@ module.exports = {
48
48
  Placeholder for the next version (at the beginning of the line):
49
49
  ### **WORK IN PROGRESS**
50
50
  -->
51
+ ### 1.2.1 (2023-09-07)
52
+
53
+ * Replaced deprecated rule `@typescript-eslint/no-duplicate-imports` with `import/no-duplicates` (added dependency to `eslint-plugin-import`)
54
+ * Renamed rule `@typescript-eslint/no-parameter-properties` to `@typescript-eslint/parameter-properties`
55
+
56
+ ### 1.2.0 (2023-09-07)
57
+
58
+ * Fixed rule `@typescript-eslint/restrict-plus-operands`
59
+ * Updated dependencies
60
+
51
61
  ### 1.1.0 (2023-04-17)
52
62
 
53
63
  * Removed deprecated `private-abstract-*` from member ordering
package/eslint-config.js CHANGED
@@ -221,10 +221,10 @@ module.exports = {
221
221
  'no-console': 'error',
222
222
 
223
223
  'no-duplicate-imports': 'off',
224
- '@typescript-eslint/no-duplicate-imports': [
224
+ 'import/no-duplicates': [
225
225
  'error',
226
226
  {
227
- includeExports: true,
227
+ considerQueryString: true,
228
228
  },
229
229
  ],
230
230
 
@@ -250,7 +250,7 @@ module.exports = {
250
250
 
251
251
  '@typescript-eslint/no-namespace': 'error',
252
252
 
253
- '@typescript-eslint/no-parameter-properties': 'error',
253
+ '@typescript-eslint/parameter-properties': 'error',
254
254
 
255
255
  'no-redeclare': 'off',
256
256
  '@typescript-eslint/no-redeclare': 'error',
@@ -331,7 +331,6 @@ module.exports = {
331
331
  'error',
332
332
  {
333
333
  allowAny: true,
334
- checkCompoundAssignments: true,
335
334
  },
336
335
  ],
337
336
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crycode/eslint-config",
3
- "version": "1.1.0",
3
+ "version": "1.2.1",
4
4
  "description": "ESLint configuration to be used with TypeScript according to my personal preferences",
5
5
  "main": "eslint-config.js",
6
6
  "scripts": {
@@ -26,14 +26,15 @@
26
26
  "url": "https://github.com/crycode-de/eslint-config.git"
27
27
  },
28
28
  "dependencies": {
29
- "@typescript-eslint/eslint-plugin": "^5.58.0",
30
- "@typescript-eslint/parser": "^5.58.0"
29
+ "@typescript-eslint/eslint-plugin": "^6.6.0",
30
+ "@typescript-eslint/parser": "^6.6.0",
31
+ "eslint-plugin-import": "^2.28.1"
31
32
  },
32
33
  "peerDependencies": {
33
- "eslint": "^8.0.0"
34
+ "eslint": "^8.48.0"
34
35
  },
35
36
  "devDependencies": {
36
- "@alcalzone/release-script": "^3.5.9",
37
+ "@alcalzone/release-script": "^3.6.0",
37
38
  "@alcalzone/release-script-plugin-license": "^3.5.9",
38
39
  "@alcalzone/release-script-plugin-manual-review": "^3.5.9"
39
40
  }