UNPKG

tslint-react-hooks

Version:

TSLint rule that enforces the Rules of Hooks

48 lines (47 loc) • 1.21 kB
{ "name": "tslint-react-hooks", "version": "2.3.0", "description": "TSLint rule that enforces the Rules of Hooks", "main": "tslint-react-hooks.json", "files": [ "dist", "tslint-react-hooks.json", "CHANGELOG.md" ], "scripts": { "prebuild": "rm -rf dist", "build": "tsc", "prepack": "npm run build", "pretest": "npm run build", "test": "npm run test:only", "test:only": "npm run test:only:lint", "test:only:lint": "tslint --test test/**/tslint.json", "format": "prettier --write src .github", "format:check": "prettier --check src .github" }, "keywords": [ "tslint", "react", "react-hooks", "rules of hooks", "react hooks", "tslint plugin" ], "author": "Grzegorz Rozdzialik <voreny.gelio@gmail.com>", "license": "MIT", "devDependencies": { "@types/node": "^22.20.5", "prettier": "^3.9.10", "tslint": "^6.1.3", "typescript": "^5.9.3" }, "homepage": "https://github.com/Gelio/tslint-react-hooks", "repository": { "type": "git", "url": "https://github.com/Gelio/tslint-react-hooks" }, "peerDependencies": { "tslint": "^5.0.0 || ^6.0.0", "typescript": ">=2.4.0 <7.0.0-0" } }