{"id":50410973,"url":"https://github.com/stabldev/neatlint","last_synced_at":"2026-05-31T03:31:08.753Z","repository":{"id":359920709,"uuid":"1239353133","full_name":"stabldev/neatlint","owner":"stabldev","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-24T06:08:42.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-24T06:35:24.575Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stabldev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-15T02:30:54.000Z","updated_at":"2026-05-24T06:08:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/stabldev/neatlint","commit_stats":null,"previous_names":["stabldev/neatlint"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/stabldev/neatlint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stabldev%2Fneatlint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stabldev%2Fneatlint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stabldev%2Fneatlint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stabldev%2Fneatlint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stabldev","download_url":"https://codeload.github.com/stabldev/neatlint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stabldev%2Fneatlint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33718446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-31T03:31:07.934Z","updated_at":"2026-05-31T03:31:08.748Z","avatar_url":"https://github.com/stabldev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# neatlint\n\nA command-line interface (CLI) tool designed to automatically and seamlessly set up and configure ESLint and Prettier for modern JavaScript and TypeScript projects.\n\n## Overview\n\nConfiguring linting and formatting tools for new or existing projects can be tedious and prone to configuration conflicts. `neatlint` automates the entire setup process. It detects your package manager, initializes ESLint, installs Prettier, writes default configurations, patches configuration files to avoid rule conflicts, and adds execution scripts to your `package.json`.\n\n## Requirements\n\n- Node.js version `^20.19.0`, `^22.13.0`, or `\u003e=24`.\n\n## Installation and Usage\n\nTo set up ESLint and Prettier in your project directory, run:\n\n```bash\nnpx neatlint init\n```\n\nAlternatively, if you are using specific package managers, you can use:\n\n```bash\n# Using bun\nbunx neatlint init\n# Using pnpm\npnpm dlx neatlint init\n# Using yarn\nyarn dlx neatlint init\n```\n\n## What neatlint Does\n\n### 1. Runs ESLint Initialization\nIt invokes the interactive ESLint initialization tool appropriate for your package manager to guide you through creating an ESLint configuration.\n\n### 2. Installs Dependencies\nIt installs the following packages as development dependencies:\n- `prettier`\n- `eslint-config-prettier`\n\n### 3. Generates `.prettierrc`\nCreates a `.prettierrc` file with the following default configuration:\n```json\n{\n  \"semi\": true,\n  \"singleQuote\": false,\n  \"trailingComma\": \"es5\"\n}\n```\n\n### 4. Patches ESLint Flat Config\nLocates your ESLint configuration file (`eslint.config.js`, `eslint.config.mjs`, `eslint.config.ts`, or `eslint.config.mts`) and integrates `eslint-config-prettier` by importing and appending it to the export array, preventing formatting conflicts.\n\n### 5. Configures `package.json` Scripts\nAppends the following scripts to your `package.json` (skipping any script name that already exists):\n- `\"lint\": \"eslint .\"` - Lints the workspace.\n- `\"format\": \"prettier . --write\"` - Formats all files.\n- `\"format:check\": \"prettier . --check\"` - Checks file formatting.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstabldev%2Fneatlint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstabldev%2Fneatlint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstabldev%2Fneatlint/lists"}