@nihalgonsalves/esconfig 0.10.18 → 0.10.20

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.
@@ -13,7 +13,6 @@ export default tseslint.config(
13
13
  ...sharedConfig,
14
14
  // @ts-expect-error wrong types
15
15
  react.configs.flat.recommended,
16
- // @ts-expect-error wrong types
17
16
  react.configs.flat["jsx-runtime"],
18
17
  {
19
18
  plugins: {
@@ -44,12 +44,8 @@ export default tseslint.config(
44
44
  ],
45
45
  "@typescript-eslint/class-methods-use-this": "error",
46
46
  "@typescript-eslint/default-param-last": ["error"],
47
- "@typescript-eslint/no-dupe-class-members": ["error"],
48
- "@typescript-eslint/no-loss-of-precision": ["error"],
49
47
  "@typescript-eslint/no-loop-func": ["error"],
50
- "@typescript-eslint/no-redeclare": ["error"],
51
48
  "@typescript-eslint/no-shadow": ["error"],
52
- "@typescript-eslint/only-throw-error": ["error"],
53
49
  "@typescript-eslint/no-unused-expressions": [
54
50
  "error",
55
51
  {
@@ -76,7 +72,6 @@ export default tseslint.config(
76
72
  variables: true,
77
73
  },
78
74
  ],
79
- "@typescript-eslint/return-await": ["error", "in-try-catch"],
80
75
  "import/extensions": [
81
76
  "error",
82
77
  "ignorePackages",
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@nihalgonsalves/esconfig",
3
- "version": "0.10.18",
3
+ "version": "0.10.20",
4
4
  "description": "Shared ECMAScript Config (TS, Lint, Prettier)",
5
5
  "main": "index.js",
6
6
  "repository": "git@github.com:nihalgonsalves/esconfig.git",
7
7
  "author": "Nihal Gonsalves <nihal@nihalgonsalves.com>",
8
8
  "license": "MIT",
9
9
  "type": "module",
10
- "packageManager": "yarn@4.5.1+sha512.341db9396b6e289fecc30cd7ab3af65060e05ebff4b3b47547b278b9e67b08f485ecd8c79006b405446262142c7a38154445ef7f17c1d5d1de7d90bf9ce7054d",
10
+ "packageManager": "yarn@4.6.0+sha512.5383cc12567a95f1d668fbe762dfe0075c595b4bfff433be478dbbe24e05251a8e8c3eb992a986667c1d53b6c3a9c85b8398c35a960587fbd9fa3a0915406728",
11
11
  "files": [
12
12
  "eslint.config.shared.js",
13
13
  "eslint.config.shared.d.ts",
@@ -22,24 +22,24 @@
22
22
  "format:check": "prettier . --check"
23
23
  },
24
24
  "dependencies": {
25
- "@eslint/js": "^9.17.0",
26
- "eslint-config-prettier": "^9.1.0",
25
+ "@eslint/js": "^9.19.0",
26
+ "eslint-config-prettier": "^10.0.1",
27
27
  "eslint-plugin-import": "^2.31.0",
28
28
  "eslint-plugin-jsx-a11y": "^6.10.2",
29
- "eslint-plugin-react": "^7.37.2",
29
+ "eslint-plugin-react": "^7.37.4",
30
30
  "eslint-plugin-react-hooks": "^5.1.0",
31
- "typescript-eslint": "^8.18.0"
31
+ "typescript-eslint": "^8.22.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@commitlint/cli": "^19.6.1",
35
35
  "@commitlint/config-conventional": "^19.6.0",
36
36
  "@types/eslint__js": "^8.42.3",
37
- "@types/node": "^22.10.2",
38
- "eslint": "^9.17.0",
39
- "knip": "^5.40.0",
40
- "lefthook": "^1.9.2",
37
+ "@types/node": "^22.13.0",
38
+ "eslint": "^9.19.0",
39
+ "knip": "^5.43.6",
40
+ "lefthook": "^1.10.10",
41
41
  "prettier": "^3.4.2",
42
- "typescript": "^5.7.2"
42
+ "typescript": "^5.7.3"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "eslint": "^9.17.0",