{"id":19009944,"url":"https://github.com/editorconfig/editorconfig-defaults","last_synced_at":"2026-04-24T04:30:20.204Z","repository":{"id":66007096,"uuid":"110549987","full_name":"editorconfig/editorconfig-defaults","owner":"editorconfig","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-26T22:27:53.000Z","size":4,"stargazers_count":25,"open_issues_count":12,"forks_count":7,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-01-01T21:21:52.734Z","etag":null,"topics":["defaults","editorconfig"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/editorconfig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-11-13T13:12:51.000Z","updated_at":"2024-12-06T14:56:07.000Z","dependencies_parsed_at":"2025-01-01T21:32:45.222Z","dependency_job_id":null,"html_url":"https://github.com/editorconfig/editorconfig-defaults","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editorconfig%2Feditorconfig-defaults","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editorconfig%2Feditorconfig-defaults/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editorconfig%2Feditorconfig-defaults/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/editorconfig%2Feditorconfig-defaults/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/editorconfig","download_url":"https://codeload.github.com/editorconfig/editorconfig-defaults/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240037312,"owners_count":19737911,"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":["defaults","editorconfig"],"created_at":"2024-11-08T19:09:21.470Z","updated_at":"2026-04-24T04:30:20.134Z","avatar_url":"https://github.com/editorconfig.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"EditorConfig Defaults\n=====================\n\nDescription of the file format\n------------------------------\n\n```json\n{\n  \"file_format\": \"1.0\",\n  \"version\":\"0.1.0\",\n  \"matches\": {\n    \"\u003c\u003cmatcher\u003e\u003e\": {\n      \"description\": \"\u003c\u003cdescription\u003e\u003e\",\n      \"comment\": \"\u003c\u003ccomment\u003e\u003e\",\n      \"flavors\": {\n        \"\u003c\u003cflavor\u003e\u003e\": {\n          \"description\": \"\u003c\u003cdescription\u003e\u003e\",\n          \"comment\": \"\u003c\u003ccomment\u003e\u003e\",\n          \"reference\": \"\u003c\u003creference\u003e\u003e\",\n          \"editorconfig\": {\n            \"\u003c\u003csetting\u003e\u003e\": \"\u003c\u003cvalue\u003e\u003e\"\n          }\n        }\n      }\n    }\n  }\n}\n```\n\nWhere\n\n* `matcher` stands for the default files-glob the section defines; the format \n  should allow to use it to filter the defaults based on a list of files. \n  This is what goes between `[` and `]` in the editorconfig-file.\n* `flavors` stands for the given flavor name; it should be used to let the \n  user choose the preferred style; the using tool might omit showing it if \n  there is only one flavor (f.e. `common` or `convention`) for the section.\n* `setting` and `value` are the editorconfig-settings for that flavor; \n  they should be used to populate the editorconfig-file. \n  `value` can be a string, boolean or int value.\n* `description` contains the plain-text description of that flavor; \n  it should be used as an introductory description of the flavor.\n* `reference` is the reference to the source of the flavor; it should a URL \n  that leads to a authoritative description of the flavor.\n* `comment` can be placed within a `\u003c\u003cmatcher\u003e\u003e` and `\u003c\u003cflavor\u003e\u003e` and is \n  an optional string.\n\n\nLinting\n-------\n\nTo perform all the checks that are available:\n\n```\nnpm install\nnpm run lint\n```\n\nTo validate the JSON without node, there are several sites available like \nhttps://www.jsonschemavalidator.net/ and https://jsonschemalint.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feditorconfig%2Feditorconfig-defaults","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feditorconfig%2Feditorconfig-defaults","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feditorconfig%2Feditorconfig-defaults/lists"}