@foray1010/eslint-config 12.2.1 → 12.2.3

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,22 @@
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
+ ## [12.2.3](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@12.2.2...@foray1010/eslint-config@12.2.3) (2024-06-09)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **deps:** update dependency eslint-plugin-deprecation to v3 ([d2ffb11](https://github.com/foray1010/common-presets/commit/d2ffb11d25e0cac54d37fb0b100d2f75f72483fa))
11
+ - **deps:** update dependency eslint-plugin-unicorn to v53 ([6f4d23b](https://github.com/foray1010/common-presets/commit/6f4d23b7e4c7e018a214bb4ad1bd9aa7c316426e))
12
+
13
+ ## [12.2.2](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@12.2.1...@foray1010/eslint-config@12.2.2) (2024-04-15)
14
+
15
+ ### Bug Fixes
16
+
17
+ - **deps:** update dependency eslint-plugin-jest to v28 ([0d33212](https://github.com/foray1010/common-presets/commit/0d33212d6bc5580bb8c343344ba8a8b94483b35e))
18
+ - **deps:** update dependency eslint-plugin-n to v17 ([dfe3c52](https://github.com/foray1010/common-presets/commit/dfe3c5235c183c0969ebf52a6416ed5706662a30))
19
+ - **deps:** update dependency eslint-plugin-unicorn to v52 ([eceff49](https://github.com/foray1010/common-presets/commit/eceff4900909ca6854ae40d05f64dd3472d0cd66))
20
+ - **deps:** update dependency globals to v15 ([0a2d0c4](https://github.com/foray1010/common-presets/commit/0a2d0c43fae049fbcec9d4f3ec3a48245706872a))
21
+
6
22
  ## [12.2.1](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@12.2.0...@foray1010/eslint-config@12.2.1) (2024-03-13)
7
23
 
8
24
  ### Bug Fixes
package/bases/base.mjs CHANGED
@@ -56,6 +56,7 @@ async function generateTypeScriptConfig() {
56
56
  '@typescript-eslint': eslintPluginTypescriptEslint,
57
57
  // @ts-expect-error
58
58
  deprecation: eslintPluginDeprecation,
59
+ // @ts-expect-error
59
60
  functional: eslintPluginFunctional,
60
61
  },
61
62
  rules: {
@@ -306,7 +307,12 @@ const baseConfig = [
306
307
  rules: {
307
308
  ...eslintPluginEslintComments.configs['recommended']?.rules,
308
309
  ...eslintPluginImport.configs['recommended']?.rules,
309
- ...eslintPluginRegexp.configs['recommended']?.rules,
310
+ ...(() => {
311
+ const rules = eslintPluginRegexp.configs['recommended']?.rules
312
+ return /** @type {import('eslint').Linter.RulesRecord} */ (
313
+ /** @type {unknown} */ (rules)
314
+ )
315
+ })(),
310
316
  ...Object.fromEntries(
311
317
  Object.entries(
312
318
  eslintPluginUnicorn.configs['flat/recommended']?.rules ?? {},
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": "12.2.1",
4
+ "version": "12.2.3",
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": {
@@ -29,28 +29,28 @@
29
29
  "eslint-config-prettier": "^9.0.0",
30
30
  "eslint-import-resolver-typescript": "^3.6.1",
31
31
  "eslint-plugin-compat": "^4.2.0",
32
- "eslint-plugin-deprecation": "^2.0.0",
32
+ "eslint-plugin-deprecation": "^3.0.0",
33
33
  "eslint-plugin-functional": "^6.0.0",
34
34
  "eslint-plugin-import": "^2.29.0",
35
- "eslint-plugin-jest": "^27.6.0",
35
+ "eslint-plugin-jest": "^28.0.0",
36
36
  "eslint-plugin-jest-dom": "^5.1.0",
37
- "eslint-plugin-n": "^16.3.1",
37
+ "eslint-plugin-n": "^17.0.0",
38
38
  "eslint-plugin-prettier": "^5.0.1",
39
39
  "eslint-plugin-react": "^7.33.2",
40
40
  "eslint-plugin-react-hooks": "^4.6.0",
41
41
  "eslint-plugin-regexp": "^2.1.1",
42
42
  "eslint-plugin-simple-import-sort": "^12.0.0",
43
43
  "eslint-plugin-testing-library": "^6.1.2",
44
- "eslint-plugin-unicorn": "^51.0.0",
45
- "globals": "^14.0.0"
44
+ "eslint-plugin-unicorn": "^53.0.0",
45
+ "globals": "^15.0.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/confusing-browser-globals": "1.0.3",
49
- "@types/eslint": "8.56.5",
49
+ "@types/eslint": "8.56.10",
50
50
  "@types/eslint__js": "8.42.3"
51
51
  },
52
52
  "peerDependencies": {
53
- "@testing-library/dom": "^9.0.0",
53
+ "@testing-library/dom": "^10.0.0",
54
54
  "eslint": "^8.52.0",
55
55
  "prettier": "^3.0.0",
56
56
  "typescript": "^5.0.2"
@@ -69,5 +69,5 @@
69
69
  "publishConfig": {
70
70
  "access": "public"
71
71
  },
72
- "gitHead": "8dc6648dafb37c604313d8e06a340044483d58f1"
72
+ "gitHead": "174cbacf95dbe42da4b06de9a009096c2eb7a196"
73
73
  }