Releases · github/eslint-plugin-github (original) (raw)

v6.0.0

What's Changed

BREAKING CHANGE: This project is now ESM. Users of Node < 20.x will need to upgrade their version of Node, or continue to use v5.x of this library.

New Contributors

Full Changelog: v5.1.8...v6.0.0

v5.1.8

What's Changed

Full Changelog: v5.1.7...v5.1.8

v5.1.7

What's Changed

New Contributors

Full Changelog: v5.1.6...v5.1.7

v5.1.6

v5.1.5

What's Changed

New Contributors

Full Changelog: v5.1.4...v5.1.5

v5.1.4

v5.1.3

What's Changed

Full Changelog: v5.1.2...v5.1.3

v5.1.2

v5.1.1

v5.1.0

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

New Contributors

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