{"id":15516785,"url":"https://github.com/samrap/eslint-config-samrap","last_synced_at":"2025-10-08T20:48:02.770Z","repository":{"id":81609762,"uuid":"76233262","full_name":"samrap/eslint-config-samrap","owner":"samrap","description":"An ESLint configuration for my personal tastes.","archived":false,"fork":false,"pushed_at":"2016-12-12T17:34:32.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-13T13:07:21.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/samrap.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}},"created_at":"2016-12-12T07:38:59.000Z","updated_at":"2020-10-01T00:34:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"eaab70ca-98b2-4010-828b-3dc788546277","html_url":"https://github.com/samrap/eslint-config-samrap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samrap/eslint-config-samrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2Feslint-config-samrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2Feslint-config-samrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2Feslint-config-samrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2Feslint-config-samrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samrap","download_url":"https://codeload.github.com/samrap/eslint-config-samrap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samrap%2Feslint-config-samrap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266424014,"owners_count":23926123,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2024-10-02T10:09:53.403Z","updated_at":"2025-10-08T20:47:57.729Z","avatar_url":"https://github.com/samrap.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-samrap\n\n[![Build Status](https://travis-ci.org/samrap/eslint-config-samrap.svg?branch=master)](https://travis-ci.org/samrap/eslint-config-samrap)\n\nAn ESLint configuration for my personal tastes. As a PHP developer, I find certain conventions in the JavaScript community (especially 2 space indents) to be unreadable and impractical. This ESLint config takes the best practices and error checking from `eslint:recommended` and combines it with the style conventions of the PHP community, specifically from [PSR-2](http://www.php-fig.org/psr/psr-2/) and [Laravel](https://laravel.com/docs/5.3/contributions#coding-style). The result is a well-configured linter that promotes clean and readable code and is not as restrictive as the shareable configs from larger companies such as [AirBNB](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb) and [Google](https://github.com/google/eslint-config-google).\n\n### Installation\n\n```\nyarn add eslint eslint-config-samrap\n```\n\nOr, if you prefer NPM over [Yarn](https://yarnpkg.com): (Why though?)\n\n```\nnpm install eslint eslint-config-samrap\n```\n\n### Usage\n\nAfter installing `eslint-config-samrap` as a dependency, you can extend the configuration in your [ESLint Configuration](http://eslint.org/docs/user-guide/configuring):\n\n```javascript\n{\n    \"extends\": \"samrap\",\n    \"rules\": {\n        // Add or override rules here...\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamrap%2Feslint-config-samrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamrap%2Feslint-config-samrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamrap%2Feslint-config-samrap/lists"}