Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: eslint-types/eslint-define-config
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.9.0
Choose a base ref
...
head repository: eslint-types/eslint-define-config
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.9.1
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Oct 29, 2022

  1. fix: define flat config (#147)

    sxzz authored Oct 29, 2022
    Copy the full SHA
    4b70671 View commit details
  2. Update Changelog

    Shinigami92 committed Oct 29, 2022
    Copy the full SHA
    206aaca View commit details
  3. v1.9.1

    Shinigami92 committed Oct 29, 2022
    Copy the full SHA
    c120094 View commit details
Showing with 11 additions and 3 deletions.
  1. +9 −1 CHANGELOG.md
  2. +1 −1 package.json
  3. +1 −1 src/index.d.ts
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Next

[diff](https://github.com/Shinigami92/eslint-define-config/compare/1.9.0...main)
[diff](https://github.com/Shinigami92/eslint-define-config/compare/1.9.1...main)

# 1.9.1

[diff](https://github.com/Shinigami92/eslint-define-config/compare/1.9.0...1.9.1)

- Fix Flat ESLint Config ([#147])

[#147]: https://github.com/Shinigami92/eslint-define-config/pull/147

# 1.9.0

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-define-config",
"version": "1.9.0",
"version": "1.9.1",
"description": "Provide a defineConfig function for .eslintrc.js files",
"main": "src/index.js",
"module": "src/index.mjs",
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
@@ -17,4 +17,4 @@ export function defineConfig(config: ESLintConfig): ESLintConfig;
* @param config Flat ESLint config.
* @returns Flat ESLint config.
*/
export function defineConfig(config: FlatESLintConfigs[]): FlatESLintConfigs[];
export function defineConfig(config: FlatESLintConfigs): FlatESLintConfigs;