eslint-config-tamia 9.2.1 → 9.2.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eslint-config-tamia",
3
3
  "description": "Tâmia ESLint config",
4
- "version": "9.2.1",
4
+ "version": "9.2.2",
5
5
  "type": "module",
6
6
  "main": "index.mjs",
7
7
  "exports": {
package/rules/unicorn.mjs CHANGED
@@ -14,6 +14,9 @@ export default [
14
14
  'unicorn/no-null': 'off',
15
15
  // I don't need this
16
16
  'unicorn/no-process-exit': 'off',
17
+ // Prevents explicitly exporting `undefined` as a value:
18
+ // `return x.length > 0 x : undefined`
19
+ 'unicorn/no-useless-undefined': 'off',
17
20
  // This breaks a lot of code, like `typeof window` to detect that
18
21
  // we're in the browser
19
22
  'unicorn/prefer-global-this': 'off',