{"id":15018495,"url":"https://github.com/nativescript/eslint-plugin","last_synced_at":"2025-10-03T22:11:09.084Z","repository":{"id":119904806,"uuid":"348448939","full_name":"NativeScript/eslint-plugin","owner":"NativeScript","description":"ESLint plugin for NativeScript projects.","archived":false,"fork":false,"pushed_at":"2021-04-01T09:59:59.000Z","size":35,"stargazers_count":10,"open_issues_count":2,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-08-23T06:22:27.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NativeScript.png","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,"governance":null}},"created_at":"2021-03-16T18:15:50.000Z","updated_at":"2025-01-18T03:09:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"aab71ae9-1d73-41e5-ac53-7e229b594f99","html_url":"https://github.com/NativeScript/eslint-plugin","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.125,"last_synced_commit":"6ce51d00e2c474d43fdfb5965fbb475d077b630d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NativeScript/eslint-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Feslint-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Feslint-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Feslint-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Feslint-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NativeScript","download_url":"https://codeload.github.com/NativeScript/eslint-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NativeScript%2Feslint-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271913298,"owners_count":24842891,"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","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-24T19:52:02.161Z","updated_at":"2025-10-03T22:11:04.050Z","avatar_url":"https://github.com/NativeScript.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NativeScript ESLint Plugin\n\nESLint rules for NativeScript projects.\n\n## Installation and setup\n\n1. Install\n\n```\nnpm i -D @nativescript/eslint-plugin @typescript-eslint/parser eslint\n```\n\n2. Add an `.eslintrc.json` config file with the following content.\n\n**.eslintrc.json**\n\n```json\n{\n  \"parser\": \"@typescript-eslint/parser\",\n  \"parserOptions\": {\n    \"sourceType\": \"module\",\n    \"ecmaVersion\": 2015\n  },\n  \"plugins\": [\"@nativescript\"],\n  \"extends\": [\n    \"plugin:@nativescript/recommended\"\n  ]\n}\n```\n\n3. Lint the project.\n\n```\nnpx eslint --ext=ts src/\n```\n\n**Notice that you need to provide the path to your source code. In the example above, we use `src/`. Change that to match your project setup.**\n\n4. Fix all auto-fixable problems.\n\n```\nnpx eslint --ext=ts --fix src/\n```\n\n5. [Optional] Set up VSCode to use `eslint`.\n\n-   Install the `dbaeumer.vscode-eslint` extension.\n-   Add the following to your `settings.json` file:\n\n```json\n\"eslint.validate\": [ \"typescript\", \"javascript\" ],\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnativescript%2Feslint-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnativescript%2Feslint-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnativescript%2Feslint-plugin/lists"}