Releases: grafana/k6lint
v0.3.1
k6lint v0.3.1
is here 🎉!
Tweaks in this release:
types checker
Search for the index.d.ts
file in the api-docs
folder as well (not only in the docs
and root folders).
smoke checker
Search for the smoke test script in the scripts
folder as well (not only in the test
, tests
, examples
and root folder).
build checker
The check should not fail if the module path of the extension is not included in the output of the version command.
v0.3.0
k6lint v0.3.0
is here 🎉!
This version adds two new checkers to the linter:
- types checker
- codeowners checker
Improvements:
- The
examples
andsmoke
checks are skipped in the case of output extensions.
types checker
The check is successful if there is TypeScript API declaration file with name index.d.ts
in docs
directory or in the base directory.
codeowners checker
The check is successful if there is a CODEOWNERS
file in one of the GitHub supported directories: .github
or docs
or base directory.
The codeowners
check is only executed if the --official
flag is used (or if the Official
API parameter is true
).
v0.2.0
k6lint v0.2.0
is here 🎉!
This version adds two new checkers to the linter:
- build checker
- smoke checker
build checker
The check is successful if the extension can be built with the latest k6 release.
smoke checker
The check is successful if there is a smoke test script and it runs successfully with the k6 built with the extension.
Obviously, a prerequisite for a successful run is that the build checker runs successfully, otherwise k6 cannot be built with the extension.
The smoke test script file is searched for in the root of the repository and in the test
,tests
,examples
directories. The name of the smoke test script is one of the following:
smoke.js
smoke.ts
smoke.test.js
smoke.test.ts