Skip to content

Commit

Permalink
refactor: organize import order on transformation rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Erick2280 committed Sep 19, 2024
1 parent a9eef36 commit e53b8b5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { buildRemoveModifierGFT } from '../builders/get-fault-transformation-builders.js';
import { buildModifierOnAnyViewGTN } from '../builders/get-transformable-nodes-builders.js';
import { buildModifierOnAnyViewQuery } from '../builders/query-builders.js';
import { FaultTransformationRule } from '../fault-transformation-rule.js';
import { buildModifierOnAnyViewQuery } from '../builders/query-builders.js';
import { buildModifierOnAnyViewGTN } from '../builders/get-transformable-nodes-builders.js';
import { buildRemoveModifierGFT } from '../builders/get-fault-transformation-builders.js';

/**
* This rule matches to a SwiftUI view with the `.accessibilityElement(...)` modifier,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { buildRemoveModifierGFT } from '../builders/get-fault-transformation-builders.js';
import { buildModifierOnAnyViewGTN } from '../builders/get-transformable-nodes-builders.js';
import { buildModifierOnAnyViewQuery } from '../builders/query-builders.js';
import { FaultTransformationRule } from '../fault-transformation-rule.js';
import { buildModifierOnAnyViewQuery } from '../builders/query-builders.js';
import { buildModifierOnAnyViewGTN } from '../builders/get-transformable-nodes-builders.js';
import { buildRemoveModifierGFT } from '../builders/get-fault-transformation-builders.js';

/**
* This rule matches to a SwiftUI view element with a `.accessibilityLabel` modifier, which
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { SyntaxNode } from 'web-tree-sitter';
import { buildReplaceNodeContentWithCallbackResultGFT } from '../builders/get-fault-transformation-builders.js';
import { buildCallbackResultFromCaptureNameGTN } from '../builders/get-transformable-nodes-builders.js';
import { buildModifierOnAnyViewQuery } from '../builders/query-builders.js';
import { FaultTransformationRule } from '../fault-transformation-rule.js';
import { buildModifierOnAnyViewQuery } from '../builders/query-builders.js';
import { buildCallbackResultFromCaptureNameGTN } from '../builders/get-transformable-nodes-builders.js';
import { buildReplaceNodeContentWithCallbackResultGFT } from '../builders/get-fault-transformation-builders.js';
import {
getModifierArgumentsNodeFromModifierNameNode,
stripParentheses,
Expand Down

0 comments on commit e53b8b5

Please sign in to comment.