{"_id":"eslint-plugin-react-functional-set-state","_rev":"7-a38a4a087bd79ed28dc286c38f41e9a4","name":"eslint-plugin-react-functional-set-state","description":"Lint rule for React, should use functional setState","dist-tags":{"latest":"1.2.1"},"versions":{"0.0.0":{"name":"eslint-plugin-react-functional-set-state","version":"0.0.0","description":"Lint Rule for React should use functional setState","keywords":["eslint","eslintplugin","eslint-plugin"],"author":{"name":"Edwin Cromley"},"main":"lib/index.js","scripts":{"test":"mocha tests --recursive"},"dependencies":{"requireindex":"~1.1.0"},"devDependencies":{"eslint":"^3.9.1","mocha":"^3.1.2"},"engines":{"node":">=0.10.0"},"license":"ISC","_id":"eslint-plugin-react-functional-set-state@0.0.0","_shasum":"0942c11593e357dd4e86ad643078369f5301d9c1","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.9.0","_npmUser":{"name":"edwincromley","email":"cromleyedwin89@gmail.com"},"dist":{"shasum":"0942c11593e357dd4e86ad643078369f5301d9c1","tarball":"https://registry.npmjs.org/eslint-plugin-react-functional-set-state/-/eslint-plugin-react-functional-set-state-0.0.0.tgz","integrity":"sha512-W/pkODxcjfrSfIwpVS8E/wGKuHZwfa+8KqAQwOcP7/gJG69G4yIymReqNmpJwpShr17AFHY3sXIU+HUyIvNqKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCi+J5z/eQ7zrM0Yq0/6KQButH5lk+wT63JOmSnPtoWwgIhANVxZBg2Gs9ZvzQ+/8HSHMjCwodUyZCS7owOZT4BrsOk"}]},"maintainers":[{"name":"edwincromley","email":"cromleyedwin89@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-react-functional-set-state-0.0.0.tgz_1497891468579_0.4567082079593092"}},"1.0.0":{"name":"eslint-plugin-react-functional-set-state","version":"1.0.0","description":"Lint rule for React, should use functional setState","keywords":["eslint","eslintplugin","eslint-plugin"],"author":{"name":"Edwin Cromley"},"main":"lib/index.js","scripts":{"test":"mocha tests --recursive"},"dependencies":{"requireindex":"~1.1.0"},"devDependencies":{"eslint":"^3.9.1","mocha":"^3.1.2"},"engines":{"node":">=0.10.0"},"license":"ISC","gitHead":"72cece51e97bc2225150a96e82a6782d7b86d383","_id":"eslint-plugin-react-functional-set-state@1.0.0","_shasum":"0fcbf7ca1ff0a8ceb95b9f78a85d123fcc727d41","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.9.0","_npmUser":{"name":"edwincromley","email":"cromleyedwin89@gmail.com"},"dist":{"shasum":"0fcbf7ca1ff0a8ceb95b9f78a85d123fcc727d41","tarball":"https://registry.npmjs.org/eslint-plugin-react-functional-set-state/-/eslint-plugin-react-functional-set-state-1.0.0.tgz","integrity":"sha512-wSiSlQ9rw1T9IndcNY3E+OzRcvK5fyuYZyAioDtZk9GT2fF56NKUsRXNK2yaOCP7M/fBG9BOvnr/REmAzmJaxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3DfOxd3gE97Eb/6TdjcKzD0FrssbczIUXdHt4KWn50AIgTr9ostUP4ANdsbMNr8o8WIHpBybU+4k/qT4+tEbGbxs="}]},"maintainers":[{"name":"edwincromley","email":"cromleyedwin89@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-react-functional-set-state-1.0.0.tgz_1497895484805_0.937908707652241"}},"1.0.1":{"name":"eslint-plugin-react-functional-set-state","version":"1.0.1","description":"Lint rule for React, should use functional setState","repository":{"type":"git","url":"git+https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state.git"},"keywords":["eslint","eslintplugin","eslint-plugin"],"author":{"name":"Edwin Cromley"},"main":"lib/index.js","scripts":{"test":"mocha tests --recursive"},"dependencies":{"requireindex":"~1.1.0"},"devDependencies":{"eslint":"^3.9.1","mocha":"^3.1.2"},"engines":{"node":">=0.10.0"},"license":"ISC","gitHead":"2c15742da5065350537180a351cd75a154a83d69","bugs":{"url":"https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state/issues"},"homepage":"https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state#readme","_id":"eslint-plugin-react-functional-set-state@1.0.1","_shasum":"109ab53b8fd62940f958ac3ceec78e095458ebff","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.9.0","_npmUser":{"name":"edwincromley","email":"cromleyedwin89@gmail.com"},"dist":{"shasum":"109ab53b8fd62940f958ac3ceec78e095458ebff","tarball":"https://registry.npmjs.org/eslint-plugin-react-functional-set-state/-/eslint-plugin-react-functional-set-state-1.0.1.tgz","integrity":"sha512-juMS1bwCFiqd/f4FKHR2itO6Quw8QnmKBBOZpySvo1pLDKhi9SK24lGjVSOuN6CiQLCadQHLWNcatr4ppVSJ1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFrMmmZdRaMz+ZDejCQfU+AjHbFW1oVU7fJXj7aSwizlAiEA0JnjOnuDIjjAgeuZ6jkKO412mAotJPHDY26Sh4KGyCs="}]},"maintainers":[{"name":"edwincromley","email":"cromleyedwin89@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-react-functional-set-state-1.0.1.tgz_1497974598206_0.5616076539736241"}},"1.1.0":{"name":"eslint-plugin-react-functional-set-state","version":"1.1.0","description":"Lint rule for React, should use functional setState","repository":{"type":"git","url":"git+https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state.git"},"keywords":["eslint","eslintplugin","eslint-plugin"],"author":{"name":"Edwin Cromley"},"main":"lib/index.js","scripts":{"test":"mocha tests --recursive"},"dependencies":{"requireindex":"~1.1.0"},"devDependencies":{"eslint":"^3.9.1","mocha":"^3.1.2"},"engines":{"node":">=0.10.0"},"license":"ISC","gitHead":"c58979ea2be43caf41d90aa50967c1d15b7c6890","bugs":{"url":"https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state/issues"},"homepage":"https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state#readme","_id":"eslint-plugin-react-functional-set-state@1.1.0","_shasum":"22205fc9b4c532c09e0bd3b442ebece79095dec8","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.9.0","_npmUser":{"name":"edwincromley","email":"cromleyedwin89@gmail.com"},"dist":{"shasum":"22205fc9b4c532c09e0bd3b442ebece79095dec8","tarball":"https://registry.npmjs.org/eslint-plugin-react-functional-set-state/-/eslint-plugin-react-functional-set-state-1.1.0.tgz","integrity":"sha512-pmWnFGH5RVK3a+oO8KcIfsINPIeaZ6g2/8g+p6z15Rq1gmYdMGfqigVnZZ6PZdDWkcAH0MamGNNxC5Hqrg/QQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgbCD5paxe/IIWIdWbP5eYyK9uZxiWyoXTxc4dme/s9AIhAOLH67StaHeho/vXGs110lwGBjJ7UWWn7ncKK8mL/0wu"}]},"maintainers":[{"name":"edwincromley","email":"cromleyedwin89@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-react-functional-set-state-1.1.0.tgz_1506783600382_0.7203363145235926"}},"1.2.0":{"name":"eslint-plugin-react-functional-set-state","version":"1.2.0","description":"Lint rule for React, should use functional setState","repository":{"type":"git","url":"git+https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state.git"},"keywords":["eslint","eslintplugin","eslint-plugin"],"author":{"name":"Edwin Cromley"},"main":"lib/index.js","scripts":{"lint":"eslint ./","lint:fix":"eslint ./ --fix","test":"npm run lint && npm run unit-test","unit-test":"istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha tests/**/*.js -- --reporter dot"},"dependencies":{"requireindex":"~1.1.0"},"devDependencies":{"babel-eslint":"^7.2.3","eslint":"^3.9.1","istanbul":"0.4.5","mocha":"^3.1.2"},"engines":{"node":">=0.10.0"},"license":"ISC","gitHead":"c412d73ef32c9e8ad56697a3557919539b19899a","bugs":{"url":"https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state/issues"},"homepage":"https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state#readme","_id":"eslint-plugin-react-functional-set-state@1.2.0","_shasum":"879100e867f6b20c4bd2ba0f20c415479a799494","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.9.0","_npmUser":{"name":"edwincromley","email":"cromleyedwin89@gmail.com"},"dist":{"shasum":"879100e867f6b20c4bd2ba0f20c415479a799494","tarball":"https://registry.npmjs.org/eslint-plugin-react-functional-set-state/-/eslint-plugin-react-functional-set-state-1.2.0.tgz","integrity":"sha512-1PKaG6K7LMbf6Rk1CNIVuX3f02YiLukl1faZpZ8oXQK3L51hNGytnOcwEyNbFllT3Y9/zCDskGoAy9L/jZD+9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC3tz0Vqw6SsvgmH5Qp/dDGPLTjXpnvr/s7Vn+4xeX6YAiAkMmYVB0bdAARXwt9XpHCddFGmE0+jfpGCbDIF0gogWQ=="}]},"maintainers":[{"name":"edwincromley","email":"cromleyedwin89@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-react-functional-set-state-1.2.0.tgz_1506792773239_0.3699471475556493"}},"1.2.1":{"name":"eslint-plugin-react-functional-set-state","version":"1.2.1","description":"Lint rule for React, should use functional setState","repository":{"type":"git","url":"git+https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state.git"},"keywords":["eslint","eslintplugin","eslint-plugin"],"author":{"name":"Edwin Cromley"},"main":"lib/index.js","scripts":{"lint":"eslint ./","lint:fix":"eslint ./ --fix","test":"npm run lint && npm run unit-test","unit-test":"istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha tests/**/*.js -- --reporter dot"},"dependencies":{"requireindex":"~1.1.0"},"devDependencies":{"babel-eslint":"^7.2.3","eslint":"^3.9.1","istanbul":"0.4.5","mocha":"^3.1.2"},"engines":{"node":">=0.10.0"},"license":"ISC","gitHead":"4d998f0c83441d83c1120ef83e10838f553ec7b7","bugs":{"url":"https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state/issues"},"homepage":"https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state#readme","_id":"eslint-plugin-react-functional-set-state@1.2.1","_shasum":"edc960eeeae78641658944dc02b8e4be480025c1","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.9.0","_npmUser":{"name":"edwincromley","email":"cromleyedwin89@gmail.com"},"dist":{"shasum":"edc960eeeae78641658944dc02b8e4be480025c1","tarball":"https://registry.npmjs.org/eslint-plugin-react-functional-set-state/-/eslint-plugin-react-functional-set-state-1.2.1.tgz","integrity":"sha512-y86CcoQVwakq8VS/rh4w4mPOB9/xa21nXaU9z/BDkgc0SWzxt+U+l2c9J9uDbk2MjbtvGP6mYQvd7hEy1yn5mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYbmrbhKHbbestbcfLxg2sFhVUC+0uUlBfKzZwKa4ZLAIhALkeELDLvfwdtI1fhwqZpr3Ep1caWrZ+MiZ64SpBw1s7"}]},"maintainers":[{"name":"edwincromley","email":"cromleyedwin89@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-react-functional-set-state-1.2.1.tgz_1506793718224_0.2552766178268939"}}},"readme":"# eslint-plugin-react-functional-set-state\n\nLint Rule for React to use functional setState and prevent the use of accessing\nthis.state and this.props inside of setState calls.\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-react-functional-set-state`:\n\n```\n$ npm install eslint-plugin-react-functional-set-state --save-dev\n```\n\n**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-react-functional-set-state` globally.\n\n## Usage\n\nAdd `react-functional-set-state` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n    \"plugins\": [\n        \"react-functional-set-state\"\n    ]\n}\n```\n\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n    \"rules\": {\n        \"react-functional-set-state/no-this-state-props\": 2\n    }\n}\n```\n\n## Supported Rules\n\n* no-this-state-props\n","maintainers":[{"name":"edwincromley","email":"cromleyedwin89@gmail.com"}],"time":{"modified":"2022-06-17T20:39:54.352Z","created":"2017-06-19T16:57:49.582Z","0.0.0":"2017-06-19T16:57:49.582Z","1.0.0":"2017-06-19T18:04:45.694Z","1.0.1":"2017-06-20T16:03:19.160Z","1.1.0":"2017-09-30T15:00:01.400Z","1.2.0":"2017-09-30T17:32:54.252Z","1.2.1":"2017-09-30T17:48:39.174Z"},"keywords":["eslint","eslintplugin","eslint-plugin"],"author":{"name":"Edwin Cromley"},"license":"ISC","readmeFilename":"README.md","homepage":"https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state#readme","repository":{"type":"git","url":"git+https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state.git"},"bugs":{"url":"https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state/issues"}}