atikin-lintx
v1.0.0
Published
Atikin Lintx is a lightweight, plugin-based linter CLI that allows developers to enforce custom code quality rules across any file type using simple JavaScript plugins.
Maintainers
Readme
🔍 Atikin Lintx – Plugin-Based Flexible CLI Linter
Atikin Lintx is a lightweight, plugin-driven linter for developers who want to enforce custom coding rules across projects.
🚀 Features
- ✅ Create custom lint rules with ease
- 🔌 Support for pluggable logic using
.lintx.js - 📄 Works on code files, README, JSON, Markdown, etc.
- ⚡ Ultra-fast and minimal dependency footprint
- 🛠 Perfect for internal standards and team enforcement
- 🧠 Ideal for TODO checks, banned keywords, file length limits, and more
📦 Installation
npm install -g atikin-lintx⚙️ Usage
lintx <file-path>Example:
lintx src/app.js🧩 Example .lintx.js
// .lintx.js
export function lint(content) {
const issues = [];
const todos = content.match(/TODO/g);
if (todos && todos.length > 3) {
issues.push(`❗ Too many TODOs: ${todos.length}`);
}
if (content.includes("console.log")) {
issues.push("❗ Avoid using console.log in production code.");
}
if (content.includes("eval(")) {
issues.push("❌ Use of 'eval' is dangerous and should be avoided.");
}
return issues;
}📂 Sample Output
❌ Linting issues found:
- ❗ Too many TODOs: 5
- ❗ Avoid using console.log in production code.✅ If no issues are found:
✅ No linting issues found.📘 Use Cases
- Count TODOs or FIXME comments
- Block insecure patterns (
eval,console.log) - Enforce required comments or file headers
- Disallow large files (based on byte size)
- Validate README structure or headings
📄 License
MIT © Atikin Verse
👤 Author
Atikin Verse
Your Innovation Partner 🌍
📲 FOLLOW US ON
Join our social media for exciting updates, tech drops, and insights!
| ACCOUNTS | USERNAME | |---------------|----------------| | FACEBOOK | atikinverse | | INSTAGRAM | atikinverse | | LINKEDIN | atikinverse | | TWITTER (X) | atikinverse | | THREADS | atikinverse | | PINTEREST | atikinverse | | QUORA | atikinverse | | REDDIT | atikinverse | | TUMBLR | atikinverse | | SNAPCHAT | atikinverse | | SKYPE | atikinverse | | GITHUB | atikinverse |
💬 Feel free to reach out for questions, feature requests, or collaborations!
✨ Happy Coding! — AtikinVerse 🚀
