{"library":"eslint-plugin-react-functional-set-state","type":"library","category":null,"description":"An ESLint plugin that enforces functional setState in React components and prevents direct access to this.state and this.props inside setState calls. Version 1.2.1 is the current stable release. The plugin has a single rule, no-this-state-props, which flags any use of this.state or this.props within setState arguments. It is a lightweight, focused tool for React codebases that aim to follow the recommended functional setState pattern. The plugin is designed for ESLint and requires Node >= 0.10.0. It has no other runtime dependencies beyond ESLint. Compared to broader React ESLint plugins like eslint-plugin-react-hooks or eslint-plugin-react, this plugin serves a very specific linting purpose and does not handle other React best practices.","language":"javascript","status":"active","version":"1.2.1","tags":["javascript","eslint","eslintplugin","eslint-plugin"],"last_verified":"Fri May 01","install":[{"cmd":"npm install eslint-plugin-react-functional-set-state","imports":["import { plugins: ['react-functional-set-state'] } from '.eslintrc' (JSON config)","\"react-functional-set-state/no-this-state-props\": \"error\"","const plugin = require('eslint-plugin-react-functional-set-state')"]},{"cmd":"yarn add eslint-plugin-react-functional-set-state","imports":[]},{"cmd":"pnpm add eslint-plugin-react-functional-set-state","imports":[]}],"homepage":null,"github":"https://github.com/BE-Webdesign/eslint-plugin-react-functional-set-state","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-react-functional-set-state","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}