@tucchi-/eslint-config 1.3.0 → 1.5.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.
package/index.js CHANGED
@@ -43,6 +43,7 @@ export default function modernConfig(options = {}) {
43
43
  "max-depth": ["error", maxDepth],
44
44
  "max-nested-callbacks": ["error", 1],
45
45
  complexity: ["error", 5],
46
+ "max-lines": ["error", { max: 200, skipBlankLines: true, skipComments: true }],
46
47
 
47
48
  // User overrides
48
49
  ...rules,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tucchi-/eslint-config",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "description": "Modern ESLint config with TypeScript strict, unicorn, and complexity rules",
5
5
  "author": "tucchi-",
6
6
  "license": "MIT",
@@ -10,7 +10,8 @@
10
10
  ".": "./index.js"
11
11
  },
12
12
  "files": [
13
- "index.js"
13
+ "index.js",
14
+ "tsconfig.recommended.json"
14
15
  ],
15
16
  "keywords": [
16
17
  "eslint",
@@ -31,4 +32,8 @@
31
32
  "globals": "^15.0.0 || ^16.0.0 || ^17.0.0",
32
33
  "typescript": "^5.0.0",
33
34
  "typescript-eslint": "^8.0.0"
34
- }}
35
+ },
36
+ "devDependencies": {
37
+ "@tucchi-/eslint-config": "1.4.0"
38
+ }
39
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ "lib": ["ESNext", "DOM", "DOM.Iterable"],
5
+ "target": "ESNext",
6
+ "module": "Preserve",
7
+ "moduleDetection": "force",
8
+ "jsx": "react-jsx",
9
+ "allowJs": true,
10
+
11
+ "moduleResolution": "bundler",
12
+ "allowImportingTsExtensions": true,
13
+ "verbatimModuleSyntax": true,
14
+ "noEmit": true,
15
+
16
+ "strict": true,
17
+ "skipLibCheck": true,
18
+ "noFallthroughCasesInSwitch": true,
19
+ "noUncheckedIndexedAccess": true,
20
+ "noImplicitOverride": true,
21
+
22
+ "noUnusedLocals": false,
23
+ "noUnusedParameters": false,
24
+ "noPropertyAccessFromIndexSignature": false
25
+ }
26
+ }