Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-er committed Jul 28, 2024
1 parent 41d499b commit fadaa66
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/eslint/configs/perfectionist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ import { interopDefault } from '../utils.js'
import type { ConfigItem } from '../types.js'

export async function perfectionist(): Promise<ConfigItem[]> {
// @ts-expect-error missing types
const pluginPerfectionist = await interopDefault(import('eslint-plugin-perfectionist'))

return [
{
name: 'verful:perfectionist',
plugins: { perfectionist: pluginPerfectionist },

// @ts-expect-error
plugins: pluginPerfectionist.default,
rules: {
'perfectionist/sort-imports': [
'error',
Expand Down

0 comments on commit fadaa66

Please sign in to comment.