github / eslint-plugin-github

An opinionated collection of ESLint rules used by GitHub.
MIT License
286 stars 51 forks source link

chore(deps): bump the all-dependencies group with 4 updates #498

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 6 months ago

Bumps the all-dependencies group with 4 updates: @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint-plugin-prettier and chai.

Updates @typescript-eslint/eslint-plugin from 6.14.0 to 6.16.0

Release notes

Sourced from @​typescript-eslint/eslint-plugin's releases.

v6.16.0

6.16.0 (2023-12-25)

Bug Fixes

  • eslint-plugin: [unbound-method] exempt all non-Promise built-in statics (#8096) (3182959)

Features

  • eslint-plugin: deprecate formatting rules (#8073) (04dea84)
  • typescript-estree: add allowDefaultProjectForFiles project service allowlist option (#7752) (7ddadda)

You can read about our versioning strategy and releases on our website.

v6.15.0

6.15.0 (2023-12-18)

Features

  • eslint-plugin: [no-useless-template-literals] add new rule (#7957) (ff75785), closes #2846
  • eslint-plugin: [require-array-sort-compare] support toSorted (#8052) (c9661c8)

You can read about our versioning strategy and releases on our website.

Changelog

Sourced from @​typescript-eslint/eslint-plugin's changelog.

6.16.0 (2023-12-25)

Bug Fixes

  • eslint-plugin: [unbound-method] exempt all non-Promise built-in statics (#8096) (3182959)

Features

  • eslint-plugin: deprecate formatting (meta.type: layout) rules (#8073) (04dea84)
  • eslint-plugin: deprecate no-extra-semi in favor of ESLint Stylistic equivalent (#8123) (9368bf3)

You can read about our versioning strategy and releases on our website.

6.15.0 (2023-12-18)

Features

  • eslint-plugin: [no-useless-template-literals] add new rule (#7957) (ff75785), closes #2846
  • require-array-sort-compare + toSorted (#8052) (c9661c8)

You can read about our versioning strategy and releases on our website.

Commits
  • 7246e56 chore: publish v6.16.0
  • 3182959 fix(eslint-plugin): [unbound-method] exempt all non-Promise built-in statics ...
  • 3031117 docs(eslint-plugin): enforce a heading for each rule option (#8015)
  • b3f87fc docs(eslint-plugin): add Deprecating Formatting Rules blog post (#8117)
  • 9368bf3 feat(eslint-plugin): deprecate no-extra-semi in favor of ESLint Stylistic equ...
  • f6f6a57 docs: add tombstone file for no-parameter-properties and suggested replacemen...
  • 04dea84 feat(eslint-plugin): deprecate formatting (meta.type: layout) rules (#8073)
  • b1c92bb chore(website): auto-generate type checked rule notice in rule docs (#7951)
  • 26ba8ea docs: add more rationale for no-for-in-array (#8082)
  • eff7da1 docs: fix example for no-shadow (#8080)
  • Additional commits viewable in compare view


Updates @typescript-eslint/parser from 6.14.0 to 6.16.0

Release notes

Sourced from @​typescript-eslint/parser's releases.

v6.16.0

6.16.0 (2023-12-25)

Bug Fixes

  • eslint-plugin: [unbound-method] exempt all non-Promise built-in statics (#8096) (3182959)

Features

  • eslint-plugin: deprecate formatting rules (#8073) (04dea84)
  • typescript-estree: add allowDefaultProjectForFiles project service allowlist option (#7752) (7ddadda)

You can read about our versioning strategy and releases on our website.

v6.15.0

6.15.0 (2023-12-18)

Features

  • eslint-plugin: [no-useless-template-literals] add new rule (#7957) (ff75785), closes #2846
  • eslint-plugin: [require-array-sort-compare] support toSorted (#8052) (c9661c8)

You can read about our versioning strategy and releases on our website.

Changelog

Sourced from @​typescript-eslint/parser's changelog.

6.16.0 (2023-12-25)

Note: Version bump only for package @​typescript-eslint/parser

You can read about our versioning strategy and releases on our website.

6.15.0 (2023-12-18)

Note: Version bump only for package @​typescript-eslint/parser

You can read about our versioning strategy and releases on our website.

Commits


Updates eslint-plugin-prettier from 5.0.1 to 5.1.2

Release notes

Sourced from eslint-plugin-prettier's releases.

v5.1.2

5.1.2

Patch Changes

  • #623 8210e44 Thanks @​BPScott! - Add exports mapping to package.json, to allow import eslintPluginRecommended from 'eslint-plugin-prettier/recommended' to work as expected.

    Strictly speaking this is a breaking change as it removes the ability for people to import from "eslint-plugin-prettier/eslint-plugin-prettier.js" and "eslint-plugin-prettier/recommended.js" but the former was never recommended in the first place and the latter has only been available for a few days.

  • #621 2b09e7f Thanks @​JounQin! - feat: support parsing markdown via eslint-mdx natively

    What means the following is unnecessary anymore when using with eslint-mdx/eslint-plugin-mdx!

    [
      {
        files: ["**/*.md"],
        rules: { "prettier/prettier": ["error", { parser: "markdown" }] },
      },
      {
        files: ["**/*.mdx"],
        rules: { "prettier/prettier": ["error", { parser: "mdx" }] },
      },
    ]
    

Full Changelog: https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.1...v5.1.2

v5.1.1

5.1.1

Patch Changes

v.5.1.0

Minor Changes

  • #616 3856413 Thanks @​BPScott! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from eslint-plugin-prettier/recommended. Like the legacy format recommended config, this automatically includes the contents of eslint-config-prettier.

    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');
    

    module.exports = [ // Any other config imports go at the top eslintPluginPrettierRecommended, ];

... (truncated)

Changelog

Sourced from eslint-plugin-prettier's changelog.

5.1.2

Patch Changes

  • #623 8210e44 Thanks @​BPScott! - Add exports mapping to package.json, to allow import eslintPluginRecommended from 'eslint-plugin-prettier/recommended' to work as expected.

    Strictly speaking this is a breaking change as it removes the ability for people to import from "eslint-plugin-prettier/eslint-plugin-prettier.js" and "eslint-plugin-prettier/recommended.js" but the former was never recommended in the first place and the latter has only been available for a few days.

  • #621 2b09e7f Thanks @​JounQin! - feat: support parsing markdown via eslint-mdx natively

    What means the following is unnecessary anymore when using with eslint-mdx/eslint-plugin-mdx!

    [
      {
        files: ['**/*.md'],
        rules: { 'prettier/prettier': ['error', { parser: 'markdown' }] },
      },
      {
        files: ['**/*.mdx'],
        rules: { 'prettier/prettier': ['error', { parser: 'mdx' }] },
      },
    ]
    

5.1.1

Patch Changes

5.1.0

Minor Changes

  • #616 3856413 Thanks @​BPScott! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from eslint-plugin-prettier/recommended. Like the legacy format recommended config, this automatically includes the contents of eslint-config-prettier.

    // eslint.config.js
    const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');
    

    module.exports = [ // Any other config imports go at the top eslintPluginPrettierRecommended, ];

Patch Changes

... (truncated)

Commits
  • d102278 chore: release eslint-plugin-prettier (#624)
  • b02fe90 chore: bump all upgradable (dev)Dependencies (#625)
  • 2b09e7f feat: support parsing markdown via eslint-mdx natively (#621)
  • 5f762df docs: change open collective funding info (#626)
  • 8210e44 fix: add package.json exports field (#623)
  • 5a51733 chore: release eslint-plugin-prettier (#620)
  • b5c0dc5 chore: skip formatting inline scripts in pug files (#619)
  • 183f45c chore: release eslint-plugin-prettier (#604)
  • 3856413 Add flat recommended config (#616)
  • 78c8b80 Use flat config for the project's eslint configuration (#615)
  • Additional commits viewable in compare view


Updates chai from 4.3.10 to 5.0.0

Release notes

Sourced from chai's releases.

v5.0.0

BREAKING CHANGES

  • Chai now only supports EcmaScript Modules (ESM). This means your tests will need to either have import {...} from 'chai' or import('chai'). require('chai') will cause failures in nodejs. If you're using ESM and seeing failures, it may be due to a bundler or transpiler which is incorrectly converting import statements into require calls.
  • Dropped support for Internet Explorer.
  • Dropped support for NodeJS < 18.
  • Minimum supported browsers are now Firefox 100, Safari 14.1, Chrome 100, Edge 100. Support for browsers prior to these versions is "best effort" (bug reports on older browsers will be assessed individually and may be marked as wontfix).

What's Changed

New Contributors

Full Changelog: https://github.com/chaijs/chai/compare/4.3.1...v5.0.0

v5.0.0-rc.0

The first Release Candidate of chai@v5 is here!

We've put out a few alpha versions and tested them out in various projects with good success. This RC includes all those changes plus any fixes that we've discovered since then.

Please try it out in your projects and let us know if you run into any issues so we can make fixes before version 5!

Thanks for using Chai 🙏🏻

What's Changed

... (truncated)

Commits


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 major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
theinterned commented 5 months ago

Chai has moved to ESM only in v5 which is part of this update. I guess we will need to update this repo to account for the change by at least replacing require('chai') with import('chai').

theinterned commented 5 months ago

Note I updated the tests to use the .mjs extension and import foo form "bar" sytax in order to deal with the Chai change https://github.com/github/eslint-plugin-github/pull/498/commits/fcdf9e498f7363a63426756a156716e164f17cca