{"id":15161416,"url":"https://github.com/centerforopenscience/javascript","last_synced_at":"2025-04-02T22:31:05.293Z","repository":{"id":57227961,"uuid":"88650275","full_name":"CenterForOpenScience/javascript","owner":"CenterForOpenScience","description":"Center for Open Science JavaScript Style","archived":false,"fork":false,"pushed_at":"2020-04-21T22:59:49.000Z","size":97,"stargazers_count":2,"open_issues_count":0,"forks_count":6,"subscribers_count":9,"default_branch":"develop","last_synced_at":"2025-03-28T22:35:58.012Z","etag":null,"topics":["ember","eslint-shareable-configs","javascript","style-guide"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/CenterForOpenScience.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}},"created_at":"2017-04-18T17:05:21.000Z","updated_at":"2019-12-31T05:08:31.000Z","dependencies_parsed_at":"2022-09-12T22:31:07.961Z","dependency_job_id":null,"html_url":"https://github.com/CenterForOpenScience/javascript","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterForOpenScience%2Fjavascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterForOpenScience%2Fjavascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterForOpenScience%2Fjavascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterForOpenScience%2Fjavascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CenterForOpenScience","download_url":"https://codeload.github.com/CenterForOpenScience/javascript/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246905077,"owners_count":20852806,"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":["ember","eslint-shareable-configs","javascript","style-guide"],"created_at":"2024-09-27T00:20:18.006Z","updated_at":"2025-04-02T22:31:04.814Z","avatar_url":"https://github.com/CenterForOpenScience.png","language":"JavaScript","readme":"# Center for Open Science JavaScript Style\n\n\u003e JavaScript Style based on [AirBnB's JavaScript Guide](https://github.com/airbnb/javascript)\n\n[![npm version](https://badge.fury.io/js/%40centerforopenscience%2Feslint-config.svg)](https://badge.fury.io/js/%40centerforopenscience%2Feslint-config)\n[![Build Status](https://travis-ci.org/CenterForOpenScience/javascript.svg?branch=master)](https://travis-ci.org/CenterForOpenScience/javascript)\n\n* For vanilla JavaScript projects, use [@centerforopenscience/eslint-config](#centerforopenscienceeslint-config)\n* For Ember Applications, use [@centerforopenscience/eslint-config/ember](#centerforopenscienceeslint-configember)\n\n## @centerforopenscience/eslint-config\n\n\u003e Generic ESLint configuration for the Center for Open Science\n\nBased on [AirBnB's JavaScript Guide](https://github.com/airbnb/javascript), with a few notable exceptions including:\n\n* Indentation of 4 spaces instead of 2\n* Allow `for..of` loops\n* Allow `++`\n* Turn off some import rules and make others warnings\n* `max-len` is a warning, until we get the various repos cleaned up\n\n#### Usage\n\nAdd the following to your ESLint config file:\n```javascript\n{\n    \"extends\": \"@centerforopenscience\"\n}\n```\nNote: ESLint automatically appends /eslint-config so it is not necessary to add it here.\n\n## @centerforopenscience/eslint-config/ember\n\n\u003e Ember ESLint configuration for the Center for Open Science\n\nBased on [COS's Base Config](https://github.com/CenterForOpenScience/javascript/blob/master/index.js) with [eslint-plugin-ember](https://github.com/netguru/eslint-plugin-ember)\n\nSince route-able components aren't stable, this is unnecessary:\n* `alias-model-in-controller`\n\nThis will produce too many errors or warnings to count, so for now, it's turned completely off:\n* `use-ember-get-and-set`\n\nThe following are set to warnings, but will become errors later:\n* `no-observers`\n* `no-function-prototype-extensions`\n* `named-functions-in-promises`\n* `order-in-components`\n* `order-in-routes`\n* `order-in-controllers`\n\n#### Usage\n\nAdd the following to your ESLint config file:\n```javascript\n{\n    \"extends\": \"@centerforopenscience/eslint-config/ember\"\n}\n```\nNote: You must include /eslint-config in the path for non-default configurations.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcenterforopenscience%2Fjavascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcenterforopenscience%2Fjavascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcenterforopenscience%2Fjavascript/lists"}