Skip to content

Commit

Permalink
🩹 update: import/orderに則って修正
Browse files Browse the repository at this point in the history
  • Loading branch information
XeicuLy committed Dec 7, 2024
1 parent 2645f43 commit 412fd3c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions settings/rules/dist/helpers/astHelpers.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { addToList } from '../utils/arrayUtils.js';
import { COMPOSABLES_FUNCTION_PATTERN, REACTIVE_FUNCTIONS } from '../constants/constant.js';
import { TSESTree } from '@typescript-eslint/utils';
import { COMPOSABLES_FUNCTION_PATTERN, REACTIVE_FUNCTIONS } from '../constants/constant.js';
import { addToList } from '../utils/arrayUtils.js';
const { AST_NODE_TYPES } = TSESTree;
function isNodeOfType(node, type) {
return node !== undefined && node !== null && node.type === type;
Expand Down
4 changes: 2 additions & 2 deletions settings/rules/src/helpers/astHelpers.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { addToList } from '../utils/arrayUtils.js';
import { COMPOSABLES_FUNCTION_PATTERN, REACTIVE_FUNCTIONS } from '../constants/constant.js';
import { TSESTree } from '@typescript-eslint/utils';
import { COMPOSABLES_FUNCTION_PATTERN, REACTIVE_FUNCTIONS } from '../constants/constant.js';
import { addToList } from '../utils/arrayUtils.js';
import type {
Node,
ArrowFunctionExpression,
Expand Down
2 changes: 1 addition & 1 deletion settings/rules/src/store-state-suffix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import { readFileSync } from 'fs';
import { resolve } from 'path';
import type { TSESLint } from '@typescript-eslint/utils';
import {
isStoreToRefsCall,
hasStateNameWithoutStateSuffix,
Expand All @@ -14,6 +13,7 @@ import {
isObjectPattern,
} from './helpers/astHelpers.js';
import type { VariableDeclarator, Property, Node } from './types/eslint.js';
import type { TSESLint } from '@typescript-eslint/utils';

type MessageId = 'requireStateSuffix';
type RuleModule = TSESLint.RuleModule<MessageId>;
Expand Down

0 comments on commit 412fd3c

Please sign in to comment.