lowlighter / metrics

📊 An infographics generator with 30+ plugins and 300+ options to display stats about your GitHub account and render them as SVG, Markdown, PDF or JSON!
https://metrics.lecoq.io
MIT License
13.46k stars 1.67k forks source link

chore(deps): bump eslint from 8.49.0 to 8.51.0 #1547

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 11 months ago

Bumps eslint from 8.49.0 to 8.51.0.

Release notes

Sourced from eslint's releases.

v8.51.0

Features

  • 0a9c433 feat: Add --no-warn-ignored CLI option for flat config (#17569) (Domantas Petrauskas)
  • 977e67e feat: logical-assignment-operators to report expressions with 3 operands (#17600) (Yosuke Ota)

Bug Fixes

  • f976b2f fix: make rule severity case-sensitive in flat config (#17619) (Milos Djermanovic)
  • 0edfe36 fix: Ensure crash error messages are not duplicated (#17584) (Nicholas C. Zakas)
  • dd79abc fix: eslint-disable to be able to parse quoted rule names (#17612) (Yosuke Ota)
  • d2f6801 fix: Ensure correct code path for && followed by ?? (#17618) (Nicholas C. Zakas)

Documentation

  • ee5be81 docs: default to sourceType: "module" in rule examples (#17615) (Francesco Trotta)
  • 1aa26df docs: Add more examples for multiline-ternary (#17610) (George Ashiotis)
  • 47d0b44 docs: Update README (GitHub Actions Bot)
  • dbf831e docs: use generated og image (#17601) (Percy Ma)
  • 1866da5 docs: Update README (GitHub Actions Bot)

Chores

  • 1ef39ea chore: upgrade @​eslint/js@​8.51.0 (#17624) (Milos Djermanovic)
  • f8c7403 chore: package.json update for @​eslint/js release (ESLint Jenkins)
  • 2665552 test: fix flat config linter tests to use Linter in flat config mode (#17616) (Milos Djermanovic)
  • 7b77bcc chore: Refactor CodePathState (#17510) (Nicholas C. Zakas)
  • bc77c9a chore: Document and refactor ForkContext (#17566) (Nicholas C. Zakas)
  • 24e1f14 chore: Refactor and document CodePath (#17558) (Nicholas C. Zakas)

v8.50.0

Features

  • 27d5a9e feat: add suggestions to array-callback-return (#17590) (Tanuj Kanti)
  • f9082ff feat: flat-rule-tester make sure default config always matches (#17585) (fnx)
  • 83914ad feat: Implement SourceCode#applyInlineConfig() (#17351) (Nicholas C. Zakas)
  • 22a5582 feat: add rule no-object-constructor, deprecate no-new-object (#17576) (Francesco Trotta)
  • 85a3d9e feat: allowVoid option in array-callback-return (#17564) (Tanuj Kanti)

Bug Fixes

  • cc4d26b fix: Ensure deprecated context.parserServices warns (#17593) (Nicholas C. Zakas)
  • 1ea4cfb fix: Ensure all RuleTester tests all deprecated context methods (#17587) (Nicholas C. Zakas)
  • aa1b657 fix: wrong suggestion and message in no-misleading-character-class (#17571) (Yosuke Ota)

Documentation

  • 1800537 docs: Fix and standardize JSX code examples (#17591) (Francesco Trotta)
  • 48a44a7 docs: Add correct/incorrect tags to prefer-arrow-callback (#17589) (Francesco Trotta)
  • 20893d4 docs: fix incorrect tag's place (#17575) (Tanuj Kanti)
  • bd7a71f docs: Update README (GitHub Actions Bot)

Chores

  • f8a8a2d chore: upgrade @​eslint/js@​8.50.0 (#17599) (Milos Djermanovic)
  • 38ada6d chore: package.json update for @​eslint/js release (ESLint Jenkins)
Changelog

Sourced from eslint's changelog.

v8.51.0 - October 6, 2023

  • 1ef39ea chore: upgrade @​eslint/js@​8.51.0 (#17624) (Milos Djermanovic)
  • f8c7403 chore: package.json update for @​eslint/js release (ESLint Jenkins)
  • f976b2f fix: make rule severity case-sensitive in flat config (#17619) (Milos Djermanovic)
  • 0edfe36 fix: Ensure crash error messages are not duplicated (#17584) (Nicholas C. Zakas)
  • ee5be81 docs: default to sourceType: "module" in rule examples (#17615) (Francesco Trotta)
  • dd79abc fix: eslint-disable to be able to parse quoted rule names (#17612) (Yosuke Ota)
  • d2f6801 fix: Ensure correct code path for && followed by ?? (#17618) (Nicholas C. Zakas)
  • 2665552 test: fix flat config linter tests to use Linter in flat config mode (#17616) (Milos Djermanovic)
  • 1aa26df docs: Add more examples for multiline-ternary (#17610) (George Ashiotis)
  • 47d0b44 docs: Update README (GitHub Actions Bot)
  • dbf831e docs: use generated og image (#17601) (Percy Ma)
  • 0a9c433 feat: Add --no-warn-ignored CLI option for flat config (#17569) (Domantas Petrauskas)
  • 1866da5 docs: Update README (GitHub Actions Bot)
  • 7b77bcc chore: Refactor CodePathState (#17510) (Nicholas C. Zakas)
  • 977e67e feat: logical-assignment-operators to report expressions with 3 operands (#17600) (Yosuke Ota)
  • bc77c9a chore: Document and refactor ForkContext (#17566) (Nicholas C. Zakas)
  • 24e1f14 chore: Refactor and document CodePath (#17558) (Nicholas C. Zakas)

v8.50.0 - September 22, 2023

  • f8a8a2d chore: upgrade @​eslint/js@​8.50.0 (#17599) (Milos Djermanovic)
  • 38ada6d chore: package.json update for @​eslint/js release (ESLint Jenkins)
  • 27d5a9e feat: add suggestions to array-callback-return (#17590) (Tanuj Kanti)
  • f9082ff feat: flat-rule-tester make sure default config always matches (#17585) (fnx)
  • 83914ad feat: Implement SourceCode#applyInlineConfig() (#17351) (Nicholas C. Zakas)
  • cc4d26b fix: Ensure deprecated context.parserServices warns (#17593) (Nicholas C. Zakas)
  • 1ea4cfb fix: Ensure all RuleTester tests all deprecated context methods (#17587) (Nicholas C. Zakas)
  • 1800537 docs: Fix and standardize JSX code examples (#17591) (Francesco Trotta)
  • 22a5582 feat: add rule no-object-constructor, deprecate no-new-object (#17576) (Francesco Trotta)
  • 48a44a7 docs: Add correct/incorrect tags to prefer-arrow-callback (#17589) (Francesco Trotta)
  • aa1b657 fix: wrong suggestion and message in no-misleading-character-class (#17571) (Yosuke Ota)
  • 20893d4 docs: fix incorrect tag's place (#17575) (Tanuj Kanti)
  • 85a3d9e feat: allowVoid option in array-callback-return (#17564) (Tanuj Kanti)
  • bd7a71f docs: Update README (GitHub Actions Bot)
Commits
  • f079382 8.51.0
  • e8235e5 Build: changelog update for 8.51.0
  • 1ef39ea chore: upgrade @​eslint/js@​8.51.0 (#17624)
  • f8c7403 chore: package.json update for @​eslint/js release
  • f976b2f fix: make rule severity case-sensitive in flat config (#17619)
  • 0edfe36 fix: Ensure crash error messages are not duplicated (#17584)
  • ee5be81 docs: default to sourceType: "module" in rule examples (#17615)
  • dd79abc fix: eslint-disable to be able to parse quoted rule names (#17612)
  • d2f6801 fix: Ensure correct code path for && followed by ?? (#17618)
  • 2665552 test: fix flat config linter tests to use Linter in flat config mode (#17616)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)
github-actions[bot] commented 11 months ago

@check-spelling-bot Report

:red_circle: Please review

See the :open_file_folder: files view or the :scroll:action log for details.

Unrecognized words (6)

bitcoin coingecko dajneem eur jpy usd

Previously acknowledged words that are now absent Fnc gionkunz panosoft
To accept :heavy_check_mark: these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands ... in a clone of the [git@github.com:lowlighter/metrics.git](https://github.com/lowlighter/metrics.git) repository on the `dependabot-npm_and_yarn-eslint-8.51.0` branch ([:information_source: how do I use this?]( https://github.com/check-spelling/check-spelling/wiki/Accepting-Suggestions)): ``` sh update_files() { perl -e ' my @expect_files=qw('".github/actions/spelling/expect.txt"'); @ARGV=@expect_files; my @stale=qw('"$patch_remove"'); my $re=join "|", @stale; my $suffix=".".time(); my $previous=""; sub maybe_unlink { unlink($_[0]) if $_[0]; } while (<>) { if ($ARGV ne $old_argv) { maybe_unlink($previous); $previous="$ARGV$suffix"; rename($ARGV, $previous); open(ARGV_OUT, ">$ARGV"); select(ARGV_OUT); $old_argv = $ARGV; } next if /^(?:$re)(?:(?:\r|\n)*$| .*)/; print; }; maybe_unlink($previous);' perl -e ' my $new_expect_file=".github/actions/spelling/expect.txt"; use File::Path qw(make_path); use File::Basename qw(dirname); make_path (dirname($new_expect_file)); open FILE, q{<}, $new_expect_file; chomp(my @words = ); close FILE; my @add=qw('"$patch_add"'); my %items; @items{@words} = @words x (1); @items{@add} = @add x (1); @words = sort {lc($a)."-".$a cmp lc($b)."-".$b} keys %items; open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; }; close FILE; system("git", "add", $new_expect_file); ' } comment_json=$(mktemp) curl -L -s -S \ -H "Content-Type: application/json" \ "https://api.github.com/repos/lowlighter/metrics/issues/comments/1753138902" > "$comment_json" comment_body=$(mktemp) jq -r ".body // empty" "$comment_json" | tr -d "\\r" > $comment_body rm $comment_json patch_remove=$(perl -ne 'next unless s{^(.*)
$}{$1}; print' < "$comment_body") patch_add=$(perl -e '$/=undef; $_=<>; if (m{Unrecognized words[^<]*\n*```\n*([^<]*)```\n*$}m) { print "$1" } elsif (m{Unrecognized words[^<]*\n\n((?:\w.*\n)+)\n}m) { print "$1" };' < "$comment_body") update_files rm $comment_body git add -u ```
Warnings (2) See the [:open_file_folder: files](1547/files/) view or the [:scroll:action log](https://github.com/lowlighter/metrics/actions/runs/6458123292/job/17531138812#step:2:1) for details. [:information_source: Warnings](https://github.com/check-spelling/check-spelling/wiki/Event-descriptions) | Count -|- [:information_source: limited-references](https://github.com/check-spelling/check-spelling/wiki/Event-descriptions#limited-references) | 1 [:information_source: no-newline-at-eof](https://github.com/check-spelling/check-spelling/wiki/Event-descriptions#no-newline-at-eof) | 1 See [:information_source: Event descriptions](https://github.com/check-spelling/check-spelling/wiki/Event-descriptions) for more information.
If the flagged items are false positives If items relate to a ... * binary file (or some other file you wouldn't want to check at all). Please add a file path to the `excludes.txt` file matching the containing file. File paths are Perl 5 Regular Expressions - you can [test]( https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your files. `^` refers to the file's path from the root of the repository, so `^README\.md$` would exclude [README.md]( ../tree/HEAD/README.md) (on whichever branch you're using). * well-formed pattern. If you can write a [pattern](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns) that would match it, try adding it to the `patterns.txt` file. Patterns are Perl 5 Regular Expressions - you can [test]( https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your lines. Note that patterns can't match multiline strings.
dependabot[bot] commented 10 months ago

Superseded by #1556.