{"name":"eslint-plugin-typescript","version":"1.0.0-rc.0","description":"TypeScript plugin for ESLint","keywords":["eslint","eslintplugin","eslint-plugin","typescript"],"repository":{"type":"git","url":"git+https://github.com/bradzacher/eslint-plugin-typescript.git"},"author":{"name":"Brad Zacher"},"license":"MIT","main":"lib/index.js","scripts":{"lint":"eslint lib/ tests/ tools/","lint:fix":"eslint lib/ tests/ tools/ --fix","docs":"eslint-docs","docs:check":"eslint-docs check","prettier":"prettier **/*.{md,yml,json}","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","format":"yarn format-no-write --write && yarn prettier --write","format-check":"yarn format-no-write --list-different && yarn prettier --list-different","test":"nyc mocha tests --recursive --reporter=dot","test:coverage":"nyc check-coverage --lines 95 --per-file","recommended:update":"node tools/update-recommended.js","pre-commit":"yarn check --verify-tree && yarn lint && yarn format-check && yarn test && yarn docs:check"},"dependencies":{"requireindex":"^1.2.0","typescript-eslint-parser":"21.0.2"},"devDependencies":{"eslint":"^5.9.0","nyc":"^13.1.0","eslint-config-eslint":"^5.0.1","eslint-config-prettier":"^3.3.0","eslint-docs":"^0.2.6","eslint-plugin-eslint-plugin":"^2.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-prettier":"^3.0.0","husky":"^1.2.0","lint-staged":"^8.1.0","mocha":"^5.2.0","prettier-eslint-cli":"^4.7.1","typescript":"~3.1.1"},"peerDependencies":{"eslint":">=4.13.1 < 6"},"nyc":{"include":["lib"]},"lint-staged":{"*.js":["yarn format","git add"]},"husky":{"hooks":{"pre-commit":"yarn pre-commit && lint-staged"}},"engines":{"node":">=6"},"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```\n$ npm i eslint --save-dev\n```\n\nLast, install `eslint-plugin-typescript`:\n\n```\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","readmeFilename":"README.md","gitHead":"7765028a500231d8d5903253619cc2ca19b98dbd","bugs":{"url":"https://github.com/bradzacher/eslint-plugin-typescript/issues"},"homepage":"https://github.com/bradzacher/eslint-plugin-typescript#readme","_id":"eslint-plugin-typescript@1.0.0-rc.0","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"bradzacher","email":"brad.zacher@gmail.com"},"dist":{"integrity":"sha512-ge+A+Kt1EMI90zzH2Cx7QuPvjxnpBUIBzaEsGkleUB5VFNo4cM6xNEKRGaQBtfyr3dONYPYmNEkWBwxYBKZSoQ==","shasum":"4ac69de1268be7b4f676eb75840bc9f6c96af9e5","tarball":"http://registry-npm.ywwl.com/eslint-plugin-typescript/download/eslint-plugin-typescript-1.0.0-rc.0.tgz","fileCount":73,"unpackedSize":262800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcHptdCRA9TVsSAnZWagAAGuEP/39EyZJmAarYcUPpBo3R\nM45QeIbE81bpnGGhuRoT83A8EvGDcAVmWC6gix3QD/3EPYHyYsQjkTuBtpcE\n3WJAVXc53lLNGyVolhGbANsLdAq5vf+nixNcVdn+oWT916Pd0I6lyCsnwt1d\nQMZFWJlgFs6gKaH5f25f8oEVjOQo3EzyiLSkhzTM2IaXOvVdy7usMKObYYjM\nAwa915A0dAmXqLUIi7qaMx0ewtcapgjEZLg9HpuIeNVuAv/zlYbU9XdJhrPz\nsBmReM14bOEmCT1SSea740zTtYQwHLYdjvkYJoXj5mmwG+pSNHPAIL3NbdkW\nNFk//zgA1JhPctEZXOGUnodbAM6fa4JaEDbPl7GSG3XMkHbSn3ebtZHVj+gh\nsAF9ZSNVu11neD5Jtgt+kL1wA8VVBLASDK0aMZb9EVTNkcnbMs82/ZPmOQBP\nG2xJKKPe6Oai/IdbIC3HXvNZBJZAJnZ/prpnplFEbTP+IId+yYq4ft3cVAe1\nwPZ2TUxuZghk+ttWr7X7sBlAFJJ9KrOm5Ud6FMoy230ZVajO5nNa8LZe3gb3\nudAXQDBVhpYve81MC7VP0zmmUKisLuk61j1/pwrruWcfYuEtVkOmUV10t1CC\nGx/KfRkiiRPi6xIcQYNid/qiXMd+t0hBnUztp7QvLRe56cndR0ZfR3jIg/R8\nTMDa\r\n=7bHE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC++YfrxTblHJHWb2vvWA5LUMRRhi6X08v2gdJJnAaFHQIgGPSiiuHNrHPtCY65y8/KOPU/YRX5gtTROmz6hz+zsTY="}],"size":47319,"noattachment":false,"key":"/eslint-plugin-typescript/-/eslint-plugin-typescript-1.0.0-rc.0.tgz"},"maintainers":[{"email":"james@henry.sc","name":"jameshenry"},{"email":"nicholas@nczconsulting.com","name":"nzakas"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-typescript_1.0.0-rc.0_1545509724176_0.6157580491879864"},"_hasShrinkwrap":false,"publish_time":1545509724346,"_cnpm_publish_time":1545509724346,"dist-tags":{"latest":"0.14.0","next":"1.0.0-rc.3"}}