{"_id":"prettylint","_rev":"2-5e7bc30a483f3777284ab416bb0fe56b","name":"prettylint","description":"Run Prettier as a linter","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"prettylint","version":"1.0.0","description":"Run Prettier as a linter","keywords":["linter","prettier"],"bin":{"prettylint":"bin/cli.js"},"main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/ikatyang/prettylint.git"},"homepage":"https://github.com/ikatyang/prettylint#readme","author":{"name":"Ika","email":"ikatyang@gmail.com","url":"https://github.com/ikatyang"},"license":"MIT","scripts":{"prepublish":"yarn run build","lint":"tslint -p ./tsconfig.json --type-check","test":"jest","prebuild":"rm -rf ./lib","build":"tsc -p ./tsconfig.build.json","docs":"md-magic --path README.md","release":"standard-version"},"dependencies":{"eslint-formatter-pretty":"^1.3.0","eslint-plugin-prettier":"^2.2.0","globby":"^6.1.0","ignore":"^3.3.5","lines-and-columns":"^1.1.6","meow":"^3.7.0","tslib":"^1.8.0"},"devDependencies":{"@types/eslint-plugin-prettier":"2.2.0","@types/globby":"6.1.0","@types/jest":"21.1.2","@types/meow":"3.6.2","@types/node":"8.0.34","@types/prettier":"1.7.0","@types/strip-ansi":"3.0.0","dedent":"0.7.0","jest":"21.2.1","markdown-magic":"0.1.19","prettier":"1.7.4","prettier-config-ikatyang":"1.1.1","standard-version":"4.2.0","strip-ansi":"4.0.0","ts-jest":"21.1.2","tslint":"5.7.0","tslint-config-ikatyang":"2.4.0","tslint-config-prettier":"1.5.0","tslint-plugin-prettier":"1.3.0","typescript":"2.5.3"},"peerDependencies":{"prettier":"^1.6.0"},"engines":{"node":">= 4"},"files":["/bin/**/*","/lib/**/*"],"gitHead":"abcdf3b16469238d7fe7cf34b6b73f2ff4ae6034","bugs":{"url":"https://github.com/ikatyang/prettylint/issues"},"_id":"prettylint@1.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"ikatyang","email":"ikatyang@gmail.com"},"dist":{"integrity":"sha512-IjIAoGeIve8NQR6WbslnMs5rcnEVbJkZN/IXm302wNlSEo+3pIyxroy+3bkEFLP14prz1Aq1GGlKsX0UXHXuEQ==","shasum":"b71720ad9733e098fdd8ebea90c61cda33371aa1","tarball":"https://registry.npmjs.org/prettylint/-/prettylint-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWM7bapC8CkO+d5UwgHTU7k+eYbdS7u//AzTytW5b4lQIhAMgS1L/wf6Z+wLINqGYfgRk7/MUyswlQRKOijSLlCAre"}]},"maintainers":[{"name":"ikatyang","email":"ikatyang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettylint-1.0.0.tgz_1508412901820_0.07995210262015462"},"directories":{}},"2.0.0":{"name":"prettylint","type":"module","version":"2.0.0","description":"Run Prettier as a linter","keywords":["linter","prettier"],"bin":{"prettylint":"bin/cli.js"},"repository":{"type":"git","url":"git+https://github.com/ikatyang/prettylint.git"},"homepage":"https://github.com/ikatyang/prettylint#readme","author":{"name":"Ika","email":"ikatyang@gmail.com","url":"https://github.com/ikatyang"},"license":"MIT","dependencies":{"eslint-formatter-pretty":"^5.0.0","fast-glob":"^3.3.1","ignore":"^5.2.4","lines-and-columns":"^2.0.3","meow":"^12.0.1","prettier-linter-helpers":"^1.0.0"},"devDependencies":{"@types/fs-extra":"11.0.1","@types/prettier-linter-helpers":"1.0.1","@vitest/coverage-v8":"0.33.0","fs-extra":"11.1.1","jest-snapshot-serializer-ansi":"2.1.0","prettier":"3.0.0","standard-version":"9.5.0","typescript":"5.1.6","vite":"4.4.6","vitest":"0.33.0"},"peerDependencies":{"prettier":"^3.0.0"},"engines":{"node":">=16"},"packageManager":"pnpm@8.6.6","scripts":{"lint":"prettier --check .","test":"vitest --no-threads","build":"tsc -p ./tsconfig.build.json","release":"standard-version"},"bugs":{"url":"https://github.com/ikatyang/prettylint/issues"},"_id":"prettylint@2.0.0","_integrity":"sha512-LcXYfGJij3+vsNeSG4pMRmm2FZ4/ZG5jsiz5DflbChZQ/YH1QXnaESC6eUE8O2Fk95q22Iog92vj7+JfsoUIrQ==","_resolved":"/tmp/f5dbd50a9cbda9abf7e610ff933a5699/prettylint-2.0.0.tgz","_from":"file:prettylint-2.0.0.tgz","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-LcXYfGJij3+vsNeSG4pMRmm2FZ4/ZG5jsiz5DflbChZQ/YH1QXnaESC6eUE8O2Fk95q22Iog92vj7+JfsoUIrQ==","shasum":"89abdbfb62002f379b87ea8829c5877a83d89706","tarball":"https://registry.npmjs.org/prettylint/-/prettylint-2.0.0.tgz","fileCount":26,"unpackedSize":27122,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/prettylint@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA7iECVayBeg/g7M17S5FRNaiWGcenbGoqj8J39ZeGOUAiEAkQij2tMbjgwOkjLOsGhEJvpD2ES6LJmYNn8Y247I++w="}]},"_npmUser":{"name":"ikatyang","email":"ikatyang@gmail.com"},"directories":{},"maintainers":[{"name":"ikatyang","email":"ikatyang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prettylint_2.0.0_1690455755734_0.8455428349818721"},"_hasShrinkwrap":false}},"readme":"# prettylint\n\n[![npm](https://img.shields.io/npm/v/prettylint.svg)](https://www.npmjs.com/package/prettylint)\n[![build](https://img.shields.io/github/actions/workflow/status/ikatyang/prettylint/test.yml)](https://github.com/ikatyang/prettylint/actions?query=branch%3Amaster)\n\nRun Prettier as a linter\n\n[Changelog](https://github.com/ikatyang/prettylint/blob/master/CHANGELOG.md)\n\n## Sample\n\n```\n$ prettylint \"**/*.ts\"\n\n  src/diagnose.ts:14:13\n  ⚠  14:13  Delete ·                                          prettier/prettier\n  ⚠  15:14  Insert ·                                          prettier/prettier\n  ⚠  47:34  Replace \"\" with ''                                prettier/prettier\n\n  3 warnings\n```\n\n## Install\n\n```sh\nnpm install prettylint\n```\n\n## Usage\n\n```sh\nUsage\n  $ prettylint [options] [file/dir/glob ...]\n\nOptions\n  --no-config           Do not load config file.\n  --config <path>       Specify the config file.\n  --no-editorconfig     Do not load .editorconfig\n  --fix                 Fix linting errors.\n  --format <path>       Specify the module to format output.\n                        Defaults to \"eslint-formatter-pretty\".\n  --ignore-path <path>  Specify the .ignore file.\n                        Defaults to [\".gitignore\", \".prettierignore\"].\n  --silent              Do not print message.\n  --with-node-modules   Process files inside 'node_modules' directory.\n  -h, --help            Show help.\n  -v, --version         Show version.\n\nExamples\n  $ prettylint .\n  $ prettylint . --fix\n```\n\n## Development\n\n```sh\n# lint\npnpm run lint\n\n# build\npnpm run build\n\n# test\npnpm run test\n```\n\n## License\n\nMIT © [Ika](https://github.com/ikatyang)\n","maintainers":[{"name":"ikatyang","email":"ikatyang@gmail.com"}],"time":{"modified":"2023-07-27T11:02:36.210Z","created":"2017-10-19T11:35:01.882Z","1.0.0":"2017-10-19T11:35:01.882Z","2.0.0":"2023-07-27T11:02:35.949Z"},"homepage":"https://github.com/ikatyang/prettylint#readme","keywords":["linter","prettier"],"repository":{"type":"git","url":"git+https://github.com/ikatyang/prettylint.git"},"author":{"name":"Ika","email":"ikatyang@gmail.com","url":"https://github.com/ikatyang"},"bugs":{"url":"https://github.com/ikatyang/prettylint/issues"},"license":"MIT","readmeFilename":"README.md"}