eslint-config/packages/eslint-plugin-antfu/src/index.ts

16 lines
514 B
TypeScript
Raw Normal View History

2022-11-01 03:34:15 +08:00
import genericSpacing from './rules/generic-spacing'
2022-04-02 23:51:24 +08:00
import ifNewline from './rules/if-newline'
import importDedupe from './rules/import-dedupe'
2022-04-07 05:53:45 +08:00
import preferInlineTypeImport from './rules/prefer-inline-type-import'
import topLevelFunction from './rules/top-level-function'
2022-04-02 23:18:36 +08:00
export default {
rules: {
2022-04-02 23:51:24 +08:00
'if-newline': ifNewline,
'import-dedupe': importDedupe,
2022-04-07 05:53:45 +08:00
'prefer-inline-type-import': preferInlineTypeImport,
2022-11-01 03:34:15 +08:00
'generic-spacing': genericSpacing,
'top-level-function': topLevelFunction,
2022-04-02 23:18:36 +08:00
},
}