Skip to content

Commit

Permalink
upgrade to antfu 2.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nirtamir2 committed Jun 11, 2024
1 parent b9f45b2 commit f1cc257
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @nirtamir2/eslint-config

[![npm](https://img.shields.io/npm/v/@nirtamir2/eslint-config?color=444&label=)](https://npmjs.com/package/@nirtamir2/eslint-config) [![code style](https://nirtamir2.me/badge-code-style.svg)](https://github.com/nirtamir2/eslint-config)
[![npm](https://img.shields.io/npm/v/@nirtamir2/eslint-config?color=444&label=)](https://npmjs.com/package/@nirtamir2/eslint-config)

This is a fork of Anthony Fu's [ESLint Config](https://github.com/antfu/eslint-config) maintained by [Nir Tamir](https://github.com/nirtamir2/).

Expand All @@ -18,8 +18,6 @@ This is a fork of Anthony Fu's [ESLint Config](https://github.com/antfu/eslint-c
- Respects `.gitignore` by default
- Supports ESLint v9 or v8.50.0+

> [!IMPORTANT]
> Since v1.0.0, this config is rewritten to the new [ESLint Flat config](https://eslint.org/docs/latest/use/configure/configuration-files-new), check the [release note](https://github.com/nirtamir2/eslint-config/releases/tag/v1.0.0) for more details.

## Usage

Expand Down
1 change: 1 addition & 0 deletions src/configs/sort.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export async function sortPackageJson(): Promise<Array<TypedFlatConfigItem>> {
"packageManager",
"description",
"author",
"contributors",
"license",
"funding",
"homepage",
Expand Down
2 changes: 1 addition & 1 deletion src/configs/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export async function typescript(
]
: []),
{
files: ["**/*.d.([cm])ts"],
files: ['**/*.d.?([cm])ts'],
name: "antfu/typescript/disables/dts",
rules: {
"eslint-comments/no-unlimited-disable": "off",
Expand Down

0 comments on commit f1cc257

Please sign in to comment.