{"id":26955428,"url":"https://github.com/subwaytime/eslint-config","last_synced_at":"2025-07-25T13:10:04.235Z","repository":{"id":65824922,"uuid":"600759556","full_name":"Subwaytime/eslint-config","owner":"Subwaytime","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-28T14:35:51.000Z","size":134,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T23:39:47.775Z","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/Subwaytime.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":"2023-02-12T14:16:11.000Z","updated_at":"2023-02-12T14:18:16.000Z","dependencies_parsed_at":"2024-11-10T22:35:20.753Z","dependency_job_id":"855f6c07-da7b-4051-82a1-14751bb9507e","html_url":"https://github.com/Subwaytime/eslint-config","commit_stats":{"total_commits":27,"total_committers":2,"mean_commits":13.5,"dds":0.03703703703703709,"last_synced_commit":"96a7cc7fb9e12959ed552f6c021f3590be09eb04"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/Subwaytime/eslint-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subwaytime%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subwaytime%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subwaytime%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subwaytime%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Subwaytime","download_url":"https://codeload.github.com/Subwaytime/eslint-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subwaytime%2Feslint-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267010363,"owners_count":24020811,"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-25T02:00:09.625Z","response_time":70,"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":"2025-04-03T02:31:05.003Z","updated_at":"2025-07-25T13:10:04.208Z","avatar_url":"https://github.com/Subwaytime.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @subwaytime/eslint-config\n\n\u003ca href=\"https://www.npmjs.com/package/@subwaytime/eslint-config\"\u003e\n\u003cimg src=\"https://img.shields.io/npm/v/@subwaytime/eslint-config?color=222\u0026style=flat-square\"\u003e\n\u003c/a\u003e\n\n- Single quotes\n- Auto fix for formatting (aimed to be used standalone without Prettier)\n- Designed to work with TypeScript, Vue out-of-box\n- Lint also for json, yaml, markdown\n- Sorted imports, dangling commas\n- Reasonable defaults, best practices, only one-line of config\n- **Style principle**: Minimal for reading, stable for diff\n\n## Usage\n\n### Install\n\n```bash\npnpm add -D eslint @subwaytime/eslint-config\n```\n\n### Config `.eslintrc`\n\n```json\n{\n  \"extends\": \"@subwaytime\"\n}\n```\n\n\u003e You don't need `.eslintignore` normally as it has been provided by the preset.\n\n### Add script for package.json\n\nFor example:\n\n```json\n{\n  \"scripts\": {\n    \"lint\": \"eslint .\",\n    \"lint:fix\": \"eslint . --fix\"\n  }\n}\n```\n\n### Config VS Code auto fix\n\nInstall [VS Code ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) and create `.vscode/settings.json`\n\n```json\n{\n  \"prettier.enable\": false,\n  \"editor.formatOnSave\": false,\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": true\n  }\n}\n```\n\n### TypeScript Aware Rules\n\nType aware rules are enabled when a `tsconfig.eslint.json` is found in the project root, which will introduce some stricter rules into your project. If you want to enable it while have no `tsconfig.eslint.json` in the project root, you can change tsconfig name by modifying `ESLINT_TSCONFIG` env.\n\n```js\n// .eslintrc.js\nprocess.env.ESLINT_TSCONFIG = 'tsconfig.json'\n\nmodule.exports = {\n  extends: '@subwaytime'\n}\n```\n\n## License\n\n[MIT](./LICENSE) License \u0026copy; 2023-PRESENT [Leon Langer](https://github.com/subwaytime)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubwaytime%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubwaytime%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubwaytime%2Feslint-config/lists"}