{"id":15198540,"url":"https://github.com/euberdeveloper/eslint-config-typescript","last_synced_at":"2025-10-02T13:31:20.175Z","repository":{"id":57112188,"uuid":"302772926","full_name":"euberdeveloper/eslint-config-typescript","owner":"euberdeveloper","description":"My personal configuration for eslint with typescript","archived":true,"fork":false,"pushed_at":"2021-04-15T21:35:33.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-25T00:07:21.629Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/euberdeveloper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-09T23:19:55.000Z","updated_at":"2023-01-28T09:31:33.000Z","dependencies_parsed_at":"2022-08-21T00:00:56.526Z","dependency_job_id":null,"html_url":"https://github.com/euberdeveloper/eslint-config-typescript","commit_stats":null,"previous_names":["euberdeveloper/eslint-plugin-typescript"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euberdeveloper%2Feslint-config-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euberdeveloper%2Feslint-config-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euberdeveloper%2Feslint-config-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euberdeveloper%2Feslint-config-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/euberdeveloper","download_url":"https://codeload.github.com/euberdeveloper/eslint-config-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219875712,"owners_count":16554705,"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-09-28T01:21:11.206Z","updated_at":"2025-10-02T13:31:19.867Z","avatar_url":"https://github.com/euberdeveloper.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @euberdeveloper/eslint-config-typescript\n\nMy personal eslint configuration when used with Typescript.\n\n## Brief description\n\nAn eslint configuration, that uses the standard `@typescript-eslint/eslint-plugin` for the Typescript rules and\n`eslint-plugin-mocha` for the mocha rules.\n## How to use it\n\n### Install the dependencies:\n\n```bash\n# eslint with the typescript configuration\nnpm i -D eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser\n\n# eslint mocha plugin\nnpm i -D eslint-plugin-mocha\n\n# this eslint configuration\nnpm i -D @euberdeveloper/eslint-config-typescript\n```\n\n### Add this `.eslintrc.js` file to your root:\n\n```js\nconst path = require('path');\n\nmodule.exports = {\n    parserOptions: {\n        project: path.join(__dirname, 'tsconfig.json') // The path to your tsconfig.json\n    },\n    extends: [ '@euberdeveloper/typescript' ]\n};\n```\n\n### If you want to use it with prettier\n\nRun this:\n\n```bash\n# prettier with its eslint connector\nnpm i -D prettier eslint-plugin-prettier eslint-config-prettier\n```\n\nAdd this `.prettierrc.js` file to your root:\n\n```js\nmodule.exports = {\n    tabWidth: 4,\n    singleQuote: true,\n    quoteProps: 'consistent',\n    trailingComma: 'none',\n    arrowParens: 'avoid',\n    printWidth: 120,\n    endOfLine: 'auto'\n};\n```\n\nChange the `.eslintrc.js` file to this:\n\n```js\nconst path = require('path');\n\nmodule.exports = {\n    parserOptions: {\n        project: path.join(__dirname, 'tsconfig.json') // The path to your tsconfig.json\n    },\n    plugins: ['prettier'],\n    extends: [\n        '@euberdeveloper/typescript',\n        'plugin:prettier/recommended'\n    ]\n};\n```\n\n### Now you can just use eslint to lint your code\n\nYou can also add some scripts to the `package.json` in order to have it always ready.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuberdeveloper%2Feslint-config-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feuberdeveloper%2Feslint-config-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuberdeveloper%2Feslint-config-typescript/lists"}