Metadata-Version: 2.4
Name: rulestamp-cnpj-alfanumerico-lint
Version: 1.0.3
Summary: Acha regex \d{14}, replace(/\D/g), parseInt no DV e coluna BIGINT antes que recusem o CNPJ alfanumérico (IN RFB nº 2.229/2024) (bundled Node.js runtime)
Author-email: Rulestamp <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/pt/tools/cnpj-alfanumerico-lint?ref=pypi
Project-URL: Documentation, https://getreadystack.com/pt/tools/cnpj-alfanumerico-lint?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: cnpj,cnpj alfanumerico,receita federal,validador cnpj,nf-e,brasil,lint
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: nodejs-wheel-binaries>=20
Dynamic: license-file

# CNPJ Alfanumérico Lint — validação de CNPJ no código

> Runs the same checker as our npm package on a Node.js runtime that pip installs for you (`nodejs-wheel-binaries`) - no system Node.js needed. Your files are checked locally.

![CNPJ Alfanumérico Lint — validação de CNPJ no código — finds the line](https://getreadystack.com/img/promo/cnpj-alfanumerico-lint_demo.gif)

Acha regex \d{14}, replace(/\D/g), parseInt no DV e coluna BIGINT antes que recusem o CNPJ alfanumérico (IN RFB nº 2.229/2024)

## Install

```
cnpj-alfanumerico-lint file
```

Node 18+. The same 11 rules as the VS Code extension, from a terminal or CI.

## Free

- Grátis: verifica o arquivo aberto (ou o código colado no navegador) com as 11 regras e mostra cada linha que recusa um CNPJ alfanumérico, com a correção.
- `--rules` lists every rule

## With a licence ($29 once)

- Versão completa ($29, pagamento único): varre o workspace inteiro de uma vez e exporta um relatório Markdown por arquivo para anexar ao PR ou à auditoria de migração.

```
cnpj-alfanumerico-lint --dir ./templates --report html --out report.html
```

## Use from an AI agent (MCP)

Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:

```json
{ "mcpServers": { "cnpj-alfanumerico-lint": { "command": "cnpj-alfanumerico-lint", "args": ["--mcp"] } } }
```

Tools: `check_text` and `check_file` (free) · `check_dir` (licence). The agent gets every finding with the line number.

## Use in CI

```yaml
- name: CNPJ Alfanumérico Lint — validação de CNPJ no código
  run: pip install rulestamp-cnpj-alfanumerico-lint && cnpj-alfanumerico-lint --dir . --ci
```


The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set `READYSTACK_LICENSE=<key>` or run `--license <key>` once.

[Get a licence](https://getreadystack.com/api/buy/cl/polar_cl_t3hBAj7L4CQX2J1igNBb92DPpaz6qbT0aY13a1ZalxQ)


<!-- cnpj -->


## Install (PyPI)

```
pip install rulestamp-cnpj-alfanumerico-lint
cnpj-alfanumerico-lint --help
```
