{"library":"eslint-plugin-prefer-object-spread","type":"library","category":null,"description":"ESLint rule that flags Object.assign() calls when the target is an object literal, recommending object spread properties instead. Version 1.2.1 is the latest stable release; the package has not been updated since 2016. It applies only when Object.assign() is used for cloning (first argument is an object literal) to avoid false positives when mutating an existing object. Requires ESLint >=0.8.0 and Node >=4.0.0. This plugin is lightweight and has a single rule. It is not actively maintained and may be superseded by built-in ESLint rules or new JavaScript features.","language":"javascript","status":"maintenance","version":"1.2.1","tags":["javascript","eslint","eslintplugin","eslint-plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-prefer-object-spread","imports":["import { rules } from 'eslint-plugin-prefer-object-spread';","\"prefer-object-spread/prefer-object-spread\": \"error\"","{\n  \"plugins\": [\"prefer-object-spread\"],\n  \"rules\": {\n    \"prefer-object-spread/prefer-object-spread\": \"error\"\n  }\n}"]},{"cmd":"yarn add eslint-plugin-prefer-object-spread","imports":[]},{"cmd":"pnpm add eslint-plugin-prefer-object-spread","imports":[]}],"homepage":null,"github":"https://github.com/bryanrsmith/eslint-plugin-prefer-object-spread","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-prefer-object-spread","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-prefer-object-spread/compatibility"}}