# @seadub/clang-format-lint

> Validate and/or fix formatting of files via clang-format

Latest version **0.0.2** (published 2019-10-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @seadub/clang-format-lint
pnpm add @seadub/clang-format-lint
yarn add @seadub/clang-format-lint
bun add @seadub/clang-format-lint
```

Provides the command `clang-format-lint`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2019-10-03 |
| First published | 2019-10-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 3 |
| Unpacked size | 4.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Christopher Williams |
| Maintainers | seadub |
| Keywords | clang, clang-format, lint |

## Links

- npm: https://www.npmjs.com/package/@seadub/clang-format-lint
- Repository: https://github.com/sgtcoolguy/clang-format-lint
- Homepage: https://github.com/sgtcoolguy/clang-format-lint#readme
- Issues: https://github.com/sgtcoolguy/clang-format-lint/issues
- npm.io page: https://npm.io/package/@seadub/clang-format-lint

## Dependencies (3)

- [glob](https://npm.io/package/glob.md) ^7.1.4
- [p-limit](https://npm.io/package/p-limit.md) ^2.2.1
- [commander](https://npm.io/package/commander.md) ^3.0.2

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2019-10-03
- 0.0.1 — 2019-10-03

## README

# clang-format-lint

A very simple wrapper around the [clang-format](https://www.npmjs.com/package/clang-format) npm package/binary.

Intended to be used to either validate existing files, or automatically fix the formatting on them.

Usage:
```sh
npx clang-format-lint [--fix] [--exec-limit [limit]] glob[ glob]*
```

e.g. To check if your source files match your formatting rules:
```sh
npx clang-format-lint android/src/**/*.java
```

e.g. To ensure your source files match your formatting rules:
```sh
npx clang-format-lint --fix android/src/**/*.java
```

---
_Source: https://npm.io/package/@seadub/clang-format-lint · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
