Skip to content

Commit

Permalink
fix: [eslint] build error
Browse files Browse the repository at this point in the history
  • Loading branch information
deot committed Feb 5, 2024
1 parent 54b7e88 commit 2d04f6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/eslint/src/configs/jsdoc.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pluginJsdoc from 'eslint-plugin-jsdoc';
import { Options, FlatConfig } from '../types';
import { Options, FlatConfig, Rules } from '../types';
import { pickOptions, cleanRules } from './_helper';

export const jsdoc = async (options$?: Options): Promise<FlatConfig[]> => {
Expand All @@ -8,9 +8,9 @@ export const jsdoc = async (options$?: Options): Promise<FlatConfig[]> => {
return [];
}

const recommendedRules = pluginJsdoc.configs['flat/recommended-typescript'].rules;
const recommendedRules = pluginJsdoc.configs['flat/recommended-typescript'].rules as Rules;

const rules = {
const rules: Rules = {
...recommendedRules,
'jsdoc/check-tag-names': 0
};
Expand Down

0 comments on commit 2d04f6d

Please sign in to comment.