@joshuaavalon/eslint-config-typescript 8.0.0 → 8.0.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
@@ -25,7 +25,7 @@ import tsConfig from "@joshuaavalon/eslint-config-typescript";
25
25
  languageOptions: {
26
26
  parser: typescript.parser,
27
27
  parserOptions: {
28
- project: true,
28
+ projectService: true,
29
29
  tsconfigDirName: import.meta.dirname
30
30
  },
31
31
  globals: {
package/dist/cjs/index.js CHANGED
@@ -17,12 +17,10 @@ const extensionRules = {
17
17
  "@typescript-eslint/no-implied-eval": "error",
18
18
  "no-loop-func": "off",
19
19
  "@typescript-eslint/no-loop-func": "error",
20
- "no-loss-of-precision": "off",
21
- "@typescript-eslint/no-loss-of-precision": "error",
22
20
  "no-redeclare": "off",
23
21
  "@typescript-eslint/no-redeclare": "error",
24
22
  "no-throw-literal": "off",
25
- "@typescript-eslint/no-throw-literal": "off",
23
+ "@typescript-eslint/only-throw-error": "error",
26
24
  "no-unused-expressions": "off",
27
25
  "@typescript-eslint/no-unused-expressions": "error",
28
26
  "no-unused-vars": "off",
@@ -57,7 +55,9 @@ const rules$1 = {
57
55
  "@typescript-eslint/adjacent-overload-signatures": "error",
58
56
  "@typescript-eslint/array-type": "error",
59
57
  "@typescript-eslint/await-thenable": "error",
60
- "@typescript-eslint/ban-types": "error",
58
+ "@typescript-eslint/no-empty-object-type": "error",
59
+ "@typescript-eslint/no-unsafe-function-type": "error",
60
+ "@typescript-eslint/no-wrapper-object-types": "error",
61
61
  "@typescript-eslint/consistent-generic-constructors": "error",
62
62
  "@typescript-eslint/consistent-type-exports": "error",
63
63
  "@typescript-eslint/consistent-type-imports": "error",
@@ -148,7 +148,6 @@ const rules$1 = {
148
148
  "@typescript-eslint/no-unsafe-member-access": "off",
149
149
  "@typescript-eslint/no-unsafe-return": "off",
150
150
  "@typescript-eslint/no-useless-empty-export": "error",
151
- "@typescript-eslint/no-var-requires": "error",
152
151
  "@typescript-eslint/non-nullable-type-assertion-style": "error",
153
152
  "@typescript-eslint/parameter-properties": "error",
154
153
  "@typescript-eslint/prefer-as-const": "error",
package/dist/esm/index.js CHANGED
@@ -15,12 +15,10 @@ const extensionRules = {
15
15
  "@typescript-eslint/no-implied-eval": "error",
16
16
  "no-loop-func": "off",
17
17
  "@typescript-eslint/no-loop-func": "error",
18
- "no-loss-of-precision": "off",
19
- "@typescript-eslint/no-loss-of-precision": "error",
20
18
  "no-redeclare": "off",
21
19
  "@typescript-eslint/no-redeclare": "error",
22
20
  "no-throw-literal": "off",
23
- "@typescript-eslint/no-throw-literal": "off",
21
+ "@typescript-eslint/only-throw-error": "error",
24
22
  "no-unused-expressions": "off",
25
23
  "@typescript-eslint/no-unused-expressions": "error",
26
24
  "no-unused-vars": "off",
@@ -55,7 +53,9 @@ const rules$1 = {
55
53
  "@typescript-eslint/adjacent-overload-signatures": "error",
56
54
  "@typescript-eslint/array-type": "error",
57
55
  "@typescript-eslint/await-thenable": "error",
58
- "@typescript-eslint/ban-types": "error",
56
+ "@typescript-eslint/no-empty-object-type": "error",
57
+ "@typescript-eslint/no-unsafe-function-type": "error",
58
+ "@typescript-eslint/no-wrapper-object-types": "error",
59
59
  "@typescript-eslint/consistent-generic-constructors": "error",
60
60
  "@typescript-eslint/consistent-type-exports": "error",
61
61
  "@typescript-eslint/consistent-type-imports": "error",
@@ -146,7 +146,6 @@ const rules$1 = {
146
146
  "@typescript-eslint/no-unsafe-member-access": "off",
147
147
  "@typescript-eslint/no-unsafe-return": "off",
148
148
  "@typescript-eslint/no-useless-empty-export": "error",
149
- "@typescript-eslint/no-var-requires": "error",
150
149
  "@typescript-eslint/non-nullable-type-assertion-style": "error",
151
150
  "@typescript-eslint/parameter-properties": "error",
152
151
  "@typescript-eslint/prefer-as-const": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joshuaavalon/eslint-config-typescript",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
4
4
  "description": "Shareable ESLint Typescript config.",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.js",
@@ -34,7 +34,7 @@
34
34
  "url": "https://github.com/joshuaavalon/eslint-config/issues"
35
35
  },
36
36
  "dependencies": {
37
- "@joshuaavalon/eslint-config-javascript": "^8.0.0",
37
+ "@joshuaavalon/eslint-config-javascript": "^8.0.1",
38
38
  "typescript-eslint": "^8.0.0-alpha.60"
39
39
  },
40
40
  "peerDependencies": {