File tree 19 files changed +37
-37
lines changed
tests/fixtures/integrations
19 files changed +37
-37
lines changed Original file line number Diff line number Diff line change 77
77
"@types/mocha" : " ^10.0.10" ,
78
78
"@types/node" : " ^22.13.13" ,
79
79
"@types/semver" : " ^7.7.0" ,
80
- "@typescript-eslint/eslint-plugin" : " ^8.28.0" ,
81
- "@typescript-eslint/parser" : " ~8.29.0" ,
82
- "@typescript-eslint/types" : " ~8.29.0" ,
80
+ "@typescript-eslint/parser" : " ^8.29.0" ,
81
+ "@typescript-eslint/types" : " ^8.29.0" ,
83
82
"benchmark" : " ^2.1.4" ,
84
83
"c8" : " ^10.1.3" ,
85
84
"chai" : " ^5.2.0" ,
Original file line number Diff line number Diff line change
1
+ export default { } ;
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils.js" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src/index.js" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils.js" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src/index.js" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
Original file line number Diff line number Diff line change 1
1
import type { Linter } from "eslint" ;
2
2
import { generateParserOptions } from "../../../src/parser/test-utils" ;
3
- import { rules } from "@ typescript-eslint/eslint-plugin " ;
3
+ import { plugin } from "typescript-eslint" ;
4
4
import * as parser from "../../../../src" ;
5
5
import globals from "globals" ;
6
6
7
7
export function getConfig ( ) : Linter . Config {
8
8
return {
9
9
plugins : {
10
10
"@typescript-eslint" : {
11
- rules : rules as any ,
11
+ rules : plugin . rules as any ,
12
12
} ,
13
13
} ,
14
14
languageOptions : {
You can’t perform that action at this time.
0 commit comments