Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/lint-staged/lint-staged

🚫💩 — Run linters on git staged files
https://github.com/lint-staged/lint-staged

fix(dependencies): replace `colorette` with `chalk` for better color support detection

f5987252ae59537727a93373b59ab47bc2651a2f authored almost 2 years ago by Iiro Jäppinen <[email protected]>
chore(dependencies): update all dependencies

0d843ce83060235635f1d1824c4bb744708b69ef authored almost 2 years ago by Iiro Jäppinen <[email protected]>
docs: Clean up readme.me (#1263)

f230c6984fa247c9c3a23e60778f22d06b8f3de4 authored almost 2 years ago by Daniel Rentz <[email protected]>
fix: disable stash by default when using diff option (#1259)

142c6f225087207ec4c63b7847795857d567ce40 authored almost 2 years ago by 怀策策 <[email protected]>
docs: fix broken links in readme (#1258)

f88b6b77ccc5810da81dc7abd2585e0aa2818390 authored almost 2 years ago by Raymond Ha <[email protected]>
fix: allow re-enabling `--stash` when using the `--diff` option

By default creating a backup stash is disabled when using `--diff`,
because the typical use-cas...

99390c31a856154e380f04d5c3603d2e6428f1e5 authored almost 2 years ago by Saiichi Shayan Hashimoto <[email protected]>
docs: add example to integrate with Next.js (#1256)

421234c33276976562da9ce4c7254388e50c5c28 authored almost 2 years ago by Haltarys <[email protected]>
docs: blog.johnnyreilly.com -> johnnyreilly.com (#1255)

8f63a0ad141fb759eab3140d4ab428249cb83bba authored almost 2 years ago by John Reilly <[email protected]>
docs: Update link to a blog post (#1246)

63cf9d888bc2a756837fd3b930e5c2d2a6482fc9 authored about 2 years ago by John Reilly <[email protected]>
feat: expose cli entrance from "lint-staged/bin" (#1237)

eabf1d217d8bd2559b1087c92b5ec9b15b8ffa7e authored about 2 years ago by 曾明健 <[email protected]>
docs: add note about git hook TTY to README

c4fb7b8c4433ba0d84f800f1f8fe72d569f69b72 authored about 2 years ago by Iiro Jäppinen <[email protected]>
docs: add note about multiple configs files to README

a987e6a925d36adb2863e888905a5648f987005d authored about 2 years ago by Iiro Jäppinen <[email protected]>
test: allow file protocol in git submodule test

81ea7fdcda61a331d9153f7223b154bae3afe9dd authored about 2 years ago by Iiro Jäppinen <[email protected]>
test: remove Windows snapshot workaround

e2bfce125b79be78c88db400248b5f542673e059 authored about 2 years ago by Iiro Jäppinen <[email protected]>
test: update Jest snapshot format

3ea9b7eb37aa5021de3b31f268c1056221af57df authored about 2 years ago by Iiro Jäppinen <[email protected]>
fix(deps): update all dependencies

336f3b513a8b36579165b2e6fb6e7059b988fe84 authored about 2 years ago by Iiro Jäppinen <[email protected]>
ci: bump GitHub Actions' versions

5f1a00e8b477e0047f01ecf6270a33c676574dd7 authored about 2 years ago by Iiro Jäppinen <[email protected]>
ci: install latest npm for older Node.js versions

0c635c7cf5576b7c0488f2b079f749210b77dec1 authored about 2 years ago by Iiro Jäppinen <[email protected]>
fix(deps): update all dependencies

ec995e53fb173f2863cb3cc08a92ffa9252dc25d authored about 2 years ago by Iiro Jäppinen <[email protected]>
ci: set GitHub Actions permissions

Signed-off-by: sashashura <[email protected]>

17c51aff00ea73f9588132c28eedbce535ee1ad8 authored over 2 years ago by Alex <[email protected]>
chore(deps): bump colorette from 2.0.17 to 2.0.19 (#1177)

3f3e1523b284056c70b90d3f0ec350b5dce60a50 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fix: correctly handle git stash when using MSYS2 (#1178)

0d627a52846d63cd6fc6018a8d7779ef454a99b2 authored over 2 years ago by Piotr Bosak <[email protected]>
fix: use new `--diff` and `--diff-filter` options when checking task modifications

1a5a66a9574e2a8b857bd62545a6f2a6da5811aa authored over 2 years ago by Andrii Miroshnychenko <[email protected]>
test: split integration tests into separate files and improve isolation

32806dacff2357695c07ea3708e6742cadaeb82d authored over 2 years ago by Iiro Jäppinen <[email protected]>
perf: use `EventsEmitter` instead of `setInterval` for killing tasks on failure

c508b46a153970114495d3f7fef05d45df0f2e10 authored over 2 years ago by Iiro Jäppinen <[email protected]>
docs: add section about task concurrency to README.md

c5cec0a37f6f80a0fdfed0547b188cd2536760c8 authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix(deps): update pidtree@^0.6.0 to fix screen size error in WSL

1a77e4224a273bbc192b654d0a0120187e850a61 authored over 2 years ago by Iiro Jäppinen <[email protected]>
docs: remove `mrm` from README.md

5bf1f188f6f6172fc91c79522fa870d887eceba4 authored over 2 years ago by Iiro Jäppinen <[email protected]>
chore(deps): update dependencies

9e3394e1a05d86f60b1b5cd3fad7b3a35d3c214b authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix: suppress error from `process.kill` when killing tasks on failure

f2c6bdd9114a8d5ba8473cc647ef55a6ee5664e1 authored over 2 years ago by Iiro Jäppinen <[email protected]>
refactor: reuse Listr stuff better

438411437ae0d7500633451b582fb39b1e80ad2a authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix: correct spelling of "0 files"

f27f1d45ea20904e81dda155a802b2eb07d50942 authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix: ignore "No matching pid found" error

cb8a4328eddbc99a0806276f68b55f6c5ecb3d8a authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix: prevent possible race condition when killing tasks on failure

bc92aff5fdb6293045c556326df3c0529e59b7e3 authored over 2 years ago by Iiro Jäppinen <[email protected]>
refactor: use optional chaining `?.`

5f0a6a73acf7cbe3dc8cd70e6dbc569dc452e2e4 authored over 2 years ago by Iiro Jäppinen <[email protected]>
feat: remove support for Node.js 12

BREAKING CHANGE: `lint-staged` will no longer support Node.js 12, which is EOL since 30 April 2022

5fb6df94ccd6de6f5fdd743474c094ff366cc671 authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix(deps): update `yaml@^2.1.1`

2750a3d9d909fd834b95da752f0f6800340922b7 authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix(deps): update `execa@^6.1.0`

659c85c5cd4c4040a505bbe9fddbe7d416ac15c8 authored over 2 years ago by Iiro Jäppinen <[email protected]>
refactor: remove `supports-color`

50f95b3d51e69074ab5ff5ddb7147828fcd85b7b authored over 2 years ago by Iiro Jäppinen <[email protected]>
refactor: use `node:` protocol imports

eae9622e4fa100d6bce658c37146cb4ba0307974 authored over 2 years ago by Iiro Jäppinen <[email protected]>
feat: add `--diff` option for overriding list of (staged) files

The `--diff` option can be used to, for example, run _lint-staged_ against
the list of files cha...

35fcce9040c8de2926a9113d09f13517e6b23a2e authored over 2 years ago by Iiro Jäppinen <[email protected]>
feat: add `--diff-filter` option for overriding list of (staged) files

The `--diff-filter` option can be used to, for example, include deleted
files instead of only th...

753ef7281562e0a25a9fe01400d7108143116b39 authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix: skip backup stash when using the `--diff` option

d4da24d90cfa85ef8589a5f8c6ba5f51c3b45275 authored over 2 years ago by Iiro Jäppinen <[email protected]>
refactor: do not use Symbol in configuration mapping

1f06dd0a37c64f856180d77763c788753057c92f authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix: include all files when using `--config <path>`

641d1c2fd00992e926ae07defbb98c4d324f3b13 authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix(deps): downgrade [email protected] to support Node.js 12

383a96e17a21d10278e91ecdb8d80385886ce82f authored over 2 years ago by Iiro Jäppinen <[email protected]>
chore(deps): update dependencies

4f0ff7fec95457f18da3a677cf7c56cb502acab5 authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix(deps): update commander@^9.2.0

22ebf524e20b2bf239e22fab83df3edc76327394 authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix(deps): update yaml@^2.0.1

ec73af0ddb3541f5a12e0c83b6112ab747d05d73 authored over 2 years ago by Iiro Jäppinen <[email protected]>
docs: fix the missing comma in the README.md code

0894a3e6aca54e83612c4821de3bc48d25fc9910 authored over 2 years ago by MS_Y <[email protected]>
fix: correctly handle --max-arg-length cli option

1db5f2651d7f41c56f3ee1eacb57f1be1566bce2 authored over 2 years ago by Ilia_Khrebtov <[email protected]>
fix: correctly handle symlinked config files

b3f63ec43c04158e0ba00f541aa8ffb609d037d9 authored over 2 years ago by Iiro Jäppinen <[email protected]>
ci: test using Node.js 18

f0536dcc6a2e0758b1554c2673c218dd8e9c2d38 authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix: limit configuration discovery to cwd

d8fdf1d9232fde6d65e6b1f4313edbf8d32f9dcb authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix: restore functionality of parent globs for a single configuration file

Parent globs like `../*.js` were broken when introducing support
for multiple configuration file...

877ab4cc66dfa51f5d8d14c89aeadc3ea41a1916 authored over 2 years ago by Iiro Jäppinen <[email protected]>
test: do not collect coverage when directly running jest

7d36ef724749f5cb163466fb68368fb076c81a8b authored over 2 years ago by Iiro Jäppinen <[email protected]>
test: specify merge conflict style for snapshots

e01c4c5869ae2803fc936549d301052ee5174a0b authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix: handle empty input by returning empty array from `parseGitZOutput`

a118817189a5b41168179fe7268903b1d7f4413a authored over 2 years ago by Iiro Jäppinen <[email protected]>
feat: expose `--max-arg-length` cli option

e8291b03fa3f3210795b808f40b9a11968f2d988 authored over 2 years ago by Iiro Jäppinen <[email protected]>
test: add test for kill child processes on error

8be800fdc31e0747d2b1717d6f57a90a0f569540 authored over 2 years ago by Iiro Jäppinen <[email protected]>
fix: clear execution interruption interval on first catch

46952cb0306bb5b54d839f63aecff7288389b195 authored over 2 years ago by Xirtid Nepla <[email protected]>
fix: avoid passing unexpected arguments from forEach to process.kill()

1b1f0e4f529dbcb5f73ab7d49c5f7908c3b8a866 authored over 2 years ago by Xirtid Nepla <[email protected]>
fix: improve renderer logic for `--silent` and `FORCE_COLOR` settings

d327873b1c0b6fbdeb6fd276e523043d51d6de37 authored almost 3 years ago by Tomer Aberbach <[email protected]>
fix: kill other running tasks on failure (#1117)

34fe31986201983c33ea2bde41f4b451947b826b authored almost 3 years ago by Andreas Opferkuch <[email protected]>
chore: don't use touch on windows

517235d5e4ce21cbdac5f22b92cd2121497a8c52 authored almost 3 years ago by Andreas Opferkuch <[email protected]>
docs: add note about `ng lint` to README.md

531275cbdb40fa9ec7ee972ee129e6323b9ab9ee authored almost 3 years ago by Iiro Jäppinen <[email protected]>
refactor: extract `parseGitZOutput` util

fa15d686deb90b7ffddfbcf644d56ed05fcd8a38 authored almost 3 years ago by Iiro Jäppinen <[email protected]>
fix: search all configs regardless of staged files

Make sure lint-staged doesn't exit with error when staging
files not covered by any config, as l...

4b605cd3694cc5bfcf6c5a1a2e75c80ef234ab1a authored almost 3 years ago by Iiro Jäppinen <[email protected]>
fix: add `package.json` to exports (#1059)

Co-authored-by: Iiro Jäppinen <[email protected]>

339515010ccd95a2f952dbe65f8366463f94d26a authored almost 3 years ago by Numan <[email protected]>
fix: use config directory as cwd, when multiple configs present (#1091)

9a14e92e37abf658fc3a0d5504ff4e980e49996c authored almost 3 years ago by Iiro Jäppinen <[email protected]>
fix: handle symlinked .git directories

3a897ff1515bde9fc88769257f38cb2646d624fc authored almost 3 years ago by lzc <[email protected]>
docs: fix README option list

026aae0d3e3e7644ed55cdf2dd6c17c9d4c50da8 authored almost 3 years ago by Iiro Jäppinen <[email protected]>
fix(deps): update dependencies

f190fc31888d0a3c6f7070cb0f97edcbc7018a0e authored almost 3 years ago by Iiro Jäppinen <[email protected]>
feat: add `--cwd` option for overriding task directory

62b5b833950774e731b0ca034aa9289ec254a602 authored almost 3 years ago by Iiro Jäppinen <[email protected]>
test: add debug logging to `getConfigGroups`

dff814107bb53d39cfa64961e1a131a072a84a52 authored almost 3 years ago by Iiro Jäppinen <[email protected]>
test: add retry to integration tests

554210030dc0b5447da5565ad5f2f03ceb389a4a authored almost 3 years ago by Iiro Jäppinen <[email protected]>
fix: always search config from `cwd` first

4afcda5addade65ef847e3c5b0c4a38db80d020b authored almost 3 years ago by Iiro Jäppinen <[email protected]>
fix: only throw if no configurations were found

Previously lint-staged would throw if any staged file was missing a config,
but it should be eno...

36b9546dda5ca24174b519ce6d132f31077b093b authored almost 3 years ago by Iiro Jäppinen <[email protected]>
refactor: replace "for...of" with "await Promise.all()"

3731f10f7a7c995c02f35abe4e3e4bea7adf478f authored almost 3 years ago by Iiro Jäppinen <[email protected]>
refactor: replace "for...of" with "await Promise.all()"

2604ac7dbca20194b6b8a417335166ccf311a769 authored almost 3 years ago by Iiro Jäppinen <[email protected]>
fix: make console task titles more explicit

1c94c2780485f3a2273f8b82db8e74ecafe258b4 authored almost 3 years ago by Iiro Jäppinen <[email protected]>
feat: support multiple configuration files

90d1035ef709329d297272e9164b0452c1ed37bd authored almost 3 years ago by Iiro Jäppinen <[email protected]>
fix: resolve config modules with ESM createRequire (#1082)

ES modules do not have require() available, we must construct it first.
This fixes the CLI when...

f9f65380dc3fc6aaa5627abe92f4e26d5b7a25de authored almost 3 years ago by Daniel Stockman <[email protected]>
fix: always run non-git tasks in the current working directory

893f3d7825f73115a41ddb3be34af15f4c207315 authored almost 3 years ago by Iiro Jäppinen <[email protected]>
fix: using `--debug` option enables debug mode

5cceeb65630752b646047ae88cacc48b76758f1c authored about 3 years ago by Iiro Jäppinen <[email protected]>
fix: search configuration starting from explicit cwd option

c7ea3594c81f7c2724a7babc8e8d57926b4679c8 authored about 3 years ago by Iiro Jäppinen <[email protected]>
fix: use cwd option when resolving git repo root (#1075)

Co-authored-by: Lucas Nicora <[email protected]>

a230b0350885194e5f07be667312316ad869b7fc authored about 3 years ago by lucasenicora <[email protected]>
fix(deps): remove enquirer because it's now optional by listr2

96a1a29ab49009d3d7edc98cc7344b1ac9c1cce6 authored about 3 years ago by Iiro Jäppinen <[email protected]>
ci: make dependabot also bump package.json

3f741ba894f24689ec5e5eae7db9e29794857b1a authored about 3 years ago by Iiro Jäppinen <[email protected]>
chore(deps): update dependencies

c38642f39e9aac6c257c1b7754e806e8f50e7836 authored about 3 years ago by Iiro Jäppinen <[email protected]>
fix: fix YAML config loading

0082ec22101c8f819a8b91872b808ee81d3c4d1e authored about 3 years ago by Iiro Jäppinen <[email protected]>
fix: improve error logging in loadConfig

e7b6412fb128f314346e28329c17a676cf691135 authored about 3 years ago by Iiro Jäppinen <[email protected]>
fix: fix Windows JS config loading by using file:// URLs

See issue https://github.com/nodejs/node/issues/34765

f20ddf9413bfc2f44ad099b5cb1e5f478de5d35f authored about 3 years ago by Iiro Jäppinen <[email protected]>
fix: await for dynamic import promise when loading JS config

e96b6d9674f07b4686876cb40605274577925973 authored about 3 years ago by Iiro Jäppinen <[email protected]>
test: make config loader tests more explicit

c4c2cfd55e12e3e49f20216766c9c3719cb7cf84 authored about 3 years ago by Iiro Jäppinen <[email protected]>
feat: replace `cosmiconfig` with `lilconfig` + `yaml` to reduce dependencies

e7f9fa0f2e6aa5adbb1a0c31d1ceaff01b43f692 authored about 3 years ago by Iiro Jäppinen <[email protected]>
feat: allow loading `.js` config file with ESM syntax

410c3ba36972259aa5b49045b5cd565a6525382b authored about 3 years ago by Iiro Jäppinen <[email protected]>
chore: remove unused files

298b55c1389d71a45237296d0ffb69b0b4ab8f09 authored about 3 years ago by Iiro Jäppinen <[email protected]>
chore: add error logging to `loadConfig`

fddcef76e200830c458b3d802cabc9fa19ead214 authored about 3 years ago by Iiro Jäppinen <[email protected]>
docs: update code examples from CommonJS to ESM syntax

dc7921671baedb227c98de2157b3a5607d18929e authored about 3 years ago by Iiro Jäppinen <[email protected]>