{"id":13862668,"url":"https://github.com/an-sh/flow-minor-mode","last_synced_at":"2025-04-12T16:26:52.581Z","repository":{"id":74152928,"uuid":"83225368","full_name":"an-sh/flow-minor-mode","owner":"an-sh","description":"Emacs minor mode for editing flowtype files.","archived":false,"fork":false,"pushed_at":"2020-09-05T17:30:56.000Z","size":38,"stargazers_count":46,"open_issues_count":7,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T10:52:18.586Z","etag":null,"topics":["emacs","emacs-mode","flow","flowtype"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/an-sh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-02-26T16:59:24.000Z","updated_at":"2025-01-13T17:41:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"1e1b12a6-2c18-4a0c-8efe-13c370129542","html_url":"https://github.com/an-sh/flow-minor-mode","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an-sh%2Fflow-minor-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an-sh%2Fflow-minor-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an-sh%2Fflow-minor-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/an-sh%2Fflow-minor-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/an-sh","download_url":"https://codeload.github.com/an-sh/flow-minor-mode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248595764,"owners_count":21130577,"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","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":["emacs","emacs-mode","flow","flowtype"],"created_at":"2024-08-05T06:01:49.706Z","updated_at":"2025-04-12T16:26:52.552Z","avatar_url":"https://github.com/an-sh.png","language":"Emacs Lisp","readme":"# flow-minor-mode\n\nMinor mode for [flow](http://flowtype.org), which can be overlayed on\ntop of other modes like `web-mode`. Essentially a rewrite of an\nofficial [flow-for-emacs](https://github.com/flowtype/flow-for-emacs)\nsnippet into a standalone mode with an improved usability.\n\n## Setup\n\nTo enable this mode, enable it in your preferred JavaScript mode's\nhooks:\n\n```lisp\n(add-hook 'js2-mode-hook 'flow-minor-enable-automatically)\n````\n\nThis will enable `flow-minor-mode` for a file only when there is a\n`//@flow` declaration at the first line and a `.flowconfig` file is\npresent in the project. If you wish to enable flow-minor-mode for all\njavascript files, use this instead:\n\n```lisp\n(add-hook 'js2-mode-hook 'flow-minor-mode)\n```\n\n## Additional integrations\n\n### flow-js2-mode (WIP)\n\n[flow-js2-mode](https://github.com/Fuco1/flow-js2-mode) is a major\nmode for flow files.\n\n### flycheck-flow\n\n```lisp\n(with-eval-after-load 'flycheck\n  (flycheck-add-mode 'javascript-flow 'flow-minor-mode)\n  (flycheck-add-mode 'javascript-eslint 'flow-minor-mode)\n  (flycheck-add-next-checker 'javascript-flow 'javascript-eslint))\n```\n\n### company-flow\n\n```lisp\n(with-eval-after-load 'company\n  (add-to-list 'company-backends 'company-flow))\n```\n\n### xref (build-in)\n\nUse standard Emacs 25.1 xref keys (`M-.` and `M-,`) for jumping to\ndefinitions.\n","funding_links":[],"categories":["Emacs Lisp"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fan-sh%2Fflow-minor-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fan-sh%2Fflow-minor-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fan-sh%2Fflow-minor-mode/lists"}