{"id":20562942,"url":"https://github.com/tobiaslabs/eslint-config-javascript","last_synced_at":"2026-02-07T03:32:10.164Z","repository":{"id":253710082,"uuid":"844284551","full_name":"tobiaslabs/eslint-config-javascript","owner":"tobiaslabs","description":"Eslint rules for JavaScript projects. May be merged with other eslint-config settings.","archived":false,"fork":false,"pushed_at":"2024-08-27T03:15:34.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T05:49:04.552Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tobiaslabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2024-08-18T23:31:11.000Z","updated_at":"2024-08-27T03:27:38.000Z","dependencies_parsed_at":"2025-05-09T17:47:01.761Z","dependency_job_id":null,"html_url":"https://github.com/tobiaslabs/eslint-config-javascript","commit_stats":null,"previous_names":["tobiaslabs/eslint-config-javascript"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tobiaslabs/eslint-config-javascript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiaslabs%2Feslint-config-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiaslabs%2Feslint-config-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiaslabs%2Feslint-config-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiaslabs%2Feslint-config-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tobiaslabs","download_url":"https://codeload.github.com/tobiaslabs/eslint-config-javascript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobiaslabs%2Feslint-config-javascript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29185344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T00:44:15.062Z","status":"online","status_checked_at":"2026-02-07T02:00:07.217Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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-11-16T04:15:18.348Z","updated_at":"2026-02-07T03:32:10.151Z","avatar_url":"https://github.com/tobiaslabs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-javascript\n\nESLint configurations for modern projects using JavaScript.\n\nLook at the [example config file](./example-eslint.config.js) for basic usage.\n\n\u003e Note: uses ESLint 9 and modern JavaScript.\n\n## Using\n\nRequires [ESlint](https://eslint.org/) version 9 and above:\n\n```shell\nnpm install --save-dev eslint@^9\n```\n\nInstall the normal way:\n\n```shell\nnpm install --save-dev eslint @tobiaslabs/eslint-config-javascript\n```\n\nCreate an ESLint config file:\n\n```shell\ntouch eslint.config.js\n```\n\n### Overall Configuration\n\nImport the default and use the `config` property as your overall configuration and style enforcement:\n\n```js\nimport javascript from '@tobiaslabs/eslint-config-javascript'\nexport default [\n\t...javascript.config,\n]\n```\n\n### Environment Globals\n\nSpecify globals for specific runtimes using the `environment` property and one of the following:\n\n- `browser` - Modern browser runtime.\n- `mongosh` - MongoDB shell runtime.\n- `nodejs` - Modern Node.js runtime.\n- `serviceworker` - Modern browser [ServiceWorker](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker) runtime.\n\nTo use them, use the rest-spread inside an object, and specify the filepaths that execute in that environment.\n\nFor example, for JavaScript that is in a folder path `src` and executes in the browser:\n\n```js\nimport javascript from '@tobiaslabs/eslint-config-javascript'\nexport default [\n\t// ... other configurations, then ...\n\t{\n\t\t...javascript.environment.browser,\n\t\tfiles: [\n\t\t\t'src/**/*.js',\n\t\t],\n\t},\n]\n```\n\n## License\n\nPublished and released under the [Very Open License](http://veryopenlicense.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobiaslabs%2Feslint-config-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobiaslabs%2Feslint-config-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobiaslabs%2Feslint-config-javascript/lists"}