{"id":16564916,"url":"https://github.com/k-yle/eslint-config-kyle","last_synced_at":"2025-10-28T23:32:08.956Z","repository":{"id":37057451,"uuid":"256892171","full_name":"k-yle/eslint-config-kyle","owner":"k-yle","description":"💚","archived":false,"fork":false,"pushed_at":"2025-02-07T21:33:34.000Z","size":1782,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-07T22:30:12.287Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://npm.im/eslint-config-kyle","language":"JavaScript","has_issues":false,"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/k-yle.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":"2020-04-19T01:52:48.000Z","updated_at":"2024-12-11T08:44:13.000Z","dependencies_parsed_at":"2023-12-28T23:50:48.133Z","dependency_job_id":"a0ac71b8-d858-4a1e-b50d-ce0c8c246bb6","html_url":"https://github.com/k-yle/eslint-config-kyle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-yle%2Feslint-config-kyle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-yle%2Feslint-config-kyle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-yle%2Feslint-config-kyle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-yle%2Feslint-config-kyle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k-yle","download_url":"https://codeload.github.com/k-yle/eslint-config-kyle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238743795,"owners_count":19523178,"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-10-11T20:45:25.138Z","updated_at":"2025-10-28T23:32:08.950Z","avatar_url":"https://github.com/k-yle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-kyle\n\n[![Build Status](https://github.com/k-yle/eslint-config-kyle/workflows/build/badge.svg)](https://github.com/k-yle/eslint-config-kyle/actions)\n[![npm version](https://badge.fury.io/js/eslint-config-kyle.svg)](https://badge.fury.io/js/eslint-config-kyle)\n\n💚 The eslint config I use for all my side projects.\n\nA stricter version of the airbnb config with TS support.\n\n## Usage (Flat Config)\n\nRequires eslint ≥9 and node ≥18.18\n\n```sh\nnpm i -D eslint-config-kyle eslint\n```\n\nAdd the following to `package.json`:\n\n```json\n{\n  \"scripts\": { \"lint\": \"eslint .\" },\n  \"prettier\": \"eslint-config-kyle/prettier\"\n}\n```\n\nAnd create a file called `eslint.config.js`:\n\n```js\nexport { default } from 'eslint-config-kyle';\n```\n\nAnd add this to your `tsconfig.json` file:\n\n```jsonc\n{\n  \"extends\": \"eslint-config-kyle/tsconfig\",\n}\n```\n\n## Usage (Legacy)\n\n```sh\nnpm i -D eslint-config-kyle@22 eslint@8\n```\n\nAdd the following to `package.json`:\n\n```json\n{\n  \"eslintConfig\": { \"extends\": \"kyle\" },\n  \"prettier\": \"eslint-config-kyle/prettier\"\n}\n```\n\n## VS Code configuration\n\n```jsonc\n{\n  // By default, VS Code will not show eslint errors\n  // for css files, so we need to add this snippet:\n  \"eslint.validate\": [\n    \"css\",\n    \"json\",\n    \"javascript\",\n    \"javascriptreact\",\n    \"typescript\",\n    \"typescriptreact\",\n  ],\n\n  // for the best DX, enable format-on-save and\n  // lint-on-save.\n  \"editor.formatOnSave\": true,\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": \"explicit\",\n  },\n\n  // optional, if the local vs global versions conflict.\n  // the exact syntax would depend on your package manager.\n  \"prettier.prettierPath\": \"./node_modules/prettier\",\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-yle%2Feslint-config-kyle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk-yle%2Feslint-config-kyle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-yle%2Feslint-config-kyle/lists"}