@maz-ui/eslint-config 4.0.0-beta.6 → 4.0.0-beta.7

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 +6 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -22,7 +22,11 @@ function baseRules(isProduction) {
22
22
  // Allow reasonable complexity
23
23
  "complexity": ["error", { max: 20 }],
24
24
  "max-depth": ["error", { max: 4 }],
25
- "max-nested-callbacks": ["error", { max: 3 }]
25
+ "max-nested-callbacks": ["error", { max: 3 }],
26
+ // Unicorn
27
+ "unicorn/prefer-global-this": "error",
28
+ // Test
29
+ "test/prefer-lowercase-title": "off"
26
30
  };
27
31
  }
28
32
 
@@ -80,6 +84,7 @@ const defaultOptions = {
80
84
  typescript: true,
81
85
  sonarjs: true,
82
86
  tailwindcss: false,
87
+ unicorn: true,
83
88
  ignores: ["dist/**", "node_modules/**"],
84
89
  rules: {}
85
90
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maz-ui/eslint-config",
3
3
  "type": "module",
4
- "version": "4.0.0-beta.6",
4
+ "version": "4.0.0-beta.7",
5
5
  "description": "ESLint configuration for JavaScript/TypeScript projects",
6
6
  "author": "Louis Mazel <me@loicmazuel.com>",
7
7
  "license": "MIT",
@@ -81,5 +81,5 @@
81
81
  "eslint --fix"
82
82
  ]
83
83
  },
84
- "gitHead": "bbff6fcfca7d47dd8f8024b69ac787b66ba0b65e"
84
+ "gitHead": "b64fa54fbf3c645a1f2009f44c50da350bd8461e"
85
85
  }