{"id":15355841,"url":"https://github.com/fibo/dot-editorconfig","last_synced_at":"2025-04-30T09:42:22.455Z","repository":{"id":57215318,"uuid":"63606224","full_name":"fibo/dot-editorconfig","owner":"fibo","description":"creates a .editorconfig file in your package dir","archived":false,"fork":false,"pushed_at":"2022-09-19T15:11:54.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T14:51:12.683Z","etag":null,"topics":["editorconfig"],"latest_commit_sha":null,"homepage":"https://fibo.github.io/dot-editorconfig","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/fibo.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}},"created_at":"2016-07-18T13:41:02.000Z","updated_at":"2024-05-31T06:43:46.000Z","dependencies_parsed_at":"2022-08-24T20:50:37.950Z","dependency_job_id":null,"html_url":"https://github.com/fibo/dot-editorconfig","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fibo%2Fdot-editorconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fibo%2Fdot-editorconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fibo%2Fdot-editorconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fibo%2Fdot-editorconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fibo","download_url":"https://codeload.github.com/fibo/dot-editorconfig/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249484858,"owners_count":21280015,"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":["editorconfig"],"created_at":"2024-10-01T12:25:53.718Z","updated_at":"2025-04-18T11:33:33.914Z","avatar_url":"https://github.com/fibo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dot-editorconfig\n\n\u003e creates a *.editorconfig* file in your package dir\n\n[Usage](#usage) |\n[Source](#source) |\n[Contributing](#contributing) |\n[License](#license)\n\n[![KLP](https://fibo.github.io/svg/klp-badge.svg)](https://fibo.github.io/kiss-literate-programming)\n\n## Usage\n\n\u003e [EditorConfig] helps developers define and maintain consistent coding styles between different editors and IDEs.\n\nLaunch the command\n\n    npm install dot-editorconfig --no-save\n\n\nIf you prefer to add *dot-editorconfig* package as a dev dependency, you can launch\n\n    npm install dot-editorconfig --save-dev\n\nA *.editorconfig* will be created in your package dir. See its [content here](#source).\n\nNotice that installing *dot-editorconfig* **will not override** your *.editorconfig* file, if it already exists.\nIf you need to upgrade it is necessary to remove it manually before, for instance\n\n    rm .editorconfig\n\nIt is up to you to choose to add it to *.gitignore* or to version it and modify it further.\n\n## Source\n\nIf you don't have npm you can just copy and paste the following source.\n\n```sh\n# EditorConfig is awesome: http://EditorConfig.org\n\n# Stop the editor from looking for .editorconfig files in the parent directories.\nroot = true\n\n[*]\n# Non-configurable Prettier behaviors\ncharset = utf-8\ninsert_final_newline = true\n\n# Configurable Prettier behaviors\n# (change these if your Prettier config differs)\nend_of_line = lf\nindent_style = space\nindent_size = 2\nmax_line_length = 80\n\ntrim_trailing_whitespace = true\n\n[*{.conf,.pl,.pm,.py,.sol}]\nindent_size = 4\n\n[*{.glsl,.go,.sh,.sql}]\nindent_style = tab\n\n[Makefile]\nindent_style = tab\n\n```\n\n## Contributing\n\nIf you also like the idea to have an easy way to install and share an\n*.editorconfig* file, and you think you can contribute adding something\nmissing or improving current configuration, edit this [README] in the\n**Source** section and send a pull request.\n\nDo not edit this [*.editorconfig* file](https://github.com/fibo/dot-editorconfig/blob/main/.editorconfig), since it is generated by commands\n\n    npm install markdown2code --no-save\n    npm run markdown2code\n\n## License\n\n[MIT](https://fibo.github.io/mit-license/)\n\n[EditorConfig]: http://editorconfig.org/ \"EditorConfig\"\n[README]: https://github.com/fibo/dot-editorconfig/blob/master/README.md \"README.md\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffibo%2Fdot-editorconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffibo%2Fdot-editorconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffibo%2Fdot-editorconfig/lists"}