ljosberinn/eslint-config-galex

View on GitHub
src/plugins/import-sort.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { type RulesetCreator } from '../types';

export const createSimpleImportSortRules: RulesetCreator = ({
  rules: customRules,
}) => {
  return {
    'simple-import-sort/imports': 'warn',
    'simple-import-sort/exports': 'warn',
    ...customRules,
  };
};