{"id":28660117,"url":"https://github.com/ekilzen/eslint-config-like","last_synced_at":"2025-12-30T08:06:17.492Z","repository":{"id":49458326,"uuid":"283674190","full_name":"ekil1100/eslint-config-like","owner":"ekil1100","description":"ESLint config with common community rules. Supports TS, react, vue.","archived":false,"fork":false,"pushed_at":"2023-10-17T22:39:52.000Z","size":703,"stargazers_count":5,"open_issues_count":15,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-11T17:45:47.776Z","etag":null,"topics":["config","eslint","eslint-config","jsx","prettier","react","svelte3","typescript","vue"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/eslint-config-like","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/ekil1100.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-07-30T05:02:49.000Z","updated_at":"2023-06-01T07:04:15.000Z","dependencies_parsed_at":"2025-04-10T12:15:29.227Z","dependency_job_id":"85382690-5f64-4b96-b6e2-c282f0a2ef4b","html_url":"https://github.com/ekil1100/eslint-config-like","commit_stats":null,"previous_names":["ekilzen/eslint-config-like"],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/ekil1100/eslint-config-like","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekil1100%2Feslint-config-like","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekil1100%2Feslint-config-like/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekil1100%2Feslint-config-like/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekil1100%2Feslint-config-like/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekil1100","download_url":"https://codeload.github.com/ekil1100/eslint-config-like/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekil1100%2Feslint-config-like/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259624744,"owners_count":22886331,"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":["config","eslint","eslint-config","jsx","prettier","react","svelte3","typescript","vue"],"created_at":"2025-06-13T10:09:53.487Z","updated_at":"2025-12-30T08:06:17.477Z","avatar_url":"https://github.com/ekil1100.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-like\n\nPersonal eslint config. Supports typeScript, react, vue, next.js.\n\n## Usage\n\n```bash\npnpm add -D eslint eslint-config-like\n```\n\n### Basic\n\n```js\nmodule.exports = {\n  extends: ['like'],\n}\n```\n\nwith typescript\n\n```js\nmodule.exports = {\n  extends: ['like/ts'],\n}\n```\n\n### React\n\n```js\nmodule.exports = {\n  extends: ['like/react'],\n}\n```\n\nwith typescript\n\n```js\nmodule.exports = {\n  extends: ['like/react-ts'],\n}\n```\n\nwith next.js\n\n```js\nmodule.exports = {\n  extends: ['like/react', 'like/next'],\n}\n```\n\n### Vue\n\nDefault to vue3.\n\n```js\nmodule.exports = {\n  extends: ['like/vue'],\n}\n```\n\nwith typescript\n\n```js\nmodule.exports = {\n  extends: ['like/vue-ts'],\n}\n```\n\n## Tips\n\n### VSCode Settings\n\n```json\n{\n  \"eslint.validate\": [\n    \"javascript\",\n    \"javascriptreact\",\n    \"typescript\",\n    \"typescriptreact\",\n    \"vue\",\n    \"html\",\n    \"json\",\n    \"jsonc\",\n    \"json5\",\n    \"yml\",\n    \"yaml\"\n  ],\n  \"[javascript][javascriptreact][typescript][typescriptreact]\": {\n    \"editor.formatOnSave\": false,\n    \"editor.formatOnPaste\": false,\n    \"editor.formatOnType\": false,\n    \"editor.codeActionsOnSave\": {\n      \"source.fixAll.eslint\": true\n    }\n  }\n}\n```\n\n### Babel parser\n\nSometimes, you may need add babel as parser for new language features. See [babel-eslint-parser](https://github.com/babel/babel/tree/main/eslint/babel-eslint-parser) for more information.\n\n```js\nmodule.exports = {\n  parser: '@babel/eslint-parser',\n}\n```\n\n### Typescript path resolver\n\nTo enable typescript path resolvers in `.js` files, you can add settings:\n\n```js\nmodule.exports = {\n  settings: {\n    'import/resolver': {\n      typescript: {},\n    },\n  },\n}\n```\n\n### No need `import React from 'react'`?\n\nIf you are using react 17, you don't need to import React for JSX. See https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html#removing-unused-react-imports.\n\n⚠ It is default after v4.\n\n\u003c!-- https://github.com/antfu/eslint-config/blob/master/packages/basic/index.js --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekilzen%2Feslint-config-like","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekilzen%2Feslint-config-like","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekilzen%2Feslint-config-like/lists"}