{"_id":"@delagen/eslint-plugin-deprecation","_rev":"4-af354be4a4c9d766eb3482044193cd4c","name":"@delagen/eslint-plugin-deprecation","dist-tags":{"latest":"1.3.2"},"versions":{"1.3.0":{"name":"@delagen/eslint-plugin-deprecation","version":"1.3.0","description":"ESLint rule that reports usage of deprecated code","author":{"name":"Alex Malkevich","email":"malkevich.alex@gmail.com"},"contributors":[{"name":"Vohmyanin Sergey","email":"delagen@gmail.com"}],"license":"LGPL-3.0-or-later","repository":{"type":"git","url":"git+https://github.com/delagen/eslint-plugin-deprecation.git"},"main":"dist/index.js","scripts":{"ct":"git-cz","prebuild":"rimraf dist","build":"tsc --build tsconfig.build.json","build:w":"npm run build -- --watch","test":"jest","test:w":"npm run test -- --watch","format":"prettier --write src/**/*","format:check":"prettier --check src/**/*","semantic-release":"semantic-release"},"dependencies":{"@typescript-eslint/experimental-utils":"^5.0.0","tslib":"^2.3.1","tsutils":"^3.21.0"},"peerDependencies":{"eslint":"^6.0.0 || ^7.0.0 || ^8.0.0","typescript":"^3.7.5 || ^4.0.0"},"devDependencies":{"@commitlint/cli":"^14.1.0","@commitlint/config-conventional":"^14.1.0","@semantic-release/changelog":"^6.0.1","@semantic-release/commit-analyzer":"^9.0.1","@semantic-release/git":"^10.0.1","@semantic-release/github":"^8.0.2","@semantic-release/npm":"^8.0.3","@semantic-release/release-notes-generator":"^10.0.2","@types/jest":"^27.0.2","@types/node":"^16.11.7","@typescript-eslint/eslint-plugin":"^5.3.1","@typescript-eslint/parser":"^5.3.1","eslint":"^8.2.0","commitizen":"^4.2.4","cz-conventional-changelog":"^3.3.0","husky":"^7.0.4","lint-staged":"^11.2.6","jest":"^27.3.1","prettier":"^2.4.1","rimraf":"^3.0.2","semantic-release":"^18.0.0","ts-jest":"^27.0.7","typescript":"^4.4.4"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged","pre-push":"npm run format:check"}},"lint-staged":{"src/**/*":["prettier --write"]},"types":"./dist\\index.d.ts","gitHead":"481df7d5f41581ee41d24e243e20542486fc8644","bugs":{"url":"https://github.com/delagen/eslint-plugin-deprecation/issues"},"homepage":"https://github.com/delagen/eslint-plugin-deprecation#readme","_id":"@delagen/eslint-plugin-deprecation@1.3.0","_nodeVersion":"16.13.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-hPe516znPnWrwyW1DFPcUKp+NQWPR4nx0+ycVbETIviw2G7V7vlqHRnf18skCniD15fGEGYzxOh1ZeuJndW9tQ==","shasum":"479b0cd98e14927185cf3f2c18663a02d628c52d","tarball":"https://registry.npmjs.org/@delagen/eslint-plugin-deprecation/-/eslint-plugin-deprecation-1.3.0.tgz","fileCount":16,"unpackedSize":35882,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDRC61tLGSHaTW0NjvvP5kdioUJC0YI0XHz5/CAg4HQOAiEAoM4qYr2ahrIWTNvgX+/0Kiq04Uv/Vm/HAZ2ohYW+E5s="}]},"_npmUser":{"name":"delagen","email":"delagen@gmail.com"},"directories":{},"maintainers":[{"name":"delagen","email":"delagen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-deprecation_1.3.0_1636461865767_0.4167518682426181"},"_hasShrinkwrap":false},"1.3.1":{"name":"@delagen/eslint-plugin-deprecation","version":"1.3.1","description":"ESLint rule that reports usage of deprecated code","author":{"name":"Alex Malkevich","email":"malkevich.alex@gmail.com"},"contributors":[{"name":"Vohmyanin Sergey","email":"delagen@gmail.com"}],"license":"LGPL-3.0-or-later","repository":{"type":"git","url":"git+https://github.com/delagen/eslint-plugin-deprecation.git"},"main":"dist/index.js","scripts":{"ct":"git-cz","prebuild":"rimraf dist","build":"tsc --build tsconfig.build.json","build:w":"npm run build -- --watch","test":"jest","test:w":"npm run test -- --watch","format":"prettier --write src/**/*","format:check":"prettier --check src/**/*","semantic-release":"semantic-release"},"dependencies":{"@typescript-eslint/experimental-utils":"^5.6.0","tslib":"^2.3.1","tsutils":"^3.21.0"},"peerDependencies":{"eslint":"^6.0.0 || ^7.0.0 || ^8.0.0","typescript":"^3.7.5 || ^4.0.0"},"devDependencies":{"@commitlint/cli":"^15.0.0","@commitlint/config-conventional":"^15.0.0","@semantic-release/changelog":"^6.0.1","@semantic-release/commit-analyzer":"^9.0.2","@semantic-release/git":"^10.0.1","@semantic-release/github":"^8.0.2","@semantic-release/npm":"^8.0.3","@semantic-release/release-notes-generator":"^10.0.3","@types/jest":"^27.0.3","@types/node":"^16.11.12","@typescript-eslint/eslint-plugin":"^5.6.0","@typescript-eslint/parser":"^5.6.0","eslint":"^8.4.1","commitizen":"^4.2.4","cz-conventional-changelog":"^3.3.0","husky":"^7.0.4","lint-staged":"^12.1.2","jest":"^27.4.3","prettier":"^2.5.1","rimraf":"^3.0.2","semantic-release":"^18.0.1","ts-jest":"^27.1.1","typescript":"^4.5.2"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged","pre-push":"npm run format:check"}},"lint-staged":{"src/**/*":["prettier --write"]},"types":"./dist\\index.d.ts","gitHead":"4a87a42e22ca84ff606dc6b346a14198d81f3c2c","bugs":{"url":"https://github.com/delagen/eslint-plugin-deprecation/issues"},"homepage":"https://github.com/delagen/eslint-plugin-deprecation#readme","_id":"@delagen/eslint-plugin-deprecation@1.3.1","_nodeVersion":"16.13.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-HghIXaZjGduVmZRWGwzeIYYNMCUXCf+wZLFjETSUIO+8M225MDMx0VxCpKnWJm9sSgdJW61WQ0vCv/PBinE1XQ==","shasum":"e5bbb94a5cc03eb4b7fe69cf5efa46c770b5f721","tarball":"https://registry.npmjs.org/@delagen/eslint-plugin-deprecation/-/eslint-plugin-deprecation-1.3.1.tgz","fileCount":16,"unpackedSize":35676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhshE5CRA9TVsSAnZWagAAWqkP/3xbvPhbr9qTpvJL2CkW\n95muPVzx3q+B2Z7pBzeenPKq9ctUUuA5EgFskIJhgyq9VIGZPT8cgO9tePlt\nkelMWKhM8uV4n0VtSeBvhkK7C/+GH3xgyAmK3fOoVghVhvq1WbZksCmTFmDY\nz92sauRAPMIBJBx17t1XW7y30v9GA1Ir8yasYmUNXVbjviRldpBStFQr88R9\n+C0rxqHgW2a7J+ZlcQnQeK/ycK28qQA1A+IVmZpxBAbyeaZsD/UkeBANDwkN\nfSlABkys/MeFFAxNZ57hAzSTdBXQ76EkjAqB5m6MbeN1GoYm4QuHy1KddIzq\nj9gCqxufZ3Fpt5fIw966vo0B5Qo+2YznwdgIgJ4hSni8Csx0wqEulF6/fz2V\nQUNbeJJ3IKlfOMgv9Ynoh6XqbdtOed8zLTUU3bRSK8W9sNzGHaxLRGGLwxWa\nDQa/JUYCYEj7ZGeU461n9yZea0xx/1mRiTKlh2/H9NUwbFTEc6duERHGOZm/\n7vbIGzcDlFt8ysMMApT4POAkXWFia2w8CGaeel5vNc9uyjgaY26/MGSVsm/A\nEPPEqL/IMbCATYADiT9M1bYVPUSPbgDsgtYqrmmQYF/FBedki6NR1n8jiyTH\nVrJtJBspfojbrbbxPHgJvi9QhA9JTit6O5DOGOXWDW/W4ejDpbCMEdPdVxvw\n6BIO\r\n=urZ6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE5/UAMTRzLbnANGromp3YiqJW6iYSKdcDyHQLjcLqvtAiBv1kkFFxi90M/6jYt3wpgKYZXZ7FhRy95LlSzAeq+nLw=="}]},"_npmUser":{"name":"delagen","email":"delagen@gmail.com"},"directories":{},"maintainers":[{"name":"delagen","email":"delagen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-deprecation_1.3.1_1639059769360_0.6206746547361508"},"_hasShrinkwrap":false,"deprecated":"It's has false positives"},"1.3.2":{"name":"@delagen/eslint-plugin-deprecation","version":"1.3.2","description":"ESLint rule that reports usage of deprecated code","author":{"name":"Alex Malkevich","email":"malkevich.alex@gmail.com"},"contributors":[{"name":"Vohmyanin Sergey","email":"delagen@gmail.com"}],"license":"LGPL-3.0-or-later","repository":{"type":"git","url":"git+https://github.com/delagen/eslint-plugin-deprecation.git"},"main":"dist/index.js","scripts":{"ct":"git-cz","prebuild":"rimraf dist","build":"tsc --build tsconfig.build.json","build:w":"npm run build -- --watch","test":"jest","test:w":"npm run test -- --watch","format":"prettier --write src/**/*","format:check":"prettier --check src/**/*","semantic-release":"semantic-release"},"dependencies":{"@typescript-eslint/experimental-utils":"~5.3.1","tslib":"^2.3.1","tsutils":"^3.21.0"},"peerDependencies":{"eslint":"^6.0.0 || ^7.0.0 || ^8.0.0","typescript":"^3.7.5 || ^4.0.0"},"devDependencies":{"@commitlint/cli":"~14.1.0","@commitlint/config-conventional":"~15.0.0","@semantic-release/changelog":"~6.0.1","@semantic-release/commit-analyzer":"~9.0.2","@semantic-release/git":"~10.0.1","@semantic-release/github":"~8.0.2","@semantic-release/npm":"~8.0.3","@semantic-release/release-notes-generator":"~10.0.3","@types/jest":"~27.0.3","@types/node":"~16.11.12","@typescript-eslint/eslint-plugin":"~5.3.1","@typescript-eslint/typescript-estree":"~5.3.1","@typescript-eslint/parser":"~5.3.1","eslint":"~8.4.1","commitizen":"~4.2.4","cz-conventional-changelog":"~3.3.0","husky":"~7.0.4","lint-staged":"~12.1.2","jest":"~27.4.3","prettier":"~2.5.1","rimraf":"~3.0.2","semantic-release":"~18.0.1","ts-jest":"~27.1.1","typescript":"~4.4.4"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged","pre-push":"npm run format:check"}},"lint-staged":{"src/**/*":["prettier --write"]},"types":"./dist\\index.d.ts","gitHead":"45756faed100f9933d5af2b6433954e08c663f4d","bugs":{"url":"https://github.com/delagen/eslint-plugin-deprecation/issues"},"homepage":"https://github.com/delagen/eslint-plugin-deprecation#readme","_id":"@delagen/eslint-plugin-deprecation@1.3.2","_nodeVersion":"16.13.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-cA6HE0GPeXMVHMXKuLVJadmjdYsdVEIw0MQ3j+YUx+50e/5jddpDrllBn0SeVqHbPQQqd52eRGctFaDw0NYRJg==","shasum":"85a8d47b4ee8976b1edf5741f98579a16cd16a06","tarball":"https://registry.npmjs.org/@delagen/eslint-plugin-deprecation/-/eslint-plugin-deprecation-1.3.2.tgz","fileCount":16,"unpackedSize":35961,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsmaLCRA9TVsSAnZWagAAlvAP/RZkyxVGBR8FcBgu81B/\nX6GBWJ9GGSv/FkSLgcwmmoXTqTg/7EImr7vBKj57gsSuNcGe+Y5NKX55DDF/\n5bgD2fHbpQ+sPG9JNWh3tWs6uyz9EzA318AMoSSmeRcqU+IvgiDc8Sl1Ro+k\nyD5RBIi4Ehe9cXlcgxhFtvwQS9kj1W5i8C5Mqxf3ZDU7x12b9G4Xi8CRmwuX\n47GmjqAoYsS8M4dLD9Goj45cWmA2ZIkAKfS1gugFFpi+3Z6RYSKv5OCXgsdm\nYBaMPD77VeHGTToxZdDWjGdE/oL6nTkeqvJCjVDAL+iJTsWptKr/9eb8FMgb\n4Osf8vyw8PXXkGMRIR9ehfwNBVjWiFlfYy0dfzHL86YzJPOkrFhxco76aEBX\n58f/u1H5UJg/ytZf3ygNrMg4C0GSwanea5Cl7bMCbTHnezcMeNuF1qTKb0Sp\nbKNaw4oZo8D6UtInyTAHpmCGaiDzmv3gUo8V3B1KP3LqiAPzqqxlu4sXQWoe\n1Yxn85XCywC1rGUdl8GT4DnIhMGrVqeMZSuiw/Ss3seRgxKOBSBxjsiBbFg7\nb0Y+KEk6nW5tWt6zaHF6oUl85fwp2HSNwydtWoFUdhBI7xmntImSloZb+8Ia\nunwn5HEWkKzzfsnSo6PiMH8tUpkqNL7bbBZgQFszDwPPIPICWOBNZpi5NjK8\nQMnS\r\n=qylc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFxidRZB7ard9zNIN+OzpDAfMl9/vwlRJGHnfQ+NFlCQAiEAseo84dgmso+ykD/SZCzR2/MUsgYvsWbMgOeGHBK6y9o="}]},"_npmUser":{"name":"delagen","email":"delagen@gmail.com"},"directories":{},"maintainers":[{"name":"delagen","email":"delagen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-deprecation_1.3.2_1639081611819_0.7826463858836197"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-09T12:44:25.721Z","1.3.0":"2021-11-09T12:44:25.902Z","modified":"2022-04-05T03:40:25.190Z","1.3.1":"2021-12-09T14:22:49.491Z","1.3.2":"2021-12-09T20:26:51.962Z"},"maintainers":[{"name":"delagen","email":"delagen@gmail.com"}],"description":"ESLint rule that reports usage of deprecated code","homepage":"https://github.com/delagen/eslint-plugin-deprecation#readme","repository":{"type":"git","url":"git+https://github.com/delagen/eslint-plugin-deprecation.git"},"contributors":[{"name":"Vohmyanin Sergey","email":"delagen@gmail.com"}],"author":{"name":"Alex Malkevich","email":"malkevich.alex@gmail.com"},"bugs":{"url":"https://github.com/delagen/eslint-plugin-deprecation/issues"},"license":"LGPL-3.0-or-later","readme":"# eslint-plugin-deprecation\r\n\r\n[![Build Status](https://travis-ci.org/gund/eslint-plugin-deprecation.svg?branch=master)](https://travis-ci.org/gund/eslint-plugin-deprecation)\r\n[![Maintainability](https://api.codeclimate.com/v1/badges/bfd9c6e327a267130e50/maintainability)](https://codeclimate.com/github/gund/eslint-plugin-deprecation/maintainability)\r\n[![Npm](https://img.shields.io/npm/v/eslint-plugin-deprecation.svg)](https://www.npmjs.com/package/eslint-plugin-deprecation)\r\n[![Npm Downloads](https://img.shields.io/npm/dt/eslint-plugin-deprecation.svg)](https://www.npmjs.com/package/eslint-plugin-deprecation)\r\n![Size](https://badgen.net/bundlephobia/minzip/eslint-plugin-deprecation)\r\n[![Licence](https://img.shields.io/npm/l/eslint-plugin-deprecation.svg?maxAge=2592000)](https://github.com/gund/eslint-plugin-deprecation/blob/master/LICENSE)\r\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\r\n\r\n> ESLint rule that reports usage of deprecated code\r\n\r\n## Prerequisites\r\n\r\nThis plugin only works with `@typescript-eslint/parser`.\r\n\r\nWhich means that you should install dev deps:\r\n\r\n- `@typescript-eslint/parser`\r\n- `typescript`\r\n\r\nThen configure ESLint to parse TypeScript and include type information:\r\n\r\n```jsonc\r\n{\r\n  \"parser\": \"@typescript-eslint/parser\",\r\n  \"parserOptions\": {\r\n    \"ecmaVersion\": 2020,\r\n    \"sourceType\": \"module\",\r\n    \"project\": \"./tsconfig.json\" // <-- Point to your project's tsconfig.json or create new one\r\n  }\r\n}\r\n```\r\n\r\n## Install\r\n\r\nInstall the plugin\r\n\r\n```\r\nnpm i -D eslint-plugin-deprecation\r\n```\r\n\r\n## Setup\r\n\r\nNow add deprecation plugin and rule to your `.eslintrc`:\r\n\r\n```jsonc\r\n{\r\n  \"plugins\": [\"deprecation\", ...],\r\n  \"rules\": {\r\n    \"deprecation/deprecation\": \"warn\", // or \"error\" to have stricter rule\r\n    ...\r\n  }\r\n}\r\n```\r\n\r\nNow eslint will report all deprecated code that you use!\r\n\r\n---\r\n\r\n_NOTE:_ This rule was ported from https://github.com/SonarSource/SonarJS repository.\r\n","readmeFilename":"README.md"}