{"id":20434156,"url":"https://github.com/casecommons/lint-config-javascript","last_synced_at":"2025-07-26T22:06:31.591Z","repository":{"id":65987625,"uuid":"95699171","full_name":"Casecommons/lint-config-javascript","owner":"Casecommons","description":null,"archived":false,"fork":false,"pushed_at":"2018-03-15T14:13:08.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-01-15T19:23:21.736Z","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/Casecommons.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-06-28T18:24:32.000Z","updated_at":"2019-06-18T20:25:13.000Z","dependencies_parsed_at":"2023-03-06T14:00:29.618Z","dependency_job_id":null,"html_url":"https://github.com/Casecommons/lint-config-javascript","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Casecommons%2Flint-config-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Casecommons%2Flint-config-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Casecommons%2Flint-config-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Casecommons%2Flint-config-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Casecommons","download_url":"https://codeload.github.com/Casecommons/lint-config-javascript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241976803,"owners_count":20051714,"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-15T08:24:32.635Z","updated_at":"2025-03-05T06:25:05.930Z","avatar_url":"https://github.com/Casecommons.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Case Commons JavaScript lint config\n\nConfiguration for [ESLint](http://eslint.org/) per Case Commons style guide. For TypeScript linting, see [lint-config-typescript](https://github.com/Casecommons/lint-config-typescript).\n\n## Usage\n\nAdd to dev dependencies in your project:\n\n```\nyarn add --dev @casecommons/eslint-config\n```\n\nBe sure to add ESLint as a dependency in your project and set it up to run as part of the project’s test suite.\n\nUse [`extends`](http://eslint.org/docs/user-guide/configuring#using-a-shareable-configuration-package) to include the appropriate lints into `.eslintrc` in your own project. For example:\n\n```javascript\n// .eslintrc\n\n{\n  extends: [\n    \"@casecommons/eslint-config/eslintrc-modern\",\n  ],\n}\n```\n\nThere are various configurations available:\n\n- `@casecommons/eslint-config/eslintrc-base`: Base configuration applicable to any ECMAScript.\n- `@casecommons/eslint-config/eslintrc-test`: Extension of base configuration for test code.\n- `@casecommons/eslint-config/eslintrc-modern`: Extension of base configuration for modern (2015+) ECMAScript.\n- `@casecommons/eslint-config/eslintrc-test-modern`: Extension of modern configuration for test code.\n\n## Development\n\nDocker should be used for simpler dev setup. To do so:\n\n1. `cp .env.sample .env` and set values in `.env` accordingly.\n2. `docker-compose build`\n3. Prefix the usual `yarn`, etc., commands with `docker-compose exec app`/`docker-compose run --rm app` or similar.\n\n### Packaging\n\nRun `yarn pack` which will emit a tarball in the package root directory. This is useful for testing the client in another project without having to perform a release (see [package.json local paths](https://docs.npmjs.com/files/package.json#local-paths)).\n\n### Releasing\n\nRun `bin/release`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasecommons%2Flint-config-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasecommons%2Flint-config-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasecommons%2Flint-config-javascript/lists"}