Ecosyste.ms: OpenCollective

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

lint-staged

improve developer experience and code quality for teams
Collective - Host: opensource - https://opencollective.com/lint-staged - Code: https://github.com/okonet/lint-staged

fix: only run git add on staged files matched to a task

# Conflicts:
# lib/gitWorkflow.js

github.com/lint-staged/lint-staged - d39573ba73a00fd231c664f2a85f34b537452b4d authored over 4 years ago by Iiro Jäppinen <[email protected]>
refactor: rename chunkFiles gitDir arg to baseDir, since it's used for resolving

github.com/lint-staged/lint-staged - a85c7b5598a68390f066f723df9ba9c36d63c315 authored over 4 years ago by Iiro Jäppinen <[email protected]>
fix: run `git add` for staged file chunks serially

This prevents race conditions with `git add` locking the repository. This mostly affects Windows...

github.com/lint-staged/lint-staged - 69acfa3f0c270f088566d08b8dede0f04deafbdd authored over 4 years ago by Iiro Jäppinen <[email protected]>
ci: add macos-latest to test matrix

github.com/lint-staged/lint-staged - 630cd3cffdcea7bc96af2d9c6f28304b00a6dead authored over 4 years ago by Iiro Jäppinen <[email protected]>
fix: no longer include untracked files in backup stash (#827)

* fix: no longer include untracked files in backup stash

Since v10.1 having untracked files i...

github.com/lint-staged/lint-staged - 2f153368319371b8b4c270a7126ab37a644b2488 authored over 4 years ago by Iiro Jäppinen <[email protected]>
ci: get event name from correct place

See https://github.blog/changelog/2019-10-01-github-actions-new-workflow-syntax-features/#if-at-...

github.com/lint-staged/lint-staged - 78a677ab12ca715ac5fd91549413dc6395a7f484 authored over 4 years ago by Iiro Jäppinen <[email protected]>
ci: checkout repo and setup node in the release job

github.com/lint-staged/lint-staged - 12bf8deaf499cafcf32ea040d1fd964ae43c5e08 authored over 4 years ago by Iiro Jäppinen <[email protected]>
ci: trigger release job for only pushes, not pull requests

github.com/lint-staged/lint-staged - 87f996613495104d4a4025e57b75aad2a554dfa5 authored over 4 years ago by Iiro Jäppinen <[email protected]>
refactor: prefer explicit default value

github.com/lint-staged/lint-staged - 3c57d2952cbeea0e60d2aa222a484a05e02a1f9e authored over 4 years ago by jamesgeorge007 <[email protected]>
refactor: remove redundant check

github.com/lint-staged/lint-staged - 899d3995f9429a5deee04bdf51345676bd2ffe3c authored over 4 years ago by jamesgeorge007 <[email protected]>
ci: rename Codecov job

github.com/lint-staged/lint-staged - 662a3a51f2559fd2f8f2a49d46a229e41e512d50 authored over 4 years ago by Iiro Jäppinen <[email protected]>
ci: replace Travis with GitHub Actions

github.com/lint-staged/lint-staged - 4a0d2dd6723fd5898491889c8e8f17a1293e70a0 authored over 4 years ago by Iiro Jäppinen <[email protected]>
ci: do not run Appveyor for tags, sync branches with GitHub Actions

github.com/lint-staged/lint-staged - 02f343a2ae3cdb16a2767b3630920ff987cd96e2 authored over 4 years ago by Iiro Jäppinen <[email protected]>
ci: run only ubuntu for now

github.com/lint-staged/lint-staged - 1a384f02b7243ae3812de16745a8935aa2ce28f1 authored over 4 years ago by Iiro Jäppinen <[email protected]>
ci: add codecov job

github.com/lint-staged/lint-staged - 329be820ccb4a97ff710cc3452f9bc9e6c7f8913 authored over 4 years ago by Iiro Jäppinen <[email protected]>
ci: upload only one coverage

github.com/lint-staged/lint-staged - 0eab19a5da9340d49c451d0cfb25ced393de4b22 authored over 4 years ago by Iiro Jäppinen <[email protected]>
docs: add GitHub Actions badge to readme

github.com/lint-staged/lint-staged - 93f6ce5c89356267d640e8a2605e9a85cbd117ce authored over 4 years ago by Iiro Jäppinen <[email protected]>
ci: add semantic-release job

github.com/lint-staged/lint-staged - b4803518a65b7a0d2b31157787d8fc04dc2e53dd authored over 4 years ago by Iiro Jäppinen <[email protected]>
fix: add `--` to `git add` command to denote pathspec starting (#821)

Without the -- denoter some paths might be interpreted as flags

github.com/lint-staged/lint-staged - 226ccdb7727c9837fa04528047ced89466c4b833 authored over 4 years ago by Iiro Jäppinen <[email protected]>
Merge pull request #801 from okonet/simplify

feat: use diff/apply only with partially staged files

github.com/lint-staged/lint-staged - 8abb09f1acf4d751dde35de015593522ea399e10 authored over 4 years ago by Iiro Jäppinen <[email protected]>
fix: do not return string from runAll, add info symbol to "No staged files found." message

github.com/lint-staged/lint-staged - 1e7298a23c3c2d09810f6e1a54ead8a449d7fd7d authored over 4 years ago by Iiro Jäppinen <[email protected]>
feat: add `--no-stash` option to disable the backup stash, and not revert in case of errors

github.com/lint-staged/lint-staged - c386e4cf9646dc0953213e9a0ef857cb9664af37 authored over 4 years ago by Iiro Jäppinen <[email protected]>
fix: force src and dst prefixes in diff to work around local diff.noprefix setting

github.com/lint-staged/lint-staged - 7f2ef33dde170e83a8943886a4f1502113dcb50c authored over 4 years ago by Iiro Jäppinen <[email protected]>
feat: only hide/restore unstaged modifications to partially staged files

This change simplifies and speeds up the git workflow by restoring the backup stash before runni...

github.com/lint-staged/lint-staged - 52125a9d557e3fc117a421662cf45d6462517d87 authored over 4 years ago by Iiro Jäppinen <[email protected]>
fix: unset GIT_LITERAL_PATHSPECS env variable before running

This makes git treat all pathspecs literally, so that for example '.' would refer to a file name...

github.com/lint-staged/lint-staged - a653c55a397e7e6f04fa5aefb0ddf2c7543569d9 authored over 4 years ago by Iiro Jäppinen <[email protected]>
fix: support non-ASCII filenames when git is configured with `core.quotepath on`

github.com/lint-staged/lint-staged - 2cb26a635a313a32c208caf5ba6a9215a68b9c6d authored over 4 years ago by Alexander Kachkaev <[email protected]>
fix: use `path.join` and `normalize` to improve msys compatibility in resolveGitRepo

github.com/lint-staged/lint-staged - 1ad263a5c03d0f3fd90f2dffd0d9083f0ef8112e authored over 4 years ago by Michael Belousov <[email protected]>
Merge pull request #798 from okonet/fixes

github.com/lint-staged/lint-staged - b3c2ffddf63106e05f70faf5cd289deffea67859 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
fix: do not drop backup stash when reverting to original state fails

github.com/lint-staged/lint-staged - f5893365409bf935db058a4f41aeaccc90cd3a18 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
fix: evaluate functional configuration only once

github.com/lint-staged/lint-staged - abe4b92d7f6213b59d756d172298bc29bb2bd44c authored almost 5 years ago by Iiro Jäppinen <[email protected]>
fix: replace fs.promises with util.promisify (#786)

This suppresses the ExperimentalWarning on Node.js v10

github.com/lint-staged/lint-staged - f71c1c9ad2d27205199171bf3dc0e908889ba384 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
fix: make sure deleted files aren't restored due to git bugs (#778)

* fix: make sure deleted files aren't restored due to git bugs

* refactor(file): use fs.promi...

github.com/lint-staged/lint-staged - 6bfbe6c204e351bd7055c5ecc810e1f9074304da authored almost 5 years ago by Iiro Jäppinen <[email protected]>
fix: always resolve real git config dir location if .git is a file (#784)

* fix: always resolve real git config dir location if .git is a file

* test: ensure lint-stag...

github.com/lint-staged/lint-staged - b98a5ed8d422f637af4157a157676a70e3f1981a authored almost 5 years ago by Iiro Jäppinen <[email protected]>
fix: use verbose renderer when TERM=dumb (#782)

* fix: use verbose renderer when TERM=dumb

* fix: set FORCE_COLOR only when supported

* re...

github.com/lint-staged/lint-staged - 9c08e8ee0bdf00de7dc6e15cd660e6fc55129832 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
docs: Add better docs on running multiple commands

Fix other examples

github.com/lint-staged/lint-staged - 7fac11fa8f43002043dddcf34ad50f52d7e6e3d1 authored almost 5 years ago by Andrey Okonetchnikov <[email protected]>
fix: correctly restore untracked files after running (#780)

If you were affected by this bug and lost untracked files, you can try to restore them with:

...

github.com/lint-staged/lint-staged - 4010db09f6d168af677bd4ca1c815ba40460ae80 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
Merge pull request #772 from okonet/fixes

Fix a bunch of v10 issues

github.com/lint-staged/lint-staged - 0f2a1c01ca7bc599ea69744259c0de04b4e223b3 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
fix: parse command string with string-argv unless --shell is used

execa.command splits arguments from spaces even when it's part of a filename

github.com/lint-staged/lint-staged - 4cb4ddee0c6b6500eefd20eb3d1bad249d51b96a authored almost 5 years ago by Iiro Jäppinen <[email protected]>
style: correctly pass args to npm script

github.com/lint-staged/lint-staged - 47985b41911cd5fb0ff3061250cf4f429d883c49 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
style: remove jsonlint since it conflicts with prettier

github.com/lint-staged/lint-staged - 1a57321fb48775ea63cb661266bf7502fdf95414 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
fix: print a better warning when the initial commit is missing

lint-staged uses git stashes internally, and git stashes require the initial commit to work

github.com/lint-staged/lint-staged - 293547d46080eac007393709a0d63a63f2063fff authored almost 5 years ago by Iiro Jäppinen <[email protected]>
docs: add section about v10 migration/breaking changes

github.com/lint-staged/lint-staged - 4d2900c22eca6cb8d5ba706e7b45ccd6e938f2f0 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
docs: use undo instead of revert to avoid confusion with git operation

github.com/lint-staged/lint-staged - dae71474a11f52149e36085d1ec251641e8d130b authored almost 5 years ago by Iiro Jäppinen <[email protected]>
fix: only warn about git add when it's the exact command

This means that "custom" git add commands won't trigger the warning

github.com/lint-staged/lint-staged - 24febb3c906dd84f8ee19bae74509e42db034380 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
fix: preserve merge states in submodules (#769)

* fix: preserve merge states in submodules

* test: set git user details into submodule dir fo...

github.com/lint-staged/lint-staged - e646b2c46ad34344b526462200471fa47dcc398f authored almost 5 years ago by Iiro Jäppinen <[email protected]>
Merge pull request #724 from okonet/beta

Use git stashes in git workflow for better performance

github.com/lint-staged/lint-staged - 072924fce037c726112c00a6207afa92e238a267 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
docs: Improve config section documentation

github.com/lint-staged/lint-staged - f9e128d7e9393ba685fda16f49dceda16d4c540f authored almost 5 years ago by Andrey Okonetchnikov <[email protected]>
Merge branch 'master' into beta

github.com/lint-staged/lint-staged - e1cd6ba033ed973264b19359f8822342a5607772 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
docs: refine examples formatting (#767)

* refine examples formatting

* single quote

github.com/lint-staged/lint-staged - af58e6edbf572339fd9671d48223f27a4d84362a authored almost 5 years ago by Piotr <[email protected]>
Merge branch 'master' into beta

# Conflicts:
# README.md

github.com/lint-staged/lint-staged - 82bee064845a8a452cbdc360f20c3c3563c6f426 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
docs: Improve documentation on the --debug flag (#766)

Fixes #764; clarifies the purpose of switching to the `listr-verbose-renderer` module.

github.com/lint-staged/lint-staged - af4604ae5fdb2e7bda8491b15e834e9719ba10c2 authored almost 5 years ago by ELLIOTTCABLE <[email protected]>
Merge branch 'master' into beta

# Conflicts:
# package.json

github.com/lint-staged/lint-staged - bd3721f28473b8ac382fe787495900d15458770f authored almost 5 years ago by Iiro Jäppinen <[email protected]>
feat: throw error to prevent empty commits unless --allow-empty is used (#762)

BREAKING CHANGE: Previously, lint-staged would allow empty commits in the situation where a lint...

github.com/lint-staged/lint-staged - 8bdeec067f425150722bd0ee78e310e0992a1444 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
docs: add funding property to package.json linking to Open Collective (#763)

github.com/lint-staged/lint-staged - 2cd1d37a75fc46e203beef16a48171c0cf034bd6 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
docs: Document how to deal with eslintignore warnings (#759)

This adds an example on dealing with eslint ignored files, to fix the issues with `warning File...

github.com/lint-staged/lint-staged - 056723b96df5cf6730c26b18d44ff89f0c616ad8 authored almost 5 years ago by Shady Sharaf <[email protected]>
fix: error handling skips dropping backup stash after internal git errors

github.com/lint-staged/lint-staged - 30b480925a313f5c2b614eb40eb1a340a6cefae5 authored almost 5 years ago by Iiro Jäppinen <[email protected]>
fix: handle git MERGE_* files separately; improve error handling

github.com/lint-staged/lint-staged - da22cf22bbd21be98a73b880a4ce43dbd0129021 authored about 5 years ago by Iiro Jäppinen <[email protected]>
feat: support async function tasks

github.com/lint-staged/lint-staged - 20d5c5d4cb92f9a4c501e5308cc51379d10581a8 authored about 5 years ago by Iiro Jäppinen <[email protected]>
Merge branch 'master' into beta

github.com/lint-staged/lint-staged - f2a2702f80f1a93cee4d0c9fc5d9db09a848329a authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: fail with a message when backup stash is missing

github.com/lint-staged/lint-staged - 1b64239163f5560b7235843909a9d30ff7ca1b83 authored about 5 years ago by Iiro Jäppinen <[email protected]>
test: do not write file into repo during test run

github.com/lint-staged/lint-staged - 9913bb2fdb6a9254bd6dd975ca5ed796c0f96dc5 authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: correctly recover when unstaged changes cannot be restored

github.com/lint-staged/lint-staged - d091f71ff50b1eddc59e759b1b09a95ed613c4d2 authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: restore metadata about git merge before running tasks

github.com/lint-staged/lint-staged - f8ddfc22d22fec2b417a67249573e7cd6abdb9fc authored about 5 years ago by Iiro Jäppinen <[email protected]>
refactor: minor optimizations

github.com/lint-staged/lint-staged - 22ba124a7b22562a4ecef48d4a209ceb508a9668 authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: better workaround for git stash --keep-index bug

github.com/lint-staged/lint-staged - f3ae378aa8d7207f990c4ffec854cc8da4d38b1d authored about 5 years ago by Iiro Jäppinen <[email protected]>
docs: improve example perfomance by returning single command (#753)

github.com/lint-staged/lint-staged - 33b97523b129bf697f6869a2b4bc5584f26f9245 authored about 5 years ago by Thomas Rich <[email protected]>
fix: automatically add modifications only to originally staged files

Using `git add .` does not work when an unrelated 3rd-party makes a file edit while lint-staged ...

github.com/lint-staged/lint-staged - 083b8e7d67307a177d427d694ead22cb0c95b0ca authored about 5 years ago by Iiro Jäppinen <[email protected]>
feat: bump Node.js version dependency to at least 10.13.0 (#747)

BREAKING CHANGE: Node.js v8 is no longer supported because it will reach EOL on 2019-12-31

github.com/lint-staged/lint-staged - 814b9dfe131f55c18a8996f775dd5dd582d0a766 authored about 5 years ago by Iiro Jäppinen <[email protected]>
test: remove non-working concurrency tests for now

github.com/lint-staged/lint-staged - 0eedacdb12b65c99a8a0e098cc48b2a50974d84d authored about 5 years ago by Iiro Jäppinen <[email protected]>
Merge branch 'refs/heads/master' into beta

# Conflicts:
# bin/lint-staged
# src/index.js
# src/runAll.js

github.com/lint-staged/lint-staged - 4bf94e28c3c642039802472adcbd945a1bf24368 authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: max arg length is by default half of the allowed to prevent edge cases

github.com/lint-staged/lint-staged - 80406c20fd3d1a86b0a0558c10f6747b2b47698e authored about 5 years ago by Iiro Jäppinen <[email protected]>
refactor: linStaged is an async function

github.com/lint-staged/lint-staged - 03ea13242cd9db34b563b7b45376d0789185393e authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: improve debug logging

github.com/lint-staged/lint-staged - f88e22619b8dea4fbcda3d57a85ca9d1be152908 authored about 5 years ago by Iiro Jäppinen <[email protected]>
feat: add support for concurrent CLI option

github.com/lint-staged/lint-staged - 6af83070c44003477c00d4c088806af23333ec59 authored about 5 years ago by jeffreyffs <[email protected]>
feat: split tasks into chunks to support shells with limited max argument length (#732)

* feat: split tasks into chunks to support shells with limited max argument length

* refactor...

github.com/lint-staged/lint-staged - cb43872fb6c05366a8fc25a8bd889b95918f45a3 authored about 5 years ago by Iiro Jäppinen <[email protected]>
Merge branch 'refs/heads/master' into beta

github.com/lint-staged/lint-staged - 6b66cf38adb020e174a595ceffda0c54b45ae65a authored about 5 years ago by Iiro Jäppinen <[email protected]>
chore(deps): remove unused devDependencies

github.com/lint-staged/lint-staged - 5f0a807b4660636bd6a2e12dcc3816d605a38c16 authored about 5 years ago by Iiro Jäppinen <[email protected]>
docs: fix root-dir-only example. (#731)

github.com/lint-staged/lint-staged - 99c317a43ef96aa7f1c929b436086d1b110b05f9 authored about 5 years ago by Ben Blank <[email protected]>
chore: update all dependencies

github.com/lint-staged/lint-staged - 5d989acfe3f88989f02d0168cd983ecb059f4509 authored about 5 years ago by Iiro Jäppinen <[email protected]>
Merge branch 'master' into beta

github.com/lint-staged/lint-staged - a33dc68ee34b58c0b36479e0410ef1ba0049a5bd authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: support binary files

github.com/lint-staged/lint-staged - 7b3a334ac33ffe1bda930583a055fb1db0b6d181 authored about 5 years ago by Iiro Jäppinen <[email protected]>
docs: Mention the beta channel in the readme (#721)

github.com/lint-staged/lint-staged - 596a360d80d2ef3029bd2bd49d34978f142a98b4 authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: correctly leave only staged files for running tasks

github.com/lint-staged/lint-staged - cfde9ca64bed7fa236eda69e63478c536f9f9068 authored about 5 years ago by Iiro Jäppinen <[email protected]>
Revert "fix: no need to run `git clean -df` since untracked changes are stashed"

This reverts commit 869bac617dd1ef46e6689027c9d3ec67b3a00934.

github.com/lint-staged/lint-staged - e58ebbfa2dbbcd0c05ae13026a65c33ff791e211 authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: add all modified files to git index with `git add .`

github.com/lint-staged/lint-staged - bf532c2af9dbd3514b16768a106fea82ddc99923 authored about 5 years ago by Iiro Jäppinen <[email protected]>
test: should not resurrect removed files due to git bug

github.com/lint-staged/lint-staged - bc17363e28782a16e335291cafee9a0186bdf602 authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: no need to run `git clean -df` since untracked changes are stashed

github.com/lint-staged/lint-staged - 869bac617dd1ef46e6689027c9d3ec67b3a00934 authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: update warning about git add, and to README

BREAKING CHANGE: Prior to version 10, tasks had to manually include `git add` as the final step....

github.com/lint-staged/lint-staged - 6467a66b13657f1a39b0f1f3a079dc31a8461fe9 authored about 5 years ago by Iiro Jäppinen <[email protected]>
test: add test for supplying object config via node api

github.com/lint-staged/lint-staged - d1da3fc51ab8c8d7930af6a14eda874de63317cf authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: correctly restore untracked files from backup stash

github.com/lint-staged/lint-staged - c7d05922b24524707795c4045339801c86affe9d authored about 5 years ago by Iiro Jäppinen <[email protected]>
feat: warn when task contains "git add"

github.com/lint-staged/lint-staged - 52083990166cbea3bfe3d316ad6598c6c198fe1e authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: prevent Listr from hiding git add warning

github.com/lint-staged/lint-staged - cce9809a2ce335a3b2c3f44e4c521270b13f9d4c authored about 5 years ago by Iiro Jäppinen <[email protected]>
feat: automatically stage task modifications

github.com/lint-staged/lint-staged - 74ed28d5edc70c66d769f7658b90b550029a2acf authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: workaround for stashing deleted files for git < 2.23

github.com/lint-staged/lint-staged - 1a87333f9ee0704b3bb332bf5fbc11dbd25f7821 authored about 5 years ago by Iiro Jäppinen <[email protected]>
test: should work when amending previous commit with unstaged changes

github.com/lint-staged/lint-staged - 91ee67a219e84439aed54b4ac868ed49d6dc5dfa authored about 5 years ago by Iiro Jäppinen <[email protected]>
test: improve coverage of gitWorkflow

github.com/lint-staged/lint-staged - 7b144b44462edfc3daac1799d5774a35a1796481 authored about 5 years ago by Iiro Jäppinen <[email protected]>
fix: keep untracked files around by backing them up

Git diff completely ignores new, untracked files, but they can be read/written separately

github.com/lint-staged/lint-staged - fc03fdc2e869384eb2d6423ff31f84e3cf22007e authored about 5 years ago by Iiro Jäppinen <[email protected]>
test: further increase timeout for long test

github.com/lint-staged/lint-staged - 90da8a88271f7251de17e652c0e9be36024465e9 authored about 5 years ago by Iiro Jäppinen <[email protected]>
refactor: improvements based on PR review

github.com/lint-staged/lint-staged - 6fa9c85d1d03c8a9b4b3dea8be8f3857798c82c2 authored about 5 years ago by Iiro Jäppinen <[email protected]>
docs: remove bit about next release

github.com/lint-staged/lint-staged - 9c33515ea43d178b75581166114a3e7aacc8f8fe authored about 5 years ago by Iiro Jäppinen <[email protected]>