{"id":31101544,"url":"https://github.com/darosh/eslint-plugin-maxpat","last_synced_at":"2026-05-18T19:11:37.814Z","repository":{"id":313266936,"uuid":"1050666805","full_name":"darosh/eslint-plugin-maxpat","owner":"darosh","description":"An ESLint plugin for linting Max/MSP patch files (.maxpat)","archived":false,"fork":false,"pushed_at":"2025-09-16T16:34:31.000Z","size":475,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-16T19:16:52.302Z","etag":null,"topics":["eslint-plugin","lint","max","maxmsp","maxpat"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/darosh.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":"2025-09-04T18:51:24.000Z","updated_at":"2025-09-16T16:34:34.000Z","dependencies_parsed_at":"2025-09-04T23:36:49.060Z","dependency_job_id":"4683c883-b4fd-4d92-8014-ab2183f48fc2","html_url":"https://github.com/darosh/eslint-plugin-maxpat","commit_stats":null,"previous_names":["darosh/eslint-plugin-maxpat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/darosh/eslint-plugin-maxpat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darosh%2Feslint-plugin-maxpat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darosh%2Feslint-plugin-maxpat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darosh%2Feslint-plugin-maxpat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darosh%2Feslint-plugin-maxpat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darosh","download_url":"https://codeload.github.com/darosh/eslint-plugin-maxpat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darosh%2Feslint-plugin-maxpat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275509598,"owners_count":25477806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-16T02:00:10.229Z","response_time":65,"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":["eslint-plugin","lint","max","maxmsp","maxpat"],"created_at":"2025-09-17T00:02:03.605Z","updated_at":"2025-09-17T00:04:55.990Z","avatar_url":"https://github.com/darosh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-plugin-maxpat [WIP]\n\n\u003e An ESLint plugin for linting Max/MSP patch files (.maxpat) \u003cbr /\u003e\n\u003e ⚠️ This is experimental work in progress. Use with caution! \u003cbr /\u003e\n\u003e So far tested only [here](https://github.com/darosh/px-stream) on 30+ maxpat files and 3000+ issues.\n\n## Install\n\nPrerequisites: [Node.js](https://nodejs.org/)\n\n```bash\nnpm init\n```\n\n```bash\nnpm i eslint\n```\n\n```bash\nnpm i https://github.com/darosh/eslint-plugin-maxpat\n```\n\n## Usage\n\nLearn about [ESLint](https://eslint.org/)\n\n### Example config\n\n[https://github.com/darosh/px-stream/blob/main/eslint.config.mjs](https://github.com/darosh/px-stream/blob/main/eslint.config.mjs)\n\n### Run\n\n```bash\neslint ./*.maxpat --rule={\"maxpat/ui/annotation-info\":\"off\"}\n```\n\n### Run with fix (use with caution!)\n\n```bash\neslint ./*.maxpat --rule={\"maxpat/ui/annotation-info\":\"off\"} --fix\n```\n\n### List UI elements and their annotation\n\n```bash\neslint ./*.maxpat --format node_modules/eslint-plugin-maxpat/lib/formatter.js\n```\n\n## Rules\n\n \u003c!-- begin auto-generated rules list --\u003e\n\n💼 Configurations enabled in.\\\n⚠️ Configurations set to warn in.\\\n✅ Set in the `recommended` configuration.\\\n⚙️ Has configuration options.\\\n🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).\n\n### Layout\n\n| Name                                                                       | Description                                                                                   | 💼 | ⚠️ | ⚙️ | 🔧 |\n| :------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------- | :- | :- | :- | :- |\n| [layout/grid-size](docs/rules/layout/grid-size.md)                         | Require specific grid size in Max/MSP patches                                                 |    | ✅  | ⚙️ | 🔧 |\n| [layout/no-segmented-cords](docs/rules/layout/no-segmented-cords.md)       | Disallow segmented patch cords (midpoints) in Max/MSP patches                                 |    | ✅  | ⚙️ | 🔧 |\n| [layout/patching-overlaps](docs/rules/layout/patching-overlaps.md)         | Check for overlapping objects in patching mode                                                |    | ✅  | ⚙️ |    |\n| [layout/position-rounding](docs/rules/layout/position-rounding.md)         | Require proper coordinate rounding for patching_rect and presentation_rect in Max/MSP patches |    | ✅  | ⚙️ | 🔧 |\n| [layout/presentation-overlaps](docs/rules/layout/presentation-overlaps.md) | Check for overlapping objects in presentation mode                                            |    | ✅  | ⚙️ |    |\n| [layout/snap-to-grid](docs/rules/layout/snap-to-grid.md)                   | Require snap to grid to be enabled in Max/MSP patches                                         |    | ✅  | ⚙️ | 🔧 |\n| [layout/snap-to-pixel](docs/rules/layout/snap-to-pixel.md)                 | Enforce snap to pixel setting in Max/MSP patches                                              |    | ✅  | ⚙️ | 🔧 |\n\n### Misc\n\n| Name                                                                   | Description                                                                           | 💼 | ⚠️ | ⚙️ | 🔧 |\n| :--------------------------------------------------------------------- | :------------------------------------------------------------------------------------ | :- | :- | :- | :- |\n| [compatibility/deprecated](docs/rules/compatibility/deprecated.md)     | Warns against the use of deprecated Max/MSP objects                                   |    | ✅  | ⚙️ |    |\n| [debug/connected-print](docs/rules/debug/connected-print.md)           | Check for print objects with active connections that should be disabled in production |    | ✅  | ⚙️ | 🔧 |\n| [flow/disconnected](docs/rules/flow/disconnected.md)                   | No disconnected objects                                                               |    | ✅  | ⚙️ |    |\n| [flow/disconnected-outlets](docs/rules/flow/disconnected-outlets.md)   | No disconnected outlets                                                               |    | ✅  | ⚙️ |    |\n| [flow/global-send-receive](docs/rules/flow/global-send-receive.md)     | Check for global send/receive names that are not in allowed exceptions list           |    | ✅  | ⚙️ |    |\n| [flow/local-send-receive](docs/rules/flow/local-send-receive.md)       | Check for matching send/receive pairs with triple dash prefix                         |    | ✅  | ⚙️ |    |\n| [performance/defer](docs/rules/performance/defer.md)                   | Check for UI objects that should use defer for thread-safe operation                  |    | ✅  | ⚙️ |    |\n| [performance/speed-limit](docs/rules/performance/speed-limit.md)       | Check parameter_speedlim value for specified object types                             |    | ✅  | ⚙️ | 🔧 |\n| [structure/no-unused-styles](docs/rules/structure/no-unused-styles.md) | Disallow unused styles in Max/MSP patches                                             |    | ✅  | ⚙️ | 🔧 |\n| [structure/require](docs/rules/structure/require.md)                   | Require essential Live objects in Max for Live device patches                         |    | ✅  | ⚙️ |    |\n| [structure/validate](docs/rules/structure/validate.md)                 | Ensure the .maxpat file has a valid root patcher object                               | ✅  |    |    |    |\n| [ui/annotation-info](docs/rules/ui/annotation-info.md)                 | List all UI elements with their names and annotations for review                      |    | ✅  | ⚙️ |    |\n\n\u003c!-- end auto-generated rules list --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarosh%2Feslint-plugin-maxpat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarosh%2Feslint-plugin-maxpat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarosh%2Feslint-plugin-maxpat/lists"}