Skip to content

v5.1.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@gracepark gracepark released this 20 Nov 22:54
· 43 commits to main since this release
3c52370

In this release we're supporting ESLint's new flat config and still maintaining legacy configs for backwards compatibility. We've created flat configs via getFlatConfigs():

Usage

import github from 'eslint-plugin-github'

export default [
  github.getFlatConfigs().browser,
  github.getFlatConfigs().recommended,
  github.getFlatConfigs().react,
  ...github.getFlatConfigs().typescript,
  {
    files: ['**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}'],
    ignores: ['eslint.config.mjs'],
    rules: {
      'github/array-foreach': 'error',
      'github/async-preventdefault': 'warn',
      'github/no-then': 'error',
      'github/no-blur': 'error',
    },
  },
]

What's Changed

  • chore(deps): bump micromatch from 4.0.5 to 4.0.8 in the npm_and_yarn group by @dependabot in #549
  • chore(deps): bump the all-dependencies group with 3 updates by @dependabot in #552
  • chore(deps): bump the all-dependencies group across 1 directory with 5 updates by @dependabot in #557
  • Actions/Node Updates by @dgreif in #558
  • [Patch] Bumping eslint-plugin-escompat plugin to latest version by @dusave in #560
  • chore(deps): bump the all-dependencies group across 1 directory with 3 updates by @dependabot in #561
  • chore(deps): bump the all-dependencies group with 6 updates by @dependabot in #562
  • Update Dockerfile by @gracepark in #565
  • chore(deps): bump the all-dependencies group with 3 updates by @dependabot in #569
  • Support flat config and upgrade eslint to v9 by @gracepark in #571

New Contributors

Full Changelog: v5.0.2...v5.1.0