@cany748/eslint-config 7.0.2 → 7.0.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.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1065,7 +1065,7 @@ async function typescript(options = {}) {
1065
1065
  rules: {
1066
1066
  ...tsconfigPath ? {
1067
1067
  ...pluginTs.configs["recommended-type-checked-only"].rules,
1068
- "@typescript-eslint/no-confusing-void-expression": "error",
1068
+ "@typescript-eslint/no-confusing-void-expression": ["error", { ignoreArrowShorthand: true }],
1069
1069
  "@typescript-eslint/promise-function-async": "error",
1070
1070
  "@typescript-eslint/restrict-template-expressions": "off",
1071
1071
  "@typescript-eslint/strict-boolean-expressions": "off",
@@ -1100,13 +1100,17 @@ function unicorn() {
1100
1100
  "unicorn/no-asterisk-prefix-in-documentation-comments": "off",
1101
1101
  "unicorn/no-break-in-nested-loop": "off",
1102
1102
  "unicorn/no-computed-property-existence-check": "off",
1103
+ "unicorn/no-duplicate-loops": "off",
1104
+ "unicorn/no-mismatched-map-key": "off",
1103
1105
  "unicorn/no-null": "off",
1104
1106
  "unicorn/no-this-outside-of-class": "off",
1105
1107
  "unicorn/no-top-level-assignment-in-function": "off",
1106
1108
  "unicorn/no-top-level-side-effects": "off",
1107
1109
  "unicorn/no-unreadable-for-of-expression": "off",
1108
1110
  "unicorn/prefer-await": "off",
1111
+ "unicorn/prefer-continue": "off",
1109
1112
  "unicorn/prefer-dom-node-html-methods": "off",
1113
+ "unicorn/prefer-early-return": "off",
1110
1114
  "unicorn/prefer-global-this": "off",
1111
1115
  "unicorn/prefer-https": "off",
1112
1116
  "unicorn/prefer-simple-condition-first": "off",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cany748/eslint-config",
3
3
  "type": "module",
4
- "version": "7.0.2",
4
+ "version": "7.0.3",
5
5
  "exports": {
6
6
  ".": "./dist/index.mjs"
7
7
  },