{"id":23042293,"url":"https://gitlab.com/html-validate/eslint-config","last_synced_at":"2025-08-14T21:32:27.966Z","repository":{"id":50502821,"uuid":"16025516","full_name":"html-validate/eslint-config","owner":"html-validate","description":"Eslint sharable config used by the various HTML-validate packages","archived":false,"fork":false,"pushed_at":null,"size":null,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":null,"default_branch":"master","last_synced_at":"2024-11-15T08:21:58.019Z","etag":null,"topics":["eslint"],"latest_commit_sha":null,"homepage":null,"language":null,"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":null,"metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-12-24T18:56:13.363Z","updated_at":"2024-11-15T02:10:58.093Z","dependencies_parsed_at":"2022-08-22T12:50:42.854Z","dependency_job_id":null,"html_url":"https://gitlab.com/html-validate/eslint-config","commit_stats":null,"previous_names":[],"tags_count":143,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/html-validate%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/html-validate%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/html-validate%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/html-validate%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners/html-validate","download_url":"https://gitlab.com/html-validate/eslint-config/-/archive/master/eslint-config-master.zip","host":{"name":"gitlab.com","url":"https://gitlab.com","kind":"gitlab","repositories_count":4516490,"owners_count":6596,"icon_url":"https://github.com/gitlab.png","version":null,"created_at":"2022-05-30T11:31:42.605Z","updated_at":"2024-07-18T11:24:13.055Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners"}},"keywords":["eslint"],"created_at":"2024-12-15T20:24:01.860Z","updated_at":"2024-12-15T20:24:02.803Z","avatar_url":null,"language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# @html-validate/eslint-config\n\n\u003e HTML-Validate ESLint [shareable](http://eslint.org/docs/developer-guide/shareable-configs.html) config.\n\n## Install\n\n```\nnpm install --save-dev @html-validate/eslint-config\n```\n\n## Usage\n\nIn your `.eslintrc.js` file:\n\n```js\nrequire(\"@html-validate/eslint-config/patch/modern-module-resolution\");\n\nmodule.exports = {\n  extends: [\"@html-validate\"],\n\n  overrides: [\n    {\n      files: \"*.ts\",\n      extends: [\"@html-validate/typescript\"],\n    },\n    {\n      files: \"*.spec.[jt]s\",\n      extends: [\"@html-validate/jest\"],\n    },\n  ],\n};\n```\n\n## CLI\n\nTo automatically write configuration use:\n\n    npx @html-validate/eslint-config --write\n\nTo check if configuration is up-to-date use:\n\n    npx @html-validate/eslint-config --check\n\nThe tool will autodetect support for:\n\n- AngularJS\n- Cypress\n- Jest\n- Protractor\n- Typescript\n- Vue\n\nUse `--enable-FEATURE` or `--disable-FEATURE` to manually enable or disable.\n\n## Typescript with type information\n\nUse `--enable-typeinfo` (enabled by default) or manually configure with:\n\n```diff\n   overrides: [\n     {\n       files: \"*.ts\",\n-       extends: [\"@html-validate/typescript\"],\n+       parserOptions: {\n+         tsconfigRootDir: __dirname,\n+         project: [\"./tsconfig.json\"],\n+       },\n+       extends: [\"@html-validate/typescript\", \"@html-validate/typescript-typeinfo\"],\n     },\n   ],\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fhtml-validate%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/gitlab.com%2Fhtml-validate%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2Fhtml-validate%2Feslint-config/lists"}