{"library":"prettier-check","title":"prettier-check","description":"A CLI tool to verify that all files match Prettier code style during CI or testing. Version 2.0.0 requires Node >=4 and a peer dependency on prettier. It forwards all arguments to prettier, making it easy to integrate into npm test scripts. Compared to alternatives like lint-staged, prettier-check focuses solely on checking formatting without auto-fixing, ideal for pre-commit hooks or CI gates.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install prettier-check"],"cli":{"name":"prettier-check","version":null}},"imports":["npx prettier-check --single-quote src/**/*.js","\"check-format\": \"prettier-check src/**/*.js\"","not applicable; CLI only"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"{\n  \"scripts\": {\n    \"test\": \"prettier-check --single-quote --trailing-comma es5 src/**/*.js\"\n  }\n}","lang":"javascript","description":"Shows how to integrate prettier-check into npm test scripts, passing Prettier options via CLI arguments.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}