{"nyc":{"include":["lib"]},"bugs":{"url":"https://github.com/bradzacher/eslint-plugin-typescript/issues"},"dist":{"shasum":"f6262e22627bdf7e1876716c0825353fca24e642","tarball":"https://registry.npmjs.org/eslint-plugin-typescript/-/eslint-plugin-typescript-1.0.0-rc.2.tgz","fileCount":73,"integrity":"sha512-q/F2EOSPDeGgIwqZ5MgQmOpbhQjkuW7ko3M0fsXJ/2DUarG+ASfE9L1xzyfDtCMV3nFXd5EtypEnNawInXmpLg==","signatures":[{"sig":"MEUCIQDnskWUuP8usk1HjI5N8m/HvjXt5rk5Ljsi/9bJFLYxYwIgYaHnx6Rmiu6LK2BkS1bu70xitl/ZF5A/wJC0Mu8PadI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":269268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNUjqCRA9TVsSAnZWagAAtwoP/RNiv5dbZmk6LHC4Ns7e\nJXZGWe1j05uj0K93cQq3oIVsAd31NsCo2yK/KKXTgl2OAkg1Jp2yGaMWNnFv\nLEoC752zF7jb5JTsHyoVEjf5nTUT7znObC/tWUakB0ku6ZYxkotmhpWE1jVl\ndTYDaAArXApgNJfT1XZgIs9llp9zp3GpmNiEusPrPTHl3Am2plFEpFNBAeJ9\nMkSsUO4u0tzaVyWbD9W6IAhU3ZQHynhoETJKVTyKYqgR6KtBwfwnKGlB71IE\nt93rqaWUW7I9weXic65N3TQIczoYsv7c/xPMj9CFbsb4DyrrumMAVyVO2ATA\ne7x9f1/wU9KmcM0BGysfoovpGBr2TWtCQdWd/LbEJ/TJ9iK5pIZFsFUmCUHY\nqqQxidOC0zV+CHmZaI95DDLF0Q8jL/7qOGdRqihLTjvDm4gH5CkHTbnHaZuH\nYIazBd0RLGdYZETZSegmKyYz66XJdh3HwpllrvMLER7SLhyYAg6GTHVbwsal\ntHN9rfi8ZxUG/g2LGEH+uy4ISHEESXg3PzXnVIInYY4PQ6LK07m+PqlwsXVe\nh1vZ5lR1fjEGVebANZmae5BXSVctEx+Ehb7cNfgUNeSShvoZxZ+sLNbdn4s8\ntfAxYvsj9wu53QepTzPMzCAGmJRjqAsUpwq89/0LQwZoWqgG8JpQD6hLviFb\niQoP\r\n=WxHm\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":"4245290cb2b700c21a9c38adb318d6b12b8401bb","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.2_1546995945509_0.9172448906042168","host":"s3://npm-registry-packages"},"_id":"eslint-plugin-typescript@1.0.0-rc.2","version":"1.0.0-rc.2"}