@dhzh/eslint-config 1.11.0 → 1.12.0
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/dist/cli/index.cjs +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/index.cjs +6 -0
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/dist/cli/index.cjs
CHANGED
package/dist/cli/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -660,6 +660,12 @@ function typescript(options = {}) {
|
|
|
660
660
|
}
|
|
661
661
|
],
|
|
662
662
|
"@typescript-eslint/prefer-nullish-coalescing": "off",
|
|
663
|
+
"@typescript-eslint/no-confusing-void-expression": [
|
|
664
|
+
"error",
|
|
665
|
+
{
|
|
666
|
+
ignoreArrowShorthand: true
|
|
667
|
+
}
|
|
668
|
+
],
|
|
663
669
|
...typeSafe ? {} : {
|
|
664
670
|
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
665
671
|
"@typescript-eslint/no-unsafe-member-access": "off",
|
package/dist/index.js
CHANGED
|
@@ -624,6 +624,12 @@ function typescript(options = {}) {
|
|
|
624
624
|
}
|
|
625
625
|
],
|
|
626
626
|
"@typescript-eslint/prefer-nullish-coalescing": "off",
|
|
627
|
+
"@typescript-eslint/no-confusing-void-expression": [
|
|
628
|
+
"error",
|
|
629
|
+
{
|
|
630
|
+
ignoreArrowShorthand: true
|
|
631
|
+
}
|
|
632
|
+
],
|
|
627
633
|
...typeSafe ? {} : {
|
|
628
634
|
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
629
635
|
"@typescript-eslint/no-unsafe-member-access": "off",
|