@tucchi-/eslint-config 1.1.0 → 1.1.1

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 -8
  2. package/package.json +4 -1
package/index.js CHANGED
@@ -3,14 +3,7 @@ import tseslint from "typescript-eslint";
3
3
  import unicorn from "eslint-plugin-unicorn";
4
4
  import globals from "globals";
5
5
 
6
- /**
7
- * Modern ESLint config with strict TypeScript and unicorn rules
8
- * @param {Object} options
9
- * @param {string[]} [options.files] - File patterns to lint (default: ["src/**/*.ts"])
10
- * @param {string[]} [options.ignores] - Patterns to ignore
11
- * @param {number} [options.maxDepth] - Maximum nesting depth (default: 1, no nesting allowed)
12
- * @param {Object} [options.rules] - Additional rules to override
13
- */
6
+ // Modern ESLint config with strict TypeScript and unicorn rules
14
7
  export default function modernConfig(options = {}) {
15
8
  const {
16
9
  files = ["src/**/*.ts", "**/*.ts"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tucchi-/eslint-config",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Modern ESLint config with TypeScript strict, unicorn, and complexity rules",
5
5
  "author": "tucchi-",
6
6
  "license": "MIT",
@@ -31,5 +31,8 @@
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"
34
37
  }
35
38
  }