{"id":18347987,"url":"https://github.com/collaborne/eslint-config-collaborne","last_synced_at":"2025-07-01T23:06:44.357Z","repository":{"id":38628979,"uuid":"101745883","full_name":"Collaborne/eslint-config-collaborne","owner":"Collaborne","description":"ES lint configuration for Collaborne projects","archived":false,"fork":false,"pushed_at":"2025-06-23T10:10:18.000Z","size":992,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-01T23:06:43.851Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Collaborne.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":"2017-08-29T09:48:59.000Z","updated_at":"2025-06-23T10:10:22.000Z","dependencies_parsed_at":"2024-03-25T08:47:57.475Z","dependency_job_id":"fb23a52f-31b5-4d88-bd99-0b4dbb07d6b0","html_url":"https://github.com/Collaborne/eslint-config-collaborne","commit_stats":{"total_commits":101,"total_committers":10,"mean_commits":10.1,"dds":0.4356435643564357,"last_synced_commit":"a965adf0e115846ebc59687463a418d459f10139"},"previous_names":[],"tags_count":59,"template":false,"template_full_name":null,"purl":"pkg:github/Collaborne/eslint-config-collaborne","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Collaborne%2Feslint-config-collaborne","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Collaborne%2Feslint-config-collaborne/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Collaborne%2Feslint-config-collaborne/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Collaborne%2Feslint-config-collaborne/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Collaborne","download_url":"https://codeload.github.com/Collaborne/eslint-config-collaborne/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Collaborne%2Feslint-config-collaborne/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263047677,"owners_count":23405280,"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-11-05T21:16:00.350Z","updated_at":"2025-07-01T23:06:44.320Z","avatar_url":"https://github.com/Collaborne.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-collaborne [![Build Status](https://travis-ci.org/Collaborne/eslint-config-collaborne.svg?branch=master)](https://travis-ci.org/Collaborne/eslint-config-collaborne) [![Greenkeeper badge](https://badges.greenkeeper.io/Collaborne/eslint-config-collaborne.svg)](https://greenkeeper.io/)\n\nES lint configuration for Collaborne projects\n\n## Usage\n\n 1. Install dependencies\n\n    ```sh\n    npm install --save-dev \\\n        eslint-config-collaborne \\\n        eslint@7 \\\n        eslint-plugin-disable@2 \\\n        eslint-plugin-import@2 \\\n        eslint-plugin-node@11 \\\n        eslint-plugin-prettier@3 \\\n        eslint-plugin-promise@4 \\\n        prettier@2\n    ```\n\n 2. Add `.prettierrc` (configuration for prettier)\n\n    ```json\n    {\n      \"singleQuote\": true,\n      \"jsxSingleQuote\": false,\n      \"semi\": true,\n      \"tabWidth\": 2,\n      \"useTabs\": true,\n      \"bracketSpacing\": true,\n      \"jsxBracketSameLine\": false,\n      \"arrowParens\": \"avoid\",\n      \"trailingComma\": \"all\"\n    }\n    ```\n\n 3. Add `.eslintignore`\n\n    ```text\n    node_modules\n    ```\n\n 4. Add `.eslintrc.json`\n\n    ```json\n    {\n      \"extends\": \"collaborne\"\n    }\n    ```\n\n 5. Add linting scripts in `package.json`\n\n    ```jsonc\n    {\n      // ...\n      \"scripts\": {\n        // ...\n        \"lint\": \"npm run lint:ts\",\n        \"lint:ts\": \"eslint --report-unused-disable-directives $(node -p 'require(\"./tsconfig.json\").include.map(include =\u003e `'\\${include}.\\{js,ts,tsx\\}'`).join(\" \")')\"\n        // ...\n      }\n      // ...\n    }\n    ```\n\n    _Note: This requires that `tsconfig.json` contains a `include` property, which should only directories, and in the format `dir/**/*`._\n\n## Additional configuration\n\n* Always use `overrides` to configure additional rules\n* Try to document the reason for a override configuration in the commit message for traceability, and consider reporting the rule here as a future addition with the rationale\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcollaborne%2Feslint-config-collaborne","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcollaborne%2Feslint-config-collaborne","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcollaborne%2Feslint-config-collaborne/lists"}