{"id":13680620,"url":"https://github.com/luooooob/eslint-config","last_synced_at":"2025-09-06T06:44:59.243Z","repository":{"id":38340567,"uuid":"431529896","full_name":"luooooob/eslint-config","owner":"luooooob","description":"My shareable ESLint configuration.","archived":false,"fork":false,"pushed_at":"2023-08-21T17:08:07.000Z","size":160,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T01:32:14.627Z","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/luooooob.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}},"created_at":"2021-11-24T15:10:52.000Z","updated_at":"2023-02-06T07:27:04.000Z","dependencies_parsed_at":"2024-01-14T15:24:54.092Z","dependency_job_id":"e23029a8-aaaf-4084-b10e-01aa0332d701","html_url":"https://github.com/luooooob/eslint-config","commit_stats":{"total_commits":37,"total_committers":2,"mean_commits":18.5,"dds":"0.027027027027026973","last_synced_commit":"f4d568fb315aafeb9b80de0dab5ba5711d298f3c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luooooob%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luooooob%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luooooob%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luooooob%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luooooob","download_url":"https://codeload.github.com/luooooob/eslint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247574092,"owners_count":20960497,"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-08-02T13:01:19.284Z","updated_at":"2025-04-07T01:18:00.786Z","avatar_url":"https://github.com/luooooob.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# @luooooob/eslint-config\n\nMy shareable ESLint configuration. Inspired by https://github.com/antfu/eslint-config\n\n## Feature\n\n1. Out of the box.\n2. Support `javascript`, `typescript`, `javascriptreact`, `typescriptreact`, `vue` and `json`, `package.json`, `tsconfig.json` files.\n\n## Usage\n\n### Install \n\n```sh\nnpm i -D @luooooob/eslint-config\n```\n\n### Config .eslintrc\n\n```json\n{\n  \"extends\": \"@luooooob\"\n}\n```\n\n### Add script for package.json\n\n```json\n{\n  \"scripts\": {\n    \"lint\": \"eslint . --fix\"\n  }\n}\n```\n\n### Config editor\n\nI recommend using eslint as the default formatter of your editor. For example, if you are using VS Code, create a `.vscode/settings.json`:\n\n```json\n{\n  \"editor.formatOnSave\": true,\n  \"eslint.format.enable\": true,\n  \"eslint.validate\": [\n    \"javascript\",\n    \"javascriptreact\",\n    \"typescript\",\n    \"typescriptreact\",\n    \"vue\",\n    \"json\"\n  ],\n  \"[javascript]\": {\n    \"editor.defaultFormatter\": \"dbaeumer.vscode-eslint\",\n  },\n  \"[javascriptreact]\": {\n    \"editor.defaultFormatter\": \"dbaeumer.vscode-eslint\",\n  },\n  \"[typescript]\": {\n    \"editor.defaultFormatter\": \"dbaeumer.vscode-eslint\",\n  },\n  \"[typescriptreact]\": {\n    \"editor.defaultFormatter\": \"dbaeumer.vscode-eslint\",\n  },\n  \"[vue]\": {\n    \"editor.defaultFormatter\": \"dbaeumer.vscode-eslint\",\n  },\n  \"[json]\": {\n    \"editor.defaultFormatter\": \"dbaeumer.vscode-eslint\",\n  },\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluooooob%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluooooob%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluooooob%2Feslint-config/lists"}