Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble getting it working #15

Open
binary64 opened this issue Dec 19, 2021 · 0 comments
Open

Trouble getting it working #15

binary64 opened this issue Dec 19, 2021 · 0 comments

Comments

@binary64
Copy link

Hi, I love the idea of this project. I'm trying to get it working in an Nx repo:

$ npx nocuous "{apps,libs}/**/*.{ts,tsx}"

nocuous - A static code analysis tool for JavaScript and TypeScript.

- Analyzing "{apps,libs}/**/*.{ts,tsx}"

Root path: C:/p/myapp/

┌────────────────────────────────────────────────────────────────┬───┬─────┬────┬────┬────┬─────┬───────┐
│ Path                                                           │ L │ AIL │ FL │ CC │ ID │ BEC │ Total │
├────────────────────────────────────────────────────────────────┼───┼─────┼────┼────┼────┼─────┼───────┤
│ apps/web/index.d.ts                                            │   │     │    │    │    │     │ 0     │
│ apps/web/next-env.d.ts                                         │   │     │    │    │    │     │ 0     │
│ apps/web-e2e/src/integration/app.spec.ts                       │   │     │    │    │    │     │ 0     │
│ apps/web-e2e/src/support/app.po.ts                             │   │     │    │    │    │     │ 0     │
│ apps/web-e2e/src/support/commands.ts                           │   │     │    │    │    │     │ 0     │
│ apps/web-e2e/src/support/index.ts                              │   │     │    │    │    │     │ 0     │
│ apps/web/components/my-component-one/my-component-one.spec.tsx │   │     │    │    │    │     │ 0     │
│ apps/web/components/my-component-one/my-component-one.tsx      │   │     │    │    │    │     │ 0     │
│ apps/web/pages/_app.tsx                                        │   │     │    │    │    │     │ 0     │
│ apps/web/pages/index.tsx                                       │   │     │    │    │    │     │ 0     │
│ apps/web/specs/index.spec.tsx                                  │   │     │    │    │    │     │ 0     │
│ libs/ui/src/index.ts                                           │   │     │    │    │    │     │ 0     │
│ libs/ui/src/lib/ui.spec.tsx                                    │   │     │    │    │    │     │ 0     │
│ libs/ui/src/lib/ui.tsx                                         │   │     │    │    │    │     │ 0     │
└────────────────────────────────────────────────────────────────┴───┴─────┴────┴────┴────┴─────┴───────┘

And

$ npx nocuous apps/web/pages/index.tsx 

nocuous - A static code analysis tool for JavaScript and TypeScript.

- Analyzing "apps/web/pages/index.tsx"

Root path: C:/p/myapp/apps/web/pages/index.tsx

┌──────┬───┬─────┬────┬────┬───────┐
│ Path │ L │ AIL │ FL │ CC │ Total │
├──────┼───┼─────┼────┼────┼───────┤
│      │   │     │    │    │ 0     │
└──────┴───┴─────┴────┴────┴───────┘

Not sure what I am doing wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant