@tucchi-/eslint-config 1.1.1 → 1.2.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.
Files changed (2) hide show
  1. package/index.js +1 -0
  2. package/package.json +2 -6
package/index.js CHANGED
@@ -32,6 +32,7 @@ export default function modernConfig(options = {}) {
32
32
 
33
33
  // Function style
34
34
  "func-style": ["error", "expression"], // arrow function > function
35
+ "no-ternary": "error", // if/else > ternary
35
36
 
36
37
  // Complexity
37
38
  "max-depth": ["error", maxDepth],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tucchi-/eslint-config",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "description": "Modern ESLint config with TypeScript strict, unicorn, and complexity rules",
5
5
  "author": "tucchi-",
6
6
  "license": "MIT",
@@ -31,8 +31,4 @@
31
31
  "globals": "^15.0.0 || ^16.0.0 || ^17.0.0",
32
32
  "typescript": "^5.0.0",
33
33
  "typescript-eslint": "^8.0.0"
34
- },
35
- "devDependencies": {
36
- "@tucchi-/eslint-config": "file:tucchi--eslint-config-1.1.0.tgz"
37
- }
38
- }
34
+ }}