File tree Expand file tree Collapse file tree 7 files changed +13
-13
lines changed
packages/eslint-plugin-query/src Expand file tree Collapse file tree 7 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1- import { configs } from './index '
1+ import { configs } from '../configs '
22
33describe ( 'configs' , ( ) => {
44 it ( 'should match snapshot' , ( ) => {
Original file line number Diff line number Diff line change 11import { ESLintUtils } from '@typescript-eslint/utils'
2- import { normalizeIndent } from '../../ utils/test-utils'
3- import { rule } from './exhaustive-deps.rule'
2+ import { normalizeIndent } from '../utils/test-utils'
3+ import { rule } from '../rules /exhaustive-deps.rule'
44
55const ruleTester = new ESLintUtils . RuleTester ( {
66 parser : '@typescript-eslint/parser' ,
Original file line number Diff line number Diff line change 1- import { rules } from '.. /rules'
1+ import { rules } from './rules'
22import type { TSESLint } from '@typescript-eslint/utils'
33
44function generateRecommendedConfig (
Original file line number Diff line number Diff line change 1+ import * as exhaustiveDeps from './rules/exhaustive-deps.rule'
2+
3+ export const rules = {
4+ [ exhaustiveDeps . name ] : exhaustiveDeps . rule ,
5+ }
Original file line number Diff line number Diff line change 11import { AST_NODE_TYPES } from '@typescript-eslint/utils'
2- import { ASTUtils } from '../../ utils/ast-utils'
3- import { createRule } from '../../ utils/create-rule'
4- import { uniqueBy } from '../../ utils/unique-by'
2+ import { ASTUtils } from '../utils/ast-utils'
3+ import { createRule } from '../utils/create-rule'
4+ import { uniqueBy } from '../utils/unique-by'
55import { ExhaustiveDepsUtils } from './exhaustive-deps.utils'
66import type { TSESLint } from '@typescript-eslint/utils'
77
Original file line number Diff line number Diff line change 11import { AST_NODE_TYPES } from '@typescript-eslint/utils'
2- import { ASTUtils } from '../../ utils/ast-utils'
2+ import { ASTUtils } from '../utils/ast-utils'
33import type { TSESLint } from '@typescript-eslint/utils'
44
55export const ExhaustiveDepsUtils = {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments