{"id":20498557,"url":"https://github.com/rascal-coder/eslint-config","last_synced_at":"2026-01-06T09:11:07.840Z","repository":{"id":223224935,"uuid":"703914499","full_name":"Rascal-Coder/eslint-config","owner":"Rascal-Coder","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-01T07:08:46.000Z","size":178,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-03T12:06:19.618Z","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/Rascal-Coder.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-10-12T07:06:02.000Z","updated_at":"2024-10-23T03:46:50.000Z","dependencies_parsed_at":"2024-02-19T04:45:48.107Z","dependency_job_id":null,"html_url":"https://github.com/Rascal-Coder/eslint-config","commit_stats":null,"previous_names":["rascal-coder/eslint-config"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rascal-Coder%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rascal-Coder%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rascal-Coder%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rascal-Coder%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rascal-Coder","download_url":"https://codeload.github.com/Rascal-Coder/eslint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224823921,"owners_count":17376014,"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-11-15T18:14:45.973Z","updated_at":"2026-01-06T09:11:07.812Z","avatar_url":"https://github.com/Rascal-Coder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Rascal's eslint config presets\n\n- Auto fix for formatting with prettier\n- TypeScript, Vue, React out-of-box\n- Lint also for html, json, yaml, markdown\n- Reasonable defaults, best practices, only one-line of config\n- Default Alias mapping \"@\" =\u003e \"src\", \"~\" =\u003e \"./\"\n\n## Usage\n\n### Install\n\n```bash\npnpm add -D eslint\npnpm add -D eslint-config-rascal\n```\n\n### Config eslint (.eslintrc | .eslintrc.js | .eslintrc.json)\n\n```json\n{\n  \"extends\": \"rascal\" // or rascal/base, rascal/ts, rascal/vue, rascal/vue2, rascal/react\n}\n```\n\nYou don't need .eslintignore normally as it has been provided by the preset.\n\n### Change import alias\n\n```json\n{\n  \"settings\": {\n    \"import/resolver\": {\n      \"alias\": {\n        \"map\": [\n          [\"~\", \".\"],\n          [\"@\", \"./src\"]\n        ],\n        \"extensions\": [\".js\", \".jsx\", \".mjs\", \".ts\", \".tsx\", \"mts\", \".d.ts\"]\n      }\n    }\n  }\n}\n```\n\n### Add scripts for package.json\n\nFor example:\n\n```json\n{\n  \"scripts\": {\n    \"lint\": \"eslint .\",\n    \"lint:fix\": \"eslint . --fix\"\n  }\n}\n```\n\n### VSCode settings for ESlint\n\n```json\n{\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": \"explicit\"\n  },\n  \"editor.formatOnSave\": false,\n  \"eslint.validate\": [\n    \"javascript\",\n    \"javascriptreact\",\n    \"typescript\",\n    \"typescriptreact\",\n    \"vue\",\n    \"json\"\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frascal-coder%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frascal-coder%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frascal-coder%2Feslint-config/lists"}