@foray1010/eslint-config 11.0.0 → 11.0.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [11.0.2](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@11.0.1...@foray1010/eslint-config@11.0.2) (2023-08-30)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **tsconfig:** use correct module resolution for typescript 5.2.2 ([57f4054](https://github.com/foray1010/common-presets/commit/57f4054a891301e5c09e49c24d38da90b7b6d386))
11
+
12
+ ## [11.0.1](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@11.0.0...@foray1010/eslint-config@11.0.1) (2023-08-13)
13
+
14
+ ### Bug Fixes
15
+
16
+ - **deps:** update dependency eslint-plugin-testing-library to v6 ([2f9ae02](https://github.com/foray1010/common-presets/commit/2f9ae029f9032b8380dcccb3fb68f1d3f91bcce6))
17
+
6
18
  ## [11.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@10.5.1...@foray1010/eslint-config@11.0.0) (2023-08-10)
7
19
 
8
20
  ### ⚠ BREAKING CHANGES
package/bases/base.mjs CHANGED
@@ -25,9 +25,8 @@ async function generateTypeScriptConfig() {
25
25
  const eslintPluginTypescriptEslint = (
26
26
  await import('@typescript-eslint/eslint-plugin')
27
27
  ).default
28
- const typescriptEslintParser =
29
- // @ts-expect-error
30
- (await import('@typescript-eslint/parser')).default
28
+ const typescriptEslintParser = (await import('@typescript-eslint/parser'))
29
+ .default
31
30
  /* eslint-enable import/no-unresolved */
32
31
  const eslintPluginDeprecation = (await import('eslint-plugin-deprecation'))
33
32
  .default
package/bases/react.mjs CHANGED
@@ -82,14 +82,10 @@ const reactConfig = [
82
82
  eventModules: ['fire-event'],
83
83
  },
84
84
  ],
85
- // global flag /g holds state and might cause false-positives while querying for elements
86
- 'testing-library/no-global-regexp-flag-in-query': 'error',
87
85
  // explicitly assert the element to prevent reader missed the test cases
88
86
  'testing-library/prefer-explicit-assert': 'error',
89
87
  // prefer @testing-library/user-event over fireEvent
90
88
  'testing-library/prefer-user-event': 'error',
91
- // as `wait` is deprecated
92
- 'testing-library/prefer-wait-for': 'error',
93
89
  },
94
90
  },
95
91
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@foray1010/eslint-config",
4
- "version": "11.0.0",
4
+ "version": "11.0.2",
5
5
  "homepage": "https://github.com/foray1010/common-presets/tree/master/packages/eslint-config#readme",
6
6
  "bugs": "https://github.com/foray1010/common-presets/issues",
7
7
  "repository": {
@@ -39,7 +39,7 @@
39
39
  "eslint-plugin-react": "^7.32.2",
40
40
  "eslint-plugin-react-hooks": "^4.2.0",
41
41
  "eslint-plugin-simple-import-sort": "^10.0.0",
42
- "eslint-plugin-testing-library": "^5.10.2",
42
+ "eslint-plugin-testing-library": "^6.0.0",
43
43
  "eslint-plugin-unicorn": "^48.0.0",
44
44
  "globals": "^13.19.0"
45
45
  },
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "53eea83670d83a13b40cf0022f24badccfda681c"
70
+ "gitHead": "3d467bf363d8a14b4d4a0990b105dc0fef2b335a"
71
71
  }