Skip to content

Commit 8d6bff8

Browse files
chore(deps): update dependency @typescript-eslint/parser to v8 (#184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Yosuke Ota <[email protected]>
1 parent 41166b9 commit 8d6bff8

File tree

66 files changed

+507
-66
lines changed

Some content is hidden

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

66 files changed

+507
-66
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@ jobs:
4141
- eslint: 8
4242
node: 19
4343
os: ubuntu-latest
44+
tseslint: 7
4445
- eslint: 9
4546
node: 18
4647
os: ubuntu-latest
4748
- eslint: 8
4849
node: 16
4950
os: ubuntu-latest
51+
tseslint: 7
5052
- eslint: 8
5153
node: 17
5254
os: ubuntu-latest
@@ -84,7 +86,7 @@ jobs:
8486
run: |+
8587
npm install -D @typescript-eslint/parser@${{ matrix.tseslint }}
8688
npx rimraf node_modules
87-
if: matrix.tseslint == 5
89+
if: matrix.tseslint == 5 || matrix.tseslint == 7
8890
- name: Install Packages
8991
run: npm install
9092
- name: Test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"eslint-compat-utils": "^0.5.1"
1919
},
2020
"devDependencies": {
21-
"@typescript-eslint/parser": "^7.0.2",
21+
"@typescript-eslint/parser": "^8.0.0",
2222
"env-cmd": "^10.1.0",
2323
"eslint": "^9.1.0",
2424
"eslint-plugin-eslint-comments": "^3.2.0",

tests/lib/rules/no-array-prototype-at.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,14 @@ const project = "tsconfig.json"
5050
const filename = path.join(tsconfigRootDir, "test.ts")
5151

5252
new RuleTester({
53-
languageOptions: { parser, parserOptions: { tsconfigRootDir, project } },
53+
languageOptions: {
54+
parser,
55+
parserOptions: {
56+
tsconfigRootDir,
57+
project,
58+
disallowAutomaticSingleRunInference: true,
59+
},
60+
},
5461
}).run(`${ruleId} TS Full Type Information`, rule, {
5562
valid: [
5663
{ filename, code: "at(-1)" },

tests/lib/rules/no-array-prototype-copywithin.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,14 @@ const project = "tsconfig.json"
5353
const filename = path.join(tsconfigRootDir, "test.ts")
5454

5555
new RuleTester({
56-
languageOptions: { parser, parserOptions: { tsconfigRootDir, project } },
56+
languageOptions: {
57+
parser,
58+
parserOptions: {
59+
tsconfigRootDir,
60+
project,
61+
disallowAutomaticSingleRunInference: true,
62+
},
63+
},
5764
}).run(`${ruleId} TS Full Type Information`, rule, {
5865
valid: [
5966
{ filename, code: "copyWithin(0, 1, 2)" },

tests/lib/rules/no-array-prototype-entries.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,14 @@ const project = "tsconfig.json"
4646
const filename = path.join(tsconfigRootDir, "test.ts")
4747

4848
new RuleTester({
49-
languageOptions: { parser, parserOptions: { tsconfigRootDir, project } },
49+
languageOptions: {
50+
parser,
51+
parserOptions: {
52+
tsconfigRootDir,
53+
project,
54+
disallowAutomaticSingleRunInference: true,
55+
},
56+
},
5057
}).run(`${ruleId} TS Full Type Information`, rule, {
5158
valid: [
5259
{ filename, code: "entries()" },

tests/lib/rules/no-array-prototype-every.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,14 @@ const project = "tsconfig.json"
4646
const filename = path.join(tsconfigRootDir, "test.ts")
4747

4848
new RuleTester({
49-
languageOptions: { parser, parserOptions: { tsconfigRootDir, project } },
49+
languageOptions: {
50+
parser,
51+
parserOptions: {
52+
tsconfigRootDir,
53+
project,
54+
disallowAutomaticSingleRunInference: true,
55+
},
56+
},
5057
}).run(`${ruleId} TS Full Type Information`, rule, {
5158
valid: [
5259
{ filename, code: "every(() => {})" },

tests/lib/rules/no-array-prototype-fill.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,14 @@ const project = "tsconfig.json"
4646
const filename = path.join(tsconfigRootDir, "test.ts")
4747

4848
new RuleTester({
49-
languageOptions: { parser, parserOptions: { tsconfigRootDir, project } },
49+
languageOptions: {
50+
parser,
51+
parserOptions: {
52+
tsconfigRootDir,
53+
project,
54+
disallowAutomaticSingleRunInference: true,
55+
},
56+
},
5057
}).run(`${ruleId} TS Full Type Information`, rule, {
5158
valid: [
5259
{ filename, code: "fill(0)" },

tests/lib/rules/no-array-prototype-filter.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@ const project = "tsconfig.json"
4949
const filename = path.join(tsconfigRootDir, "test.ts")
5050

5151
new RuleTester({
52-
languageOptions: { parser, parserOptions: { tsconfigRootDir, project } },
52+
languageOptions: {
53+
parser,
54+
parserOptions: {
55+
tsconfigRootDir,
56+
project,
57+
disallowAutomaticSingleRunInference: true,
58+
},
59+
},
5360
}).run(`${ruleId} TS Full Type Information`, rule, {
5461
valid: [
5562
{ filename, code: "filter(() => {})" },

tests/lib/rules/no-array-prototype-find.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,14 @@ const project = "tsconfig.json"
4646
const filename = path.join(tsconfigRootDir, "test.ts")
4747

4848
new RuleTester({
49-
languageOptions: { parser, parserOptions: { tsconfigRootDir, project } },
49+
languageOptions: {
50+
parser,
51+
parserOptions: {
52+
tsconfigRootDir,
53+
project,
54+
disallowAutomaticSingleRunInference: true,
55+
},
56+
},
5057
}).run(`${ruleId} TS Full Type Information`, rule, {
5158
valid: [
5259
{ filename, code: "find(() => {})" },

tests/lib/rules/no-array-prototype-findindex.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@ const project = "tsconfig.json"
4949
const filename = path.join(tsconfigRootDir, "test.ts")
5050

5151
new RuleTester({
52-
languageOptions: { parser, parserOptions: { tsconfigRootDir, project } },
52+
languageOptions: {
53+
parser,
54+
parserOptions: {
55+
tsconfigRootDir,
56+
project,
57+
disallowAutomaticSingleRunInference: true,
58+
},
59+
},
5360
}).run(`${ruleId} TS Full Type Information`, rule, {
5461
valid: [
5562
{ filename, code: "findIndex(() => {})" },

0 commit comments

Comments
 (0)