{"nyc":{"include":["lib"]},"bugs":{"url":"https://github.com/bradzacher/eslint-plugin-typescript/issues"},"dist":{"shasum":"9b4681d75b1952ef41d9cfd7c506ac386a768878","tarball":"https://registry.npmjs.org/eslint-plugin-typescript/-/eslint-plugin-typescript-1.0.0-rc.1.tgz","fileCount":73,"integrity":"sha512-K45mNfd6Ru3ItHyLpwkQgjCgTMLcLvmsJmH+81yKxqFZRn0BQ6doM9TAovNXvMn2ZryXmBbXWeGhYftU2exh8w==","signatures":[{"sig":"MEQCIEtfMfjeFvXS7O+6Di3Jh2A1EMBnAhJSZyfKcbGEsCB0AiBRjkCBKwxgRN8+5pTebVJ9Jyzvmg9GH8KIRF7UjakT9g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":263731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLOthCRA9TVsSAnZWagAAi54P/j+c1qn5Pz1CcKXcoRbP\n99zaja61WZhiJRUqwKKtVpa7oUeup2AD0P9VtndTClwUz/yWBgkgTY7fK3D3\ndFEqxI43XQ2mjv9AqWMjP+j9TPjy43szym4QeNPgCWVFEDDV0HKdeqe2Rgho\nWcuI9K2OyCe0dMJlVARSyEMpQjgCJCxSe0Ty9Kkhq+UXMrQX1VruwKGcMKSt\neootjdl4/ph5e9JSLQBlglEGWtRkAn2z6QMeQ6FYVSFQWgi/CX8P2ijx8btK\npsVs5LjxzcM39+x1LpAnZv0w0+WgmdPVy21gyOF2glxitKfJQf8m0aoeFLRa\nZAp1s30EqCTn508Ve35Q9WqWjQHMh3QEX5gsADZeNx86m+ecEiivdFyvN1ry\n7qOxcR/Z+SOy9ct96P8YwR6D0q9y/XrdThH34/+0wBD8k4rqM9yWx7bGaGnT\nWm8fFUI4R2fCQyRZ/3hCBH4rZAVkzwl8ftXNB1Kbl1p16jDbO+nemjyZ1CZY\nGXZHoHRrDPee4MK7ffbkICzRFJmBhazZlk2F1BF53ZdmS0PnhM6otA4KxPT+\na7SD3gpR8REVWs9h95O2TV7AI8ChZhUF8ED9DvurSN+VLCrz0D3dMr1c5vZp\n/TmCE4pu5yp0MqkWcXLrIhNN9yOJzLqvXFUFSEzARugzhPyjP9+vVRNAPrHu\nryB0\r\n=2zp6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","name":"eslint-plugin-typescript","husky":{"hooks":{"pre-commit":"yarn pre-commit && lint-staged"}},"author":{"name":"Brad Zacher"},"readme":"# eslint-plugin-typescript\n\n[![NPM version](https://img.shields.io/npm/v/eslint-plugin-typescript.svg)](https://www.npmjs.com/package/eslint-plugin-typescript)\n[![NPM downloads](https://img.shields.io/npm/dm/eslint-plugin-typescript.svg)](https://www.npmjs.com/package/eslint-plugin-typescript)\n[![TravisCI](https://img.shields.io/travis/bradzacher/eslint-plugin-typescript.svg)](https://travis-ci.com/bradzacher/eslint-plugin-typescript)\n\nTypeScript support for ESLint. (This is still in the very early stages, so please be patient.)\n\n### The below readme is for the upcoming 1.0.0 release. [Please see this tag for the current NPM version (0.14.0)](https://github.com/bradzacher/eslint-plugin-typescript/tree/0.14.0)\n\n## Installation\n\nYou'll first need to install [ESLint](http://eslint.org):\n\n```shellsession\n$ npm i eslint --save-dev\n```\n\nNext, install `typescript` if you haven’t already:\n\n```shellsession\n$ npm i typescript@~3.1.1 --save-dev\n```\n\nLast, install `eslint-plugin-typescript`:\n\n```shellsession\n$ npm install eslint-plugin-typescript --save-dev\n```\n\n**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-typescript` globally.\n\n## Usage\n\nAdd `eslint-plugin-typescript/parser` to the `parser` field and `typescript` to the plugins section of your `.eslintrc` configuration file:\n\n```json\n{\n    \"parser\": \"eslint-plugin-typescript/parser\",\n    \"plugins\": [\"typescript\"]\n}\n```\n\nNote: The plugin provides its own version of the `typescript-eslint-parser` via `eslint-plugin-typescript/parser`.\nThis helps us guarantee 100% compatibility between the plugin and the parser.\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n    \"parser\": \"eslint-plugin-typescript/parser\",\n    \"plugins\": [\"typescript\"],\n    \"rules\": {\n        \"typescript/rule-name\": \"error\"\n    }\n}\n```\n\nYou can also enable all the recommended rules at once. Add `plugin:typescript/recommended` in extends:\n\n```json\n{\n    \"extends\": [\"plugin:typescript/recommended\"]\n}\n```\n\n## Supported Rules\n\n<!-- Please run `npm run docs` to update this section -->\n<!-- begin rule list -->\n\n**Key**: :heavy_check_mark: = recommended, :wrench: = fixable\n\n<!-- prettier-ignore -->\n| Name | Description | :heavy_check_mark: | :wrench: |\n| ---- | ----------- | ------------------ | -------- |\n| [`typescript/adjacent-overload-signatures`](./docs/rules/adjacent-overload-signatures.md) | Require that member overloads be consecutive (`adjacent-overload-signatures` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/array-type`](./docs/rules/array-type.md) | Requires using either `T[]` or `Array<T>` for arrays (`array-type` from TSLint) | :heavy_check_mark: | :wrench: |\n| [`typescript/ban-types`](./docs/rules/ban-types.md) | Enforces that types will not to be used (`ban-types` from TSLint) | :heavy_check_mark: | :wrench: |\n| [`typescript/camelcase`](./docs/rules/camelcase.md) | Enforce camelCase naming convention | :heavy_check_mark: |  |\n| [`typescript/class-name-casing`](./docs/rules/class-name-casing.md) | Require PascalCased class and interface names (`class-name` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/explicit-function-return-type`](./docs/rules/explicit-function-return-type.md) | Require explicit return types on functions and class methods | :heavy_check_mark: |  |\n| [`typescript/explicit-member-accessibility`](./docs/rules/explicit-member-accessibility.md) | Require explicit accessibility modifiers on class properties and methods (`member-access` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/generic-type-naming`](./docs/rules/generic-type-naming.md) | Enforces naming of generic type variables |  |  |\n| [`typescript/indent`](./docs/rules/indent.md) | Enforce consistent indentation (`indent` from TSLint) | :heavy_check_mark: | :wrench: |\n| [`typescript/interface-name-prefix`](./docs/rules/interface-name-prefix.md) | Require that interface names be prefixed with `I` (`interface-name` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/member-delimiter-style`](./docs/rules/member-delimiter-style.md) | Require a specific member delimiter style for interfaces and type literals | :heavy_check_mark: | :wrench: |\n| [`typescript/member-naming`](./docs/rules/member-naming.md) | Enforces naming conventions for class members by visibility. |  |  |\n| [`typescript/member-ordering`](./docs/rules/member-ordering.md) | Require a consistent member declaration order (`member-ordering` from TSLint) |  |  |\n| [`typescript/no-angle-bracket-type-assertion`](./docs/rules/no-angle-bracket-type-assertion.md) | Enforces the use of `as Type` assertions instead of `<Type>` assertions (`no-angle-bracket-type-assertion` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/no-array-constructor`](./docs/rules/no-array-constructor.md) | Disallow generic `Array` constructors | :heavy_check_mark: | :wrench: |\n| [`typescript/no-empty-interface`](./docs/rules/no-empty-interface.md) | Disallow the declaration of empty interfaces (`no-empty-interface` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/no-explicit-any`](./docs/rules/no-explicit-any.md) | Disallow usage of the `any` type (`no-any` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/no-extraneous-class`](./docs/rules/no-extraneous-class.md) | Forbids the use of classes as namespaces (`no-unnecessary-class` from TSLint) |  |  |\n| [`typescript/no-inferrable-types`](./docs/rules/no-inferrable-types.md) | Disallows explicit type declarations for variables or parameters initialized to a number, string, or boolean. (`no-inferrable-types` from TSLint) | :heavy_check_mark: | :wrench: |\n| [`typescript/no-misused-new`](./docs/rules/no-misused-new.md) | Enforce valid definition of `new` and `constructor`. (`no-misused-new` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/no-namespace`](./docs/rules/no-namespace.md) | Disallow the use of custom TypeScript modules and namespaces (`no-namespace` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/no-non-null-assertion`](./docs/rules/no-non-null-assertion.md) | Disallows non-null assertions using the `!` postfix operator (`no-non-null-assertion` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/no-object-literal-type-assertion`](./docs/rules/no-object-literal-type-assertion.md) | Forbids an object literal to appear in a type assertion expression (`no-object-literal-type-assertion` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/no-parameter-properties`](./docs/rules/no-parameter-properties.md) | Disallow the use of parameter properties in class constructors. (`no-parameter-properties` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/no-this-alias`](./docs/rules/no-this-alias.md) | Disallow aliasing `this` (`no-this-assignment` from TSLint) |  |  |\n| [`typescript/no-triple-slash-reference`](./docs/rules/no-triple-slash-reference.md) | Disallow `/// <reference path=\"\" />` comments (`no-reference` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/no-type-alias`](./docs/rules/no-type-alias.md) | Disallow the use of type aliases (`interface-over-type-literal` from TSLint) |  |  |\n| [`typescript/no-unused-vars`](./docs/rules/no-unused-vars.md) | Disallow unused variables (`no-unused-variable` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/no-use-before-define`](./docs/rules/no-use-before-define.md) | Disallow the use of variables before they are defined | :heavy_check_mark: |  |\n| [`typescript/no-var-requires`](./docs/rules/no-var-requires.md) | Disallows the use of require statements except in import statements (`no-var-requires` from TSLint) | :heavy_check_mark: |  |\n| [`typescript/prefer-interface`](./docs/rules/prefer-interface.md) | Prefer an interface declaration over a type literal (type T = { ... }) (`interface-over-type-literal` from TSLint) | :heavy_check_mark: | :wrench: |\n| [`typescript/prefer-namespace-keyword`](./docs/rules/prefer-namespace-keyword.md) | Require the use of the `namespace` keyword instead of the `module` keyword to declare custom TypeScript modules. (`no-internal-module` from TSLint) | :heavy_check_mark: | :wrench: |\n| [`typescript/type-annotation-spacing`](./docs/rules/type-annotation-spacing.md) | Require consistent spacing around type annotations (`typedef-whitespace` from TSLint) | :heavy_check_mark: | :wrench: |\n\n<!-- end rule list -->\n","engines":{"node":">=6"},"gitHead":"867df2ed6fb1d8a1de1771710a9b92ee1f63977b","license":"MIT","scripts":{"docs":"eslint-docs","lint":"eslint lib/ tests/ tools/","test":"nyc mocha tests --recursive --reporter=dot","format":"yarn format-no-write --write && yarn prettier --write","lint:fix":"eslint lib/ tests/ tools/ --fix","prettier":"prettier **/*.{md,yml,json}","docs:check":"eslint-docs check","pre-commit":"yarn check --verify-tree && yarn lint && yarn format-check && yarn test && yarn docs:check","format-check":"yarn format-no-write --list-different && yarn prettier --list-different","test:coverage":"nyc check-coverage --lines 95 --per-file","format-no-write":"prettier-eslint lib/**/*.js tests/**/*.js tools/**/*.js --eslint-config-path=.eslintrc --eslint-ignore --prettier-ignore --eslint-path=node_modules/eslint --config=.prettierrc","recommended:update":"node tools/update-recommended.js"},"_npmUser":{"name":"bradzacher","email":"brad.zacher@gmail.com"},"homepage":"https://github.com/bradzacher/eslint-plugin-typescript#readme","keywords":["eslint","eslintplugin","eslint-plugin","typescript"],"repository":{"url":"git+https://github.com/bradzacher/eslint-plugin-typescript.git","type":"git"},"_npmVersion":"6.2.0","description":"TypeScript plugin for ESLint","directories":{},"lint-staged":{"*.js":["yarn format","git add"]},"maintainers":[{"name":"bradzacher","email":"brad.zacher@gmail.com"}],"_nodeVersion":"10.9.0","dependencies":{"requireindex":"^1.2.0","typescript-eslint-parser":"21.0.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^13.1.0","husky":"^1.2.0","mocha":"^5.2.0","eslint":"^5.9.0","typescript":"~3.1.1","eslint-docs":"^0.2.6","lint-staged":"^8.1.0","eslint-plugin-node":"^8.0.0","prettier-eslint-cli":"^4.7.1","eslint-config-eslint":"^5.0.1","eslint-config-prettier":"^3.3.0","eslint-plugin-prettier":"^3.0.0","eslint-plugin-eslint-plugin":"^2.0.0"},"peerDependencies":{"eslint":">=4.13.1 < 6","typescript":"~3.1.1"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-typescript_1.0.0-rc.1_1546447712216_0.2965901709619043","host":"s3://npm-registry-packages"},"_id":"eslint-plugin-typescript@1.0.0-rc.1","version":"1.0.0-rc.1"}