@richardscull/eslint-config 1.0.4 → 1.0.6

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.js +8 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -240,7 +240,6 @@ function javaScriptConfigs({ strict, restrictedSyntax, linterOptions, settings }
240
240
  properties: true
241
241
  }
242
242
  ],
243
- "no-await-in-loop": "warn",
244
243
  "no-console": [
245
244
  "error",
246
245
  {
@@ -1035,7 +1034,14 @@ function unicornConfigs({ fileCase, preferESM }) {
1035
1034
  "unicorn/prefer-ternary": "off",
1036
1035
  "unicorn/prefer-add-event-listener": "off",
1037
1036
  "unicorn/number-literal-case": "off",
1038
- "unicorn/prefer-math-trunc": "off"
1037
+ "unicorn/prefer-math-trunc": "off",
1038
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1684#issuecomment-1008606965 -- There are valid use-cases for undefined in arguments
1039
+ "unicorn/no-useless-undefined": [
1040
+ "error",
1041
+ {
1042
+ checkArguments: false
1043
+ }
1044
+ ]
1039
1045
  }
1040
1046
  }
1041
1047
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@richardscull/eslint-config",
3
3
  "type": "module",
4
- "version": "1.0.4",
4
+ "version": "1.0.6",
5
5
  "packageManager": "pnpm@10.26.1",
6
6
  "description": "ESLint Config",
7
7
  "author": "richardscull, original by hyoban",