-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathlint-errors.txt
More file actions
53 lines (42 loc) · 2.07 KB
/
lint-errors.txt
File metadata and controls
53 lines (42 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
================================================================================
ESLint / Lint Error Report
Generated from: npm run lint 2>&1 | head -500 and npm run lint 2>&1 | tail -500
Project: cortex-desktop (Cortex IDE)
================================================================================
--- Command: npm run lint 2>&1 | head -500 ---
npm error Missing script: "lint"
npm error
npm error Did you mean this?
npm error npm link # Symlink a package folder
--- Command: npm run lint 2>&1 | tail -500 ---
(same output as above — no lint script exists)
RESULT: NO LINTER CONFIGURED
The project does not have an ESLint configuration file. There is no:
- eslint.config.js / eslint.config.mjs / eslint.config.cjs (ESLint v9+ flat config)
- .eslintrc.js / .eslintrc.json / .eslintrc.yml (ESLint v8 legacy config)
There is no "lint" script in package.json. Available scripts are:
- dev, build, build:analyze, preview
- tauri, tauri:dev, tauri:build
- typecheck (tsc --noEmit)
- test, test:watch, test:ui, test:coverage
ESLint is not listed in package.json dependencies or devDependencies.
Attempting to run `npx eslint src/` installs ESLint v10.0.2 on the fly,
which then fails with:
"ESLint couldn't find an eslint.config.(js|mjs|cjs) file."
No other linting tools (Biome, Prettier with lint rules, dprint, etc.) are
configured at the project root.
================================================================================
Recommendation
================================================================================
The project relies solely on TypeScript's built-in checks via `tsc --noEmit`
with strict mode enabled. Consider adding ESLint with:
- @typescript-eslint/parser
- @typescript-eslint/eslint-plugin
- eslint-plugin-solid (for SolidJS-specific rules)
- eslint-config-prettier (if Prettier is used)
This would catch issues like:
- Unused imports (beyond what noUnusedLocals catches)
- Consistent type imports (import type vs import)
- No floating promises
- Exhaustive switch/case
- SolidJS reactivity rules (e.g., no destructuring of props)