@open-turo/eslint-config-typescript 15.0.0-pr-374.337.1.1 → 15.0.0-pr-374.338.1.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/index.js
CHANGED
|
@@ -103,6 +103,10 @@ module.exports = {
|
|
|
103
103
|
prefer: "type-imports",
|
|
104
104
|
},
|
|
105
105
|
],
|
|
106
|
+
/** We do not need to force people to wrap `void`-return implicit arrow returns with braces just for a lint rule. TypeScript alone covers functionality, by the return type being `void`. */
|
|
107
|
+
"@typescript-eslint/no-confusing-void-expression": "off",
|
|
108
|
+
/** Included as part of `strict-type-checked`, but nothing we want to enforce. */
|
|
109
|
+
"@typescript-eslint/no-deprecated": "off",
|
|
106
110
|
/** Prefers `import type {}` syntax over `import { type }` if all imports are type-only */
|
|
107
111
|
"@typescript-eslint/no-import-type-side-effects": "error",
|
|
108
112
|
"@typescript-eslint/no-unused-vars": [
|
package/package.json
CHANGED
|
@@ -704,10 +704,10 @@ exports[`validate config load config file in ESLint to validate all rules are co
|
|
|
704
704
|
"error",
|
|
705
705
|
],
|
|
706
706
|
"@typescript-eslint/no-confusing-void-expression": [
|
|
707
|
-
"
|
|
707
|
+
"off",
|
|
708
708
|
],
|
|
709
709
|
"@typescript-eslint/no-deprecated": [
|
|
710
|
-
"
|
|
710
|
+
"off",
|
|
711
711
|
],
|
|
712
712
|
"@typescript-eslint/no-duplicate-enum-values": [
|
|
713
713
|
"error",
|
|
Binary file
|