{"_id":"@aili-lib/tslint","name":"@aili-lib/tslint","dist-tags":{"latest":"6.0.0"},"versions":{"6.0.0":{"name":"@aili-lib/tslint","version":"6.0.0","description":"An extensible static analysis linter for the TypeScript language","bin":{"tslint":"bin/tslint"},"main":"./lib/index.js","typings":"./lib/index.d.ts","scripts":{"clean":"npm-run-all -p clean:core clean:test","clean:core":"rimraf lib","clean:test":"rimraf build && rimraf test/config/node_modules","docs":"node scripts/buildDocs.js","compile":"npm-run-all -p compile:core compile:test -s compile:scripts","compile:core":"tsc -p src","compile:scripts":"tsc -p scripts","compile:test":"tsc -p test","lint":"npm-run-all -p lint:from-installed lint:from-bin","lint:from-bin":"node bin/tslint --project test/tsconfig.json --format codeFrame","lint:from-installed":"tslint --project test/tsconfig.json --format codeFrame","lint-fix":"yarn lint:from-installed --fix","publish:local":"./scripts/npmPublish.sh","test":"npm-run-all test:pre -p test:mocha test:rules","test:pre":"cd ./test/config && npm install --no-save","test:mocha":"mocha --reporter spec --colors \"build/test/**/*Tests.js\"","test:rules":"node ./build/test/ruleTestRunner.js","verify":"npm-run-all clean compile lint test docs","coverage":"rimraf coverage .nyc_output && nyc npm test"},"dependencies":{"@babel/code-frame":"^7.0.0","builtin-modules":"^1.1.1","chalk":"^2.3.0","commander":"^2.12.1","diff":"^4.0.1","glob":"^7.1.1","js-yaml":"^3.13.1","minimatch":"^3.0.4","mkdirp":"^0.5.1","resolve":"^1.3.2","semver":"^5.3.0","tslib":"^1.10.0","tsutils":"^2.29.0"},"peerDependencies":{"typescript":">=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >=3.0.0-dev || >= 3.1.0-dev || >= 3.2.0-dev"},"devDependencies":{"@octokit/rest":"^16.24.3","@types/babel__code-frame":"^7.0.1","@types/chai":"^3.5.0","@types/diff":"^3.2.0","@types/glob":"^5.0.30","@types/js-yaml":"^3.5.31","@types/minimatch":"^2.0.29","@types/mkdirp":"^0.5.2","@types/mocha":"^5.2.6","@types/node":"^7.0.29","@types/resolve":"^0.0.4","@types/rimraf":"^2.0.2","@types/semver":"^5.3.30","chai":"^3.5.0","husky":"^0.14.3","json-stringify-pretty-compact":"^1.2.0","mocha":"^6.1.4","npm-run-all":"^4.0.2","nyc":"^14.1.1","prettier":"~1.16.4","rimraf":"^2.5.4","ts-node":"^3.3.0","tslint":"~5.13.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1","tslint-test-config-non-relative":"file:test/external/tslint-test-config-non-relative","typescript":"~3.6.3","yarn-deduplicate":"^1.1.1"},"engines":{"node":">=4.8.0"},"homepage":"https://palantir.github.io/tslint","repository":{"type":"git","url":"git+https://github.com/palantir/tslint.git"},"keywords":["cli","typescript","linter"],"license":"MIT","bugs":{"url":"https://github.com/palantir/tslint/issues"},"_id":"@aili-lib/tslint@6.0.0","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-owM9D26fw7yXedb9Kz05akwzOq8oDwCqdiY05QVdM89pD5/s8LJiCOnjsYlwzw8BBs6RKootHTkBnl2O2vx11g==","shasum":"2928ad0c0a31918a081b650d5c82b2fe46ad7bf0","tarball":"https://registry.npmjs.org/@aili-lib/tslint/-/tslint-6.0.0.tgz","fileCount":499,"unpackedSize":1881761,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB8ETKHRXjkp52Eu2bU+uqykpR3cH5xjhUu1WuXXesBjAiBCDHs1w3bhwm34Ngfp8Zitv+/7OdA6MNP7PXuGu/6szA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxARKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYHg/+MkEXZ8lHPRovOugI+7KEwlAsYwXt1IASOvqOL5LOV9W/RrD5\r\nzi5/ynLxTXtXujitH/PMl4wrRlq7D4tQ9dD1IViRXP7RljdaAiPvzNO683ez\r\n7LYT011CPS0IY+aHR0HlwP0rqUZ77m3hUislUvABDyzT+eogoC3bxE7ES2Ed\r\nDYjwXEg6ZrhZRD507X565U8MKiKem6LxsvZt4CbmNu5yNFdGc5QV6d/8AjJw\r\niJN7kDH870nOes6S+yVPhP+6tM7soz1ciIIENYxOgnpyjM0mHRI6f1+Y3Biy\r\ngEfNS7g8aV00pnideUg3QFU+eZPVOjQ7U+u1U4l6IwA9lEwn8QmJv12xXqML\r\nXGdwpaSEdFHPlkJM7sp4PwRA4XR4UuMspOuUWAjj4dIULXGy0xNkKllNJMm/\r\nd9wWNtCetaq0aZwdIZQrHQ0Yzw8BzdbVV2PqfG5GvZPnmk9ep15UIETmCXTc\r\nysSpQjbjOGU2I9abU2O9Fl7xhTYIkLWa0kPTuct3XxhqIqGo4/cm2gObBLeV\r\nX27oOmwwh0nJa8gL34Se2mhDYOBPw6RlP/cbWovgyM+TILU6/BX1Kmc+FfD5\r\nsJFVNjhdbNC5ZmZ1j19fLqmkDneJZA0ZFXrcWzYXmiaWUdnYsIfliI/jxwb1\r\nK+OCcQr8iZggR0ChJdthJqT3mzN0Q9yrCSw=\r\n=VjA5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"snow-fox","email":"snow@sfxh.cc"},"directories":{},"maintainers":[{"name":"snow-fox","email":"snow@sfxh.cc"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tslint_6.0.0_1673790537933_0.14870875415661766"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-15T13:48:57.857Z","6.0.0":"2023-01-15T13:48:58.129Z","modified":"2023-01-15T13:48:58.339Z"},"maintainers":[{"name":"snow-fox","email":"snow@sfxh.cc"}],"description":"An extensible static analysis linter for the TypeScript language","homepage":"https://palantir.github.io/tslint","keywords":["cli","typescript","linter"],"repository":{"type":"git","url":"git+https://github.com/palantir/tslint.git"},"bugs":{"url":"https://github.com/palantir/tslint/issues"},"license":"MIT","readme":"[![NPM version](https://badge.fury.io/js/tslint.svg)](https://badge.fury.io/js/tslint)\n[![Downloads](https://img.shields.io/npm/dm/tslint.svg)](https://npmjs.org/package/tslint)\n[![Dependency Status](https://david-dm.org/palantir/tslint.svg)](https://david-dm.org/palantir/tslint)\n[![devDependency Status](https://david-dm.org/palantir/tslint/dev-status.svg)](https://david-dm.org/palantir/tslint/?type=dev)\n[![peerDependency Status](https://david-dm.org/palantir/tslint/peer-status.svg)](https://david-dm.org/palantir/tslint/?type=peer)\n[![Circle CI](https://circleci.com/gh/palantir/tslint.svg?style=svg)](https://circleci.com/gh/palantir/tslint)\n\n# TSLint\n\n:warning: __TSLint is deprecated.__\n\n> See this issue for more details: [Roadmap: TSLint &rarr; ESLint](https://github.com/palantir/tslint/issues/4534). If you're interested in helping with the TSLint/ESLint migration, please check out our [OSS Fellowship](https://medium.com/palantir/fellowships-for-open-source-developers-3892e6b75ee1) program.\n\nTSLint is an extensible static analysis tool that checks [TypeScript](https://github.com/Microsoft/TypeScript) code for readability, maintainability, and functionality errors. It is widely supported across modern editors & build systems and can be customized with your own lint rules, configurations, and formatters.\n\nTSLint currently supports:\n\n-   an extensive set of core rules\n-   custom lint rules\n-   custom formatters (failure reporters)\n-   inline disabling and enabling of rules with comment flags in source code\n-   configuration presets (`tslint:latest`, `tslint-react`, etc.) and plugin composition\n-   automatic fixing of formatting & style violations\n-   integration with [MSBuild](https://github.com/joshuakgoldberg/tslint.msbuild), [Grunt](https://github.com/palantir/grunt-tslint), [Gulp](https://github.com/panuhorsmalahti/gulp-tslint), [Atom](https://github.com/AtomLinter/linter-tslint), [Eclipse](https://github.com/palantir/eclipse-tslint), [Emacs](https://www.flycheck.org/), [Sublime](https://packagecontrol.io/packages/SublimeLinter-contrib-tslint), [Vim](https://github.com/scrooloose/syntastic), [Visual Studio 2015](https://marketplace.visualstudio.com/items?itemName=MadsKristensen.WebAnalyzer), [Visual Studio 2017](https://marketplace.visualstudio.com/items?itemName=RichNewman.TypeScriptAnalyzer), [Visual Studio code](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-tslint-plugin) (alternative: use [this extension](https://marketplace.visualstudio.com/items?itemName=eg2.tslint) for TS <3.2), [WebStorm](https://www.jetbrains.com/webstorm/help/tslint.html) and [more](https://palantir.github.io/tslint/usage/third-party-tools/)\n\n## Installation & Usage\n\nPlease refer to the full installation & usage documentation on the [TSLint website](https://palantir.github.io/tslint/). There, you'll find information about\n\n-   [configuration](https://palantir.github.io/tslint/usage/configuration/),\n-   [core rules](https://palantir.github.io/tslint/rules/),\n-   [core formatters](https://palantir.github.io/tslint/formatters/), and\n-   [customization of TSLint](https://palantir.github.io/tslint/develop/custom-rules/).\n-   [inline disabling and enabling of rules with comment flags](https://palantir.github.io/tslint/usage/rule-flags/)\n\n## TSLint Playground\n\nThere is a sandbox environment for TSLint at [palantir.github.io/tslint-playground](https://palantir.github.io/tslint-playground/), which can be used to test rules and see how TSLint works. Issues can be filed against `tslint-playground` [here](https://github.com/palantir/tslint-playground).\n\n## Custom Rules & Plugins\n\n#### Custom rule sets from Palantir\n\n-   [tslint-react](https://github.com/palantir/tslint-react) - Lint rules related to React & JSX.\n-   [tslint-blueprint](https://github.com/palantir/tslint-blueprint) - Lint rules to enforce best practices with [blueprintjs libraries](https://github.com/palantir/blueprint)\n\n#### Custom rule sets from the community\n\nIf we don't have all the rules you're looking for, you can either write your own [custom rules](https://palantir.github.io/tslint/develop/custom-rules/) or use rules implementations developed by the community. The repos below are a good source of custom rules:\n\n-   [ESLint rules for TSLint](https://github.com/buzinas/tslint-eslint-rules) - Improve your TSLint with the missing ESLint Rules\n-   [tslint-microsoft-contrib](https://github.com/Microsoft/tslint-microsoft-contrib) - A set of TSLint rules used on some Microsoft projects\n-   [codelyzer](https://github.com/mgechev/codelyzer) - A set of tslint rules for static code analysis of Angular TypeScript projects\n-   [vrsource-tslint-rules](https://github.com/vrsource/vrsource-tslint-rules)\n-   [tslint-immutable](https://github.com/jonaskello/tslint-immutable) - TSLint rules to disable mutation in TypeScript\n-   [tslint-consistent-codestyle](https://github.com/ajafff/tslint-consistent-codestyle) - TSLint rules to enforce consistent code style in TypeScript\n-   [tslint-sonarts](https://github.com/SonarSource/SonarTS) - Bug-finding rules based on advanced code models to spot hard to find errors in TypeScript\n-   [tslint-clean-code](https://github.com/Glavin001/tslint-clean-code) - A set of TSLint rules inspired by the Clean Code handbook\n-   [rxjs-tslint-rules](https://github.com/cartant/rxjs-tslint-rules) - TSLint rules for RxJS\n\n## Development\n\nPrerequisites:\n\n-   `node` v7+\n-   `yarn` v1.0+\n\n#### Quick Start\n\n```bash\ngit clone git@github.com:palantir/tslint.git --config core.autocrlf=input --config core.eol=lf\nyarn\nyarn compile\nyarn test\n```\n","readmeFilename":"README.md"}