{"id":23099973,"url":"https://github.com/keep-network/eslint-config-keep","last_synced_at":"2025-04-03T20:42:21.336Z","repository":{"id":43978995,"uuid":"190569867","full_name":"keep-network/eslint-config-keep","owner":"keep-network","description":"ESLint shareable config for Keep, based off the Google JavaScript style guide","archived":false,"fork":false,"pushed_at":"2022-02-13T03:49:52.000Z","size":205,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-02-09T08:44:50.623Z","etag":null,"topics":[],"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/keep-network.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":"2019-06-06T11:28:11.000Z","updated_at":"2021-06-14T13:59:02.000Z","dependencies_parsed_at":"2022-09-09T03:30:25.030Z","dependency_job_id":null,"html_url":"https://github.com/keep-network/eslint-config-keep","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Feslint-config-keep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Feslint-config-keep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Feslint-config-keep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep-network%2Feslint-config-keep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keep-network","download_url":"https://codeload.github.com/keep-network/eslint-config-keep/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247078783,"owners_count":20879950,"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":[],"created_at":"2024-12-16T23:29:15.176Z","updated_at":"2025-04-03T20:42:21.284Z","avatar_url":"https://github.com/keep-network.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-keep\n\n\u003e ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html) for Keep, based off the [Google JavaScript style guide (ES2015+ version)](https://google.github.io/styleguide/jsguide.html).\n\n## Installation\n\n`npm i https://github.com/keep-network/eslint-config-keep.git`\n\n## Usage\n\n### Setting up a project\n\n 1. Install the linter and config - `npm i -D eslint https://github.com/keep-network/eslint-config-keep.git`\n 2. Create your `.eslintrc`:\n ```js\n{\n  \"extends\": \"eslint-config-keep\",\n  \"rules\": {\n    // Additional, per-project rules...\n  },\n}\n ```\n 3. Add commands for linting to your `package.json`:\n ```json\n{\n  \"scripts\": {\n    \"lint:js\": \"eslint .\",\n    \"lint:js:fix\": \"eslint --fix .\"\n  },\n}\n```\n\n### Adding a pre-commit hook using [pre-commit](https://pre-commit.com)\n\n```yaml\n - repo: local\n   hooks:\n    - id: lint-js\n      name: 'lint js'\n      entry: /usr/bin/env bash -c \"npm run js:lint\"\n      files: '\\.js$'\n      language: script\n      description: \"Checks JS code according to the package's linter configuration\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeep-network%2Feslint-config-keep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeep-network%2Feslint-config-keep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeep-network%2Feslint-config-keep/lists"}