{"id":19682288,"url":"https://github.com/sublimelinter/sublimelinter-tslint","last_synced_at":"2025-03-04T05:02:42.050Z","repository":{"id":15631844,"uuid":"18368707","full_name":"SublimeLinter/SublimeLinter-tslint","owner":"SublimeLinter","description":" tslint plugin for SublimeLinter. Lint your typescript code.","archived":false,"fork":false,"pushed_at":"2024-09-01T13:28:14.000Z","size":28,"stargazers_count":73,"open_issues_count":0,"forks_count":9,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-25T04:05:59.990Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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":"https://github.com/SublimeLinter.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-04-02T14:13:43.000Z","updated_at":"2025-02-10T04:52:41.000Z","dependencies_parsed_at":"2024-12-25T11:14:47.504Z","dependency_job_id":"a05abe02-41c3-48b6-96ce-17477a1f194f","html_url":"https://github.com/SublimeLinter/SublimeLinter-tslint","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeLinter%2FSublimeLinter-tslint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeLinter%2FSublimeLinter-tslint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeLinter%2FSublimeLinter-tslint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeLinter%2FSublimeLinter-tslint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SublimeLinter","download_url":"https://codeload.github.com/SublimeLinter/SublimeLinter-tslint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241787490,"owners_count":20020099,"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-11T18:10:11.211Z","updated_at":"2025-03-04T05:02:42.030Z","avatar_url":"https://github.com/SublimeLinter.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"SublimeLinter-tslint\n================================\n\n[![Build Status](https://travis-ci.org/SublimeLinter/SublimeLinter-tslint.svg?branch=master)](https://travis-ci.org/SublimeLinter/SublimeLinter-tslint)\n\nThis linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [tslint](https://github.com/palantir/tslint).\nIt will be used with files that have the \"typescript\" syntax. \n\n**Note that `tslint` is deprecated and you should migrate to `eslint`.**  This plugin here is to support the legacy.\n\n\n## Installation\n\nSublimeLinter must be installed in order to use this plugin.\n\nPlease use [Package Control](https://packagecontrol.io) to install the linter plugin.\n\nBefore installing this plugin, ensure that `tslint` (2.4.0 or later) is installed on your system.\nTo install `tslint`, do the following:\n\n1. Install [Node.js](http://nodejs.org) (and [npm](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager) on Linux).\n\n1. Install `tslint` by typing the following in a terminal:\n   ```\n   npm install -g tslint\n   ```\n\n1. If you are using `nvm` and `zsh`, ensure that the line to load `nvm` is in `.zshenv` and not `.zshrc`.\n\n\n## Settings\n\n- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html\n- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html\n\n### TSLint Config\n\nYou can configure `tslint` options in the way you would from the command line, with `tslint.json` files.\nFor more information, see the [tslint docs](https://github.com/palantir/tslint).\nThe linter plugin does this by searching for a `tslint.json` file itself, just as `tslint` does from the command line.\n\nYou may provide a custom config file by setting the linter’s `\"args\"` setting to `[\"--config\", \"/path/to/file\"]`.\nOn Windows, be sure to double the backslashes in the path, for example `[\"--config\", \"C:\\\\Users\\\\Aparajita\\\\tslint.json\"]`.\n\nAlso, remember to set your project `tsconfig.json` accordingly, so that it includes paths used by SublimeLinter *working copies*. For example:\n\n```json\n\"include\": [\n    \"/var/folders/**/*.tsx\",\n    \"/var/folders/**/*.ts\",\n    \"./src/**/*.tsx\",\n    \"./src/**/*.ts\"\n]\n```\n\n### Using Projects\n\nTo enable linting using projects, set the `--project` argument.\nE.g. like so to look for the `tsconfig.json` file in the folder you opened in Sublime Text:\n\n```json\n\"tslint\": {\n\t\"args\": [\"--project\", \"${folder}\"]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublimelinter%2Fsublimelinter-tslint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsublimelinter%2Fsublimelinter-tslint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublimelinter%2Fsublimelinter-tslint/lists"}