{"id":22951886,"url":"https://github.com/fueled/eslint-config-fueled","last_synced_at":"2026-03-20T00:03:23.225Z","repository":{"id":65650130,"uuid":"513057394","full_name":"Fueled/eslint-config-fueled","owner":"Fueled","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-02T12:52:41.000Z","size":80,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2023-05-15T06:50:18.162Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fueled.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}},"created_at":"2022-07-12T08:19:15.000Z","updated_at":"2023-02-02T12:46:42.000Z","dependencies_parsed_at":"2023-02-17T19:50:15.865Z","dependency_job_id":null,"html_url":"https://github.com/Fueled/eslint-config-fueled","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fueled%2Feslint-config-fueled","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fueled%2Feslint-config-fueled/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fueled%2Feslint-config-fueled/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fueled%2Feslint-config-fueled/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fueled","download_url":"https://codeload.github.com/Fueled/eslint-config-fueled/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229718768,"owners_count":18113575,"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-12-14T15:19:24.416Z","updated_at":"2026-03-20T00:03:23.117Z","avatar_url":"https://github.com/Fueled.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fueled TypeScript Style Guide\n\n*TypeScript style guide used internally on [Fueled](https://fueled.com/en-gb) projects.*\n\n\n## About\nThis guide focuses specifically on code quality based rules for TypeScript, rather than formatting rules. We utilize [Prettier](https://prettier.io) for code formatting. It uses and extends upon [@typescript-eslint/recommended](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/recommended.ts) rule set, as well as [Prettier ESLint config](https://github.com/prettier/eslint-config-prettier) to turn off rules that may conflict with Prettier.\n\n\u003e Note: this is intended to be used with [TypeScript strict mode](https://www.typescriptlang.org/tsconfig#strict) enabled.\n\n\n## Rules\n\n#### [@typescript-eslint/array-type](https://typescript-eslint.io/rules/array-type)\nEnforce T[] syntax for arrays over Array\u003cT\u003e.\n\n#### [@typescript-eslint/explicit-function-return-type](https://typescript-eslint.io/rules/explicit-function-return-type)\nEnforce explicit function return types.\n\n#### [@typescript-eslint/explicit-module-boundary-types](https://typescript-eslint.io/rules/explicit-module-boundary-types)\nEnforce explicit return \u0026 argument types on exported functions \u0026 public class methods.\n\n\n#### [@typescript-eslint/no-explicit-any](https://typescript-eslint.io/rules/no-explicit-any)\nDisallow explicit `any` types. Use `unknown` instead.\n\n#### [@typescript-eslint/no-floating-promises](https://typescript-eslint.io/rules/no-floating-promises)\nRequire Promise-like statements to be handled appropriately.\n\n#### [@typescript-eslint/no-non-null-assertion](https://typescript-eslint.io/rules/no-non-null-assertion)\nDisable using non-null assertions as they cancel the benefits of strict null-checking mode.\nPrefer explicit null checks for safety.\n\n#### [no-restricted-syntax](https://eslint.org/docs/rules/no-restricted-syntax)\nRestrict use of labels and [with](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/with) statements.  \n\n#### [@typescript-eslint/no-unnecessary-condition](https://typescript-eslint.io/rules/no-unnecessary-condition)\nAvoid unnecessary conditionals.\n\n#### [@typescript-eslint/no-unnecessary-type-assertion](https://typescript-eslint.io/rules/no-unnecessary-type-assertion)\nWarn against unnecessary type assertions.\n\n#### [@typescript-eslint/no-unused-vars](https://typescript-eslint.io/rules/no-unused-vars)\nEnforce no unused variables.\n\n#### [@typescript-eslint/no-useless-constructor](https://typescript-eslint.io/rules/no-useless-constructor)\nWarn against useless class constructors.\n\n#### [@typescript-eslint/prefer-nullish-coalescing](https://typescript-eslint.io/rules/prefer-nullish-coalescing)\nPrefer nullish coalescing operator.\n\n#### [@typescript-eslint/prefer-optional-chain](https://typescript-eslint.io/rules/prefer-optional-chain)\nPrefer optional chaining operator.\n\n#### [@typescript-eslint/promise-function-async](https://typescript-eslint.io/rules/promise-function-async)\nEnsure all functions that return a promise are marked as async.\n\n#### [@typescript-eslint/restrict-template-expressions](https://typescript-eslint.io/rules/restrict-template-expressions)\nRestrict template expressions to allow for string \u0026 number types only.  \nOther types must be checked explicitly.\n\n#### [@typescript-eslint/require-await](https://typescript-eslint.io/rules/require-await)\nDisallow async functions which have no await expression and do not return a promise.\n\n#### [@typescript-eslint/switch-exhaustiveness-check](https://typescript-eslint.io/rules/switch-exhaustiveness-check)\nEnforce covering all cases in a switch statement.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffueled%2Feslint-config-fueled","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffueled%2Feslint-config-fueled","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffueled%2Feslint-config-fueled/lists"}