{"id":15134156,"url":"https://github.com/tsmx/eslintrc-to-flatfile","last_synced_at":"2026-02-27T15:08:48.010Z","repository":{"id":253690884,"uuid":"844221777","full_name":"tsmx/eslintrc-to-flatfile","owner":"tsmx","description":"Example showing how to migrate an existing eslinrc.json to new flat file config for using ESLint v9 and above in a CommonJS project","archived":false,"fork":false,"pushed_at":"2024-08-20T19:19:56.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-19T05:35:31.762Z","etag":null,"topics":["commonjs","eslint","eslintrc","flatfile"],"latest_commit_sha":null,"homepage":"","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/tsmx.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":"2024-08-18T18:37:31.000Z","updated_at":"2024-08-20T19:19:58.000Z","dependencies_parsed_at":"2024-10-31T13:21:38.319Z","dependency_job_id":"04271730-592d-4857-a54d-2b0d915d288b","html_url":"https://github.com/tsmx/eslintrc-to-flatfile","commit_stats":null,"previous_names":["tsmx/eslintrc-to-flatfile"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsmx%2Feslintrc-to-flatfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsmx%2Feslintrc-to-flatfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsmx%2Feslintrc-to-flatfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsmx%2Feslintrc-to-flatfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsmx","download_url":"https://codeload.github.com/tsmx/eslintrc-to-flatfile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411195,"owners_count":20934650,"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":["commonjs","eslint","eslintrc","flatfile"],"created_at":"2024-09-26T05:03:03.701Z","updated_at":"2026-02-27T15:08:42.972Z","avatar_url":"https://github.com/tsmx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslintrc-to-flatfile\n\n\u003e Example showing how to migrate an existing eslinrc.json to new flat file config for using ESLint v9 and above in a CommonJS project\n\n\nThis is the accompanying example project for the article on [migrating eslintrc to flat file config in a CommonJS project](https://tsmx.net/migrating-eslintrc-to-flat-config-in-commonjs/).\n\nTo follow along with the guide, clone this repo an inspect the branches for ESLint v8 (old eslintrc config) and v9 (new flat-file config).\n\n**Note:** Since the needed dependencies change when migrating from ESLint v8 to v9 or vice versa, you'll need to do a `npm install` after switching the branch.\n\n```bash\n# clone the example project\ngit clone https://github.com/tsmx/eslintrc-to-flatfile.git\n\n# check out/switch to the original ESLint v8 branch using eslintrc.json\ngit checkout eslint-v8\nnpm install\n\n# check out/switch to the migrated ESLint v9 branch using new eslint.config.js\ngit checkout eslint-v9\nnpm install\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsmx%2Feslintrc-to-flatfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsmx%2Feslintrc-to-flatfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsmx%2Feslintrc-to-flatfile/lists"}