{"library":"eslint-plugin-jsx-control-statements","type":"library","category":null,"description":"ESLint plugin providing linting rules for JSX control statement components like <If>, <Choose>, <For>, <When>, <Otherwise>, and <With>. Current stable version is 3.0.0. Designed for use with eslint-plugin-react, it helps enforce best practices when using conditional and loop JSX syntax. The plugin comes with a set of rules to catch common mistakes such as missing required attributes, incorrect nesting, and it also provides an environment to declare these components as globals. Use the recommended config or manually enable rules along with the jsx-control-statements environment. Requires ESLint >=6.0.0.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","eslint-plugin","eslintplugin","eslint","react","jsx-control-statements"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-jsx-control-statements","imports":["// In .eslintrc: { \"plugins\": [\"jsx-control-statements\"] }","// .eslintrc: { \"extends\": [\"plugin:jsx-control-statements/recommended\"] }","// .eslintrc: { \"env\": { \"jsx-control-statements/jsx-control-statements\": true } }"]},{"cmd":"yarn add eslint-plugin-jsx-control-statements","imports":[]},{"cmd":"pnpm add eslint-plugin-jsx-control-statements","imports":[]}],"homepage":null,"github":"https://github.com/vkbansal/eslint-plugin-jsx-control-statements","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-jsx-control-statements","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/eslint-plugin-jsx-control-statements/compatibility"}}