1.14.0 • Published 6 months ago
@naturalcycles/ktlint v1.14.0
@naturalcycles/ktlint
ktlint conveniently published to npm registry
Current ktlint version: 1.6.0
Quick start
Just run it without installation:
npx @naturalcycles/ktlint --versionOr, install it like this:
yarn add -D @naturalcycles/ktlintRun ktlint (locally installed into ./node_modules):
yarn ktlint --versionNo Step 3!
API
You can run ktlint programmatically via Node.js by calling ktlintAll() function exposed by this
module. It returns a Promise (rejects on non-zero code from ktlint, resolves on success).
Development
To update the ktlint version that is shipped here:
- Check the ktlint release notes
- Change it in
scripts/install.tsto the new version (and in this readme.md too) - Delete
resources/ktlint - Run
pnpm tsx scripts/install.ts, which will download the new version - Test it with
pnpm ktlint --version, it should print the new version - Test it with
pnpm ktlint -F
1.14.0
6 months ago
1.13.0
11 months ago
1.12.0
1 year ago
1.11.0
2 years ago
1.10.0
2 years ago
1.9.0
2 years ago
1.8.0
2 years ago
1.7.0
3 years ago
1.6.0
3 years ago
1.5.0
3 years ago
1.4.0
3 years ago
1.3.0
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.0
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago