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 '
2
2
3
3
describe ( 'configs' , ( ) => {
4
4
it ( 'should match snapshot' , ( ) => {
Original file line number Diff line number Diff line change 1
1
import { 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'
4
4
5
5
const ruleTester = new ESLintUtils . RuleTester ( {
6
6
parser : '@typescript-eslint/parser' ,
Original file line number Diff line number Diff line change 1
- import { rules } from '.. /rules'
1
+ import { rules } from './rules'
2
2
import type { TSESLint } from '@typescript-eslint/utils'
3
3
4
4
function 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 1
1
import { 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'
5
5
import { ExhaustiveDepsUtils } from './exhaustive-deps.utils'
6
6
import type { TSESLint } from '@typescript-eslint/utils'
7
7
Original file line number Diff line number Diff line change 1
1
import { AST_NODE_TYPES } from '@typescript-eslint/utils'
2
- import { ASTUtils } from '../../ utils/ast-utils'
2
+ import { ASTUtils } from '../utils/ast-utils'
3
3
import type { TSESLint } from '@typescript-eslint/utils'
4
4
5
5
export const ExhaustiveDepsUtils = {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments