open-index/open-npm huggingface dataset:
npm package: @lacow/vibe-check
Description: Automated codebase health scanner for AI-generated code pathologies
Author: Lars
Latest version: 0.1.0

# vibe-check

Automated codebase health scanner that detects pathologies common in AI-generated code.

## Install

```bash
npm install -g @lacow/vibe-check
```

## Usage

```bash
# Scan current directory
vibe-check .

# JSON output
vibe-check . --json

# CI mode — exit code 1 if score < threshold
vibe-check . --ci --threshold 7

# Run specific rules only
vibe-check . --rules hallucinated-imports,dead-code-paths

# List all available rules
vibe-check --list-rules

# Use a custom config file
vibe-check . --config ./custom-config.json

# Suppress info-level findings
vibe-check . --quiet

# Exclude files ad-hoc
vibe-check . --ignore-pattern "generated/**"

# Generate a .vibecheck config file
vibe-check --init
```

## Rules

| Rule | Category | Severity | Description |
|------|----------|----------|-------------|
| `hallucinated-imports` | phantom-deps | critical | Detect imports of packages not listed in package.json |
| `phantom-peer-deps` | phantom-deps | warning | Detect imports that rely on peer dependencies instead of declared ones |
| `dependency-bloat` | dependencies | warning | Detects large utility libraries that could be replaced with lighter alternatives |
| `cross-file-duplication` | duplication | warning | Detects copy-pasted logic across different files |
| `inconsistent-error-handling` | consistency | warning | Detects async functions without error handling |
| `inconsistent-naming` | consistency | info | Detects mixed naming conventions within the same file |
| `orphaned-exports` | dead-code | warning | Finds exported symbols that are never imported anywhere in the project |
| `dead-code-paths` | dead-code | warning | Detects unreachable code after return, throw, or process.exit() |
| `unused-dependencies` | dead-code | warning | Finds packages declared in dependencies but never imported in source files |
| `over-abstraction` | architecture | info | Detects single-use abstractions common in AI-generated code |
| `type-assertion-overuse` | type-safety | warning | Detects excessive use of type assertions that bypass type checking |
| `hardcoded-secrets` | security | critical | Detect hardcoded secrets and sensitive credentials in source code |
| `todo-accumulation` | maintenance | info | Detects accumulated TODO/FIXME/HACK comments |
| `console-remnants` | maintenance | info | Detects leftover console.log statements in production code |
| `commented-out-code` | dead-code | warning | Detects blocks of commented-out code |

## Programmatic API

```typescript
import { scan } from '@lacow/vibe-check';

const result = await scan({ path: './my-project' });

console.log(result.score);      // 0-10
console.log(result.findings);   // Finding[]
console.log(result.summary);    // { total, critical, warning, info }
```

## License

MIT
npm package: @lacruz/react-page-separator
Description: react-page plugin adding a customisable horizontal separator
Author: lacruz
Latest version: 0.0.2

<p align="center">
  <br />
     <img width="600" src="https://user-images.githubusercontent.com/60877626/117204870-2e461300-adf1-11eb-9b51-89a2bbf762ac.png" alt="Template logo" />
     <p align="center" style="font-weight:bold">TEMPLATE CREATED BY LA CRUZ <a href="https://lacruz.org"><img width="20" src="https://user-images.githubusercontent.com/60877626/117205137-7ebd7080-adf1-11eb-9755-9b541044e2f3.png"></a></p>
</p>
<br/>
<p align="center">
  <h1 align="center" style="font-weight:bold">⚡ Template React + Vite + Eslint + Prettier ⚡</h1>
  <p align="center">This project was bootstrapped with <a href="https://github.com/vitejs/vite/tree/main/packages/create-app">@vite/create-app</a> </p>
</p>
<br/>

## 📜 Available Scripts

In the project directory, you can run : <br /><br />

### ⚡ `npm run dev`

Runs the app in the development mode.
Open [http://localhost:3000](http://localhost:3000) to view it in the browser. The page will reload if you make edits.<br /><br />

### 🧳 `npm run build`

Builds the app for production to the `dist` folder.
It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.<br /><br />
🚀 **Your app is ready to be deployed !**<br /><br />

### 🌐 `npm run serve`

Runs the app in the server mode. Open [http://localhost:5000](http://localhost:5000) to view it in the browser. The page will reload if you make edits.<br /><br />

### 🧹 `npm run lint:fix`

This command allows to automatically correct some eslint errors present in the code. Some errors may not be able to be corrected and will have to be fixed manually.<br /><br />

### 📏 `npm run lint:format`

This command will automatically format your code. Some format errors generated by prettier may not be correctable and will have to be fixed manually.<br /><br />

### 🔍 `npm run lint`

Starts the code verification by running eslint (`npm run lint:fix`) and prettier (`npm run lint:format`).<br /><br />
🚨 **Warning :** This command must be executed before each commit!