+
Skip to content

Tags: commonlit/action-stylelint

Tags

v2.0.3

Toggle v2.0.3's commit message
Use Reviewdog 0.14.1

v2.0.2

Toggle v2.0.2's commit message
Allow empty input

v2.0.1

Toggle v2.0.1's commit message
Bump Node to version 16

v2.0.0

Toggle v2.0.0's commit message
Use jq to filter package.json down

Currently the upstream action installs every package in our bundle to
run Stylelint. This adds minutes to each linter run. We started to work
around this by only installing the packages we wanted, but it meant the
linter would install the most recent versions of packages vs. what we've
been using for local development (the versions in our `yarn.lock` file).

We can work around this and retain version locking by stripping out the
dependencies we don't want. This change uses `jq` to edit our
package.json file inside the action. It works like this:

1. iterate over the sections. If the section isn't `dependencies` or
   `devDependencies`, keep it as-is.
2. if the section contains dependencies, iterate over the keys of the
   section. Filter out any elements that don't contain the string
   `stylelint`.

v1.8.0

Toggle v1.8.0's commit message
v1.8.0: PR reviewdog#22 - chore(deps): update reviewdog to 0.11.0

v1.8

Toggle v1.8's commit message
Release v1.8.0

v1

Toggle v1's commit message
Release v1.8.0

v1.7.0

Toggle v1.7.0's commit message
v1.7.0: PR reviewdog#19 - adding workdir option

v1.7

Toggle v1.7's commit message
Release v1.7.0

v1.6.0

Toggle v1.6.0's commit message
v1.6.0: PR reviewdog#18 - chore(deps): update reviewdog to 0.10.2

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载