Skip to content

Commit 97448b9

Browse files
authored
test: cross test merged rules (partial) (#520)
1 parent 7c7301e commit 97448b9

94 files changed

Lines changed: 94 additions & 87 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎packages/eslint-plugin/rules/array-bracket-newline/array-bracket-newline._js_.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Jan Peer Stöcklmair <https://github.com/JPeer264>
44
*/
55

6-
import rule from './array-bracket-newline._js_'
6+
import rule from '.'
77
import { $, run } from '#test'
88

99
run({

‎packages/eslint-plugin/rules/array-bracket-spacing/array-bracket-spacing._js_.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Ian Christian Myers
44
*/
55

6-
import rule from './array-bracket-spacing._js_'
6+
import rule from '.'
77
import { languageOptionsForBabelFlow } from '#test/parsers-flow'
88
import { run } from '#test'
99

‎packages/eslint-plugin/rules/array-element-newline/array-element-newline._js_.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Jan Peer Stöcklmair <https://github.com/JPeer264>
44
*/
55

6-
import rule from './array-element-newline._js_'
6+
import rule from '.'
77
import { run } from '#test'
88

99
run({

‎packages/eslint-plugin/rules/arrow-parens/arrow-parens._js_.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Jxck
44
*/
55

6-
import rule from './arrow-parens._js_'
6+
import rule from '.'
77
import { languageOptionsForBabelFlow } from '#test/parsers-flow'
88
import type { InvalidTestCase, ValidTestCase } from '#test'
99
import { $, run } from '#test'

‎packages/eslint-plugin/rules/arrow-spacing/arrow-spacing._js_.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
//
66

7-
import rule from './arrow-spacing._js_'
7+
import rule from '.'
88
import { run } from '#test'
99

1010
const valid = [

‎packages/eslint-plugin/rules/block-spacing/block-spacing._js_.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Toru Nagashima
44
*/
55

6-
import rule from './block-spacing._js_'
6+
import rule from '.'
77
import { run } from '#test'
88

99
run({

‎packages/eslint-plugin/rules/block-spacing/block-spacing._ts_.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { AST_NODE_TYPES } from '@typescript-eslint/utils'
2-
import rule from './block-spacing._ts_'
2+
import rule from '.'
33
import type { InvalidTestCase, ValidTestCase } from '#test'
44
import { run } from '#test'
55

‎packages/eslint-plugin/rules/brace-style/brace-style._js_.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Ian Christian Myers
44
*/
55

6-
import rule from './brace-style._js_'
6+
import rule from '.'
77
import { $, run } from '#test'
88

99
run({

‎packages/eslint-plugin/rules/brace-style/brace-style._ts_.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// this rule tests the position of braces, which prettier will want to fix and break the tests
22
/* /plugin-test-formatting": ["error", { formatWithPrettier: false }] */
33

4-
import rule from './brace-style._ts_'
4+
import rule from '.'
55
import { $, run } from '#test'
66

77
run({

‎packages/eslint-plugin/rules/comma-dangle/comma-dangle._js_.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Ian Christian Myers
44
*/
55

6-
import rule from './comma-dangle._js_'
6+
import rule from '.'
77
import { languageOptionsForBabelFlow } from '#test/parsers-flow'
88
import { $, run } from '#test'
99

0 commit comments

Comments
 (0)