Skip to content

Commit bf78bf2

Browse files
authored
[#2151] Update Typescript-related Major Dependencies (#2166)
Update Typescript-related Major Dependencies Many of our TypeScript-related dependencies are outdated. Let's update them.
1 parent 553f3f2 commit bf78bf2

12 files changed

Lines changed: 645 additions & 231 deletions

frontend/.eslintrc.json

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
"airbnb-base",
77
"plugin:vue/recommended",
88
"@vue/typescript",
9-
"plugin:import/typescript"
9+
"plugin:import/typescript",
10+
"plugin:@stylistic/disable-legacy"
11+
],
12+
"plugins": [
13+
"@stylistic"
1014
],
1115
"rules": {
1216
"vue/component-definition-name-casing": [
@@ -15,11 +19,11 @@
1519
],
1620
"vue/require-prop-types": 0,
1721
"no-param-reassign": 0,
18-
"arrow-parens": [
22+
"@stylistic/arrow-parens": [
1923
"error",
2024
"always"
2125
],
22-
"indent": [
26+
"@stylistic/indent": [
2327
"error",
2428
2,
2529
{
@@ -34,15 +38,15 @@
3438
"as-needed"
3539
],
3640
"no-alert": 0,
37-
"linebreak-style": 0,
38-
"max-len": [
41+
"@stylistic/linebreak-style": 0,
42+
"@stylistic/max-len": [
3943
"error",
4044
{
4145
"code": 120
4246
}
4347
],
4448
"prefer-object-spread": 0,
45-
"function-call-argument-newline": 0,
49+
"@stylistic/function-call-argument-newline": 0,
4650
"vue/no-computed-properties-in-data": 0,
4751
"import/extensions": [
4852
"error",
@@ -60,25 +64,24 @@
6064
"files": ["*.ts"],
6165
"extends": [
6266
"airbnb-typescript/base",
63-
"plugin:@typescript-eslint/recommended"
67+
"plugin:@typescript-eslint/recommended",
68+
"plugin:@stylistic/disable-legacy"
6469
],
6570
"parserOptions": {
6671
"project": ["./tsconfig.json"]
6772
},
6873
"rules": {
69-
"indent": "off",
70-
"@typescript-eslint/indent": [
74+
"@stylistic/indent": [
7175
"error",
7276
2,
7377
{
7478
"ignoredNodes": [
7579
"ConditionalExpression"
76-
],
77-
"SwitchCase": 0
80+
]
7881
}
7982
],
80-
"@typescript-eslint/member-delimiter-style": "error",
81-
"@typescript-eslint/type-annotation-spacing": "error",
83+
"@stylistic/member-delimiter-style": "error",
84+
"@stylistic/type-annotation-spacing": "error",
8285
"@typescript-eslint/array-type": [
8386
"error",
8487
{

0 commit comments

Comments
 (0)