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 cb03e38 commit a1a2180
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/eslint/configs/perfectionist.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { interopDefault } from '../utils.js'
import type { ConfigItem } from '../types.js'
import perfectionistPlugin from 'eslint-plugin-perfectionist'

export async function perfectionist(): Promise<ConfigItem[]> {
const pluginPerfectionist = await interopDefault(import('eslint-plugin-perfectionist'))

return [
{
name: 'verful:perfectionist',
plugins: {
perfectionist: pluginPerfectionist,
// @ts-expect-error
perfectionist: perfectionistPlugin,
},
rules: {
'perfectionist/sort-imports': [
Expand Down

0 comments on commit a1a2180

Please sign in to comment.