{"_id":"eslint-plugin-tcomb","_rev":"29-8c249832a6536eaea5e035aa5920082e","name":"eslint-plugin-tcomb","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"eslint-plugin-tcomb","version":"0.1.0","keywords":["eslint","eslintplugin","eslint-plugin","tcomb"],"author":{"name":"buildo"},"license":"ISC","_id":"eslint-plugin-tcomb@0.1.0","maintainers":[{"name":"buildo","email":"we@buildo.io"}],"dist":{"shasum":"17409e4c6979165bf5f4354280cbd0613611e903","tarball":"https://registry.npmjs.org/eslint-plugin-tcomb/-/eslint-plugin-tcomb-0.1.0.tgz","integrity":"sha512-0vXQUBudOEjuI2+H5d8EX/2VIBj+m8LDokGdaxPvpc0Uws3+LNNNeZp+wH1qIPpc/Lqhvw68la6a09EANCFOhg==","signatures":[{"sig":"MEQCICyVGhhc5xaHgGC0IWKsdlTAkSpsEYKTEhY7YObex5NGAiAU+ZsndL3rpavdmCPGvl3xzC9bG7c4W2eBs5MnlFEIVw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"17409e4c6979165bf5f4354280cbd0613611e903","engines":{"node":">=0.10.0"},"gitHead":"8b6d47d14211cc5de20b896bbe833b8207aebcac","scripts":{"test":"mocha tests --recursive"},"_npmUser":{"name":"buildo","email":"we@buildo.io"},"_npmVersion":"3.7.2","description":"A set of ESLint rules for tcomb","directories":{},"_nodeVersion":"5.5.0","dependencies":{"requireindex":"~1.1.0"},"devDependencies":{"mocha":"^2.5.3","eslint":"~2.6.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-tcomb-0.1.0.tgz_1464643825065_0.32732558296993375","host":"packages-12-west.internal.npmjs.com"}}},"time":{"created":"2016-05-30T21:30:27.562Z","modified":"2024-07-09T08:16:19.844Z","0.1.0":"2016-05-30T21:30:27.562Z"},"author":{"name":"buildo"},"license":"ISC","keywords":["eslint","eslintplugin","eslint-plugin","tcomb"],"description":"A set of ESLint rules for tcomb","maintainers":[{"email":"dimartino.pedro@gmail.com","name":"pedrodim"},{"email":"marpi93@icloud.com","name":"marcopiii"},{"email":"gabriele@buildo.io","name":"gabro"},{"email":"vincenzo@buildo.io","name":"veej"},{"email":"giovanni@buildo.io","name":"giogonzo"},{"email":"tommaso.petrucciani@buildo.io","name":"tpetrucciani"},{"email":"zibo.camito@gmail.com","name":"malpenzibo"},{"email":"federico.ercoles@buildo.io","name":"federico.ercoles"}],"readme":"[![Build Status](https://drone.our.buildo.io/api/badges/buildo/eslint-plugin-tcomb/status.svg)](https://drone.our.buildo.io/buildo/eslint-plugin-tcomb)\n\n# eslint-plugin-tcomb\n\nA set of ESLint rules for [tcomb](https://github.com/gcanti/tcomb)\n\n## Installation\n\nYou'll first need to install [ESLint](http://eslint.org):\n\n```\n$ npm i eslint --save-dev\n```\n\nNext, install `eslint-plugin-tcomb`:\n\n```\n$ npm install eslint-plugin-tcomb --save-dev\n```\n\n**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-tcomb` globally.\n\n## Usage\n\nAdd `tcomb` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n    \"plugins\": [\n        \"tcomb\"\n    ]\n}\n```\n\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n    \"rules\": {\n        \"tcomb/rule-name\": 2\n    }\n}\n```\n\n## Supported Rules\n\n* [`no-loose-structs`](docs/rules/no-loose-structs.md): disallow loose structs\n* [`no-unnamed-types`](docs/rules/no-unnamed-types.md): disallow types without names\n\n## Recommended configuration\n\nThis plugin exports a `recommended` configuration that enforce a disciplined tcomb use.\n\nTo enable this configuration use the `extends` property in your `.eslintrc` config file:\n\n```js\n{\n  \"plugins\": [\n    \"tcomb\"\n  ],\n  \"extends\": [\"eslint:recommended\", \"plugin:tcomb/recommended\"]\n}\n```\n\nSee [ESLint documentation](http://eslint.org/docs/user-guide/configuring#extending-configuration-files) for more information about extending configuration files.\n\nThe rules enabled in this configuration are:\n","readmeFilename":"README.md"}