Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump lint-staged from 13.2.3 to 15.2.0 #91

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 2023

Bumps lint-staged from 13.2.3 to 15.2.0.

Release notes

Sourced from lint-staged's releases.

v15.2.0

Minor Changes

  • #1371 f3378be Thanks @​iiroj! - Using the --no-stash flag no longer discards all unstaged changes to partially staged files, which resulted in inadvertent data loss. This fix is available with a new flag --no-hide-partially-staged that is automatically enabled when --no-stash is used.

Patch Changes

  • #1362 17bc480 Thanks @​antonk52! - update lilconfig@3.0.0

  • #1368 7c55ca9 Thanks @​iiroj! - Update most dependencies

  • #1368 777d4e9 Thanks @​iiroj! - To improve performance, only use lilconfig when searching for config files outside the git repo. In the regular case, lint-staged finds the config files from the Git index and loads them directly.

  • #1373 85eb0dd Thanks @​iiroj! - When determining git directory, use fs.realpath() only for symlinks. It looks like fs.realpath() changes some Windows mapped network filepaths unexpectedly, causing issues.

v15.1.0

Minor Changes

  • #1344 0423311 Thanks @​danielbayley! - Add support for loading configuration from package.yaml and package.yml files, supported by pnpm.

Patch Changes

v15.0.2

Patch Changes

  • #1339 8e82364 Thanks @​iiroj! - Update dependencies, including listr2@7.0.2 to fix an upstream issue affecting lint-staged.

v15.0.1

Patch Changes

  • #1217 d2e6f8b Thanks @​louneskmt! - Previously it was possible for a function task to mutate the list of staged files passed to the function, and accidentally affect the generation of other tasks. This is now fixed by passing a copy of the original file list instead.

v15.0.0

Major Changes

  • #1322 66b93aa Thanks @​iiroj! - Require at least Node.js 18.12.0

    This release drops support for Node.js 16, which is EOL after 2023-09-11. Please upgrade your Node.js to the latest version.

    Additionally, all dependencies have been updated to their latest versions.

v14.0.1

14.0.1 (2023-08-21)

Bug Fixes

... (truncated)

Changelog

Sourced from lint-staged's changelog.

15.2.0

Minor Changes

  • #1371 f3378be Thanks @​iiroj! - Using the --no-stash flag no longer discards all unstaged changes to partially staged files, which resulted in inadvertent data loss. This fix is available with a new flag --no-hide-partially-staged that is automatically enabled when --no-stash is used.

Patch Changes

  • #1362 17bc480 Thanks @​antonk52! - update lilconfig@3.0.0

  • #1368 7c55ca9 Thanks @​iiroj! - Update most dependencies

  • #1368 777d4e9 Thanks @​iiroj! - To improve performance, only use lilconfig when searching for config files outside the git repo. In the regular case, lint-staged finds the config files from the Git index and loads them directly.

  • #1373 85eb0dd Thanks @​iiroj! - When determining git directory, use fs.realpath() only for symlinks. It looks like fs.realpath() changes some Windows mapped network filepaths unexpectedly, causing issues.

15.1.0

Minor Changes

  • #1344 0423311 Thanks @​danielbayley! - Add support for loading configuration from package.yaml and package.yml files, supported by pnpm.

Patch Changes

15.0.2

Patch Changes

  • #1339 8e82364 Thanks @​iiroj! - Update dependencies, including listr2@7.0.2 to fix an upstream issue affecting lint-staged.

15.0.1

Patch Changes

  • #1217 d2e6f8b Thanks @​louneskmt! - Previously it was possible for a function task to mutate the list of staged files passed to the function, and accidentally affect the generation of other tasks. This is now fixed by passing a copy of the original file list instead.

15.0.0

Major Changes

  • #1322 66b93aa Thanks @​iiroj! - Require at least Node.js 18.12.0

    This release drops support for Node.js 16, which is EOL after 2023-09-11. Please upgrade your Node.js to the latest version.

    Additionally, all dependencies have been updated to their latest versions.

v14.0.1 - 21 Aug 2023

... (truncated)

Commits
  • adf50b0 chore(changeset): release
  • 85eb0dd fix: when determining git directory, use fs.realpath() only for symlinks
  • 82eded4 refactor: use commander implies() syntax for flag
  • f3378be feat: --no-stash flag implies --no-hide-partially-staged
  • f4f61f3 docs: add workaround for verbose Windows output to README FAQ
  • 17bc480 chore(deps): update lilconfig@3.0.0
  • eccda41 style: remove Babel from ESLint
  • 077e6bc test: run Jest tests in native ESM mode
  • 8db4a15 refactor: move config file name constants to separate file
  • 78a0c23 test: add missing test coverage
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 25, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-15.2.0 branch from 8eaf586 to 4f5162e Compare January 18, 2024 07:09
@acronhub
Copy link
Contributor

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-15.2.0 branch from 4f5162e to 264a250 Compare January 19, 2024 01:52
@acronhub
Copy link
Contributor

📝 lint-staged とは
https://github.com/lint-staged/lint-staged
ステージングされたgitファイルに対してリンターを実行し、コードベースに💩を漏らさないようにしましょう!

@acronhub
Copy link
Contributor

acronhub commented Jan 19, 2024

📝 動作している箇所
.husky/pre-commit
コミットする前に、lint-stagedを実行している

何が実行されるのか
package.json

  "lint-staged": {
    "*.{js,ts,tsx}": [
      "yarn run lint:eslint:fix"
    ],
    "*": [
      "yarn run lint:prettier:fix"
    ]
  }

📝 husky とは
https://www.npmjs.com/package/husky
ハスキーは、あなたのコミットを改善し、より多くの🐶ウフフ!

コミットやプッシュ時に、任意のコマンドを自動で実行できる

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-15.2.0 branch from 264a250 to 0c1db16 Compare January 22, 2024 05:33
@acronhub
Copy link
Contributor

@dependabot recreate

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.2.3 to 15.2.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v13.2.3...v15.2.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lint-staged-15.2.0 branch from 0c1db16 to 0ecaa02 Compare January 30, 2024 12:19
@acronhub
Copy link
Contributor

コミットの直前で動作するので、仮のコミットで動作確認をした

% git st
On branch wip
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        modified:   src/client/pages/items/index.tsx

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   src/client/pages/items/index.tsx

% git add .

% git ci -m 'wip'
yarn run v1.22.19
$ /Users/h-3109/Documents/workspace/pj-qiita/qiita-cli/node_modules/.bin/lint-staged
→ No staged files found.
✨  Done in 0.53s.
On branch wip
nothing to commit, working tree clean

Copy link
Contributor

@acronhub acronhub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@acronhub acronhub merged commit 99ed2ed into main Jan 31, 2024
6 checks passed
@acronhub acronhub deleted the dependabot/npm_and_yarn/lint-staged-15.2.0 branch January 31, 2024 05:07
@ohakutsu ohakutsu mentioned this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant