Skip to content

Commit

Permalink
[#2151] Update Typescript-related Major Dependencies (#2166)
Browse files Browse the repository at this point in the history
Update Typescript-related Major Dependencies

Many of our TypeScript-related dependencies are outdated.

Let's update them.
  • Loading branch information
sopa301 authored Apr 27, 2024
1 parent 553f3f2 commit bf78bf2
Show file tree
Hide file tree
Showing 12 changed files with 645 additions and 231 deletions.
29 changes: 16 additions & 13 deletions frontend/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"airbnb-base",
"plugin:vue/recommended",
"@vue/typescript",
"plugin:import/typescript"
"plugin:import/typescript",
"plugin:@stylistic/disable-legacy"
],
"plugins": [
"@stylistic"
],
"rules": {
"vue/component-definition-name-casing": [
Expand All @@ -15,11 +19,11 @@
],
"vue/require-prop-types": 0,
"no-param-reassign": 0,
"arrow-parens": [
"@stylistic/arrow-parens": [
"error",
"always"
],
"indent": [
"@stylistic/indent": [
"error",
2,
{
Expand All @@ -34,15 +38,15 @@
"as-needed"
],
"no-alert": 0,
"linebreak-style": 0,
"max-len": [
"@stylistic/linebreak-style": 0,
"@stylistic/max-len": [
"error",
{
"code": 120
}
],
"prefer-object-spread": 0,
"function-call-argument-newline": 0,
"@stylistic/function-call-argument-newline": 0,
"vue/no-computed-properties-in-data": 0,
"import/extensions": [
"error",
Expand All @@ -60,25 +64,24 @@
"files": ["*.ts"],
"extends": [
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended"
"plugin:@typescript-eslint/recommended",
"plugin:@stylistic/disable-legacy"
],
"parserOptions": {
"project": ["./tsconfig.json"]
},
"rules": {
"indent": "off",
"@typescript-eslint/indent": [
"@stylistic/indent": [
"error",
2,
{
"ignoredNodes": [
"ConditionalExpression"
],
"SwitchCase": 0
]
}
],
"@typescript-eslint/member-delimiter-style": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"@stylistic/member-delimiter-style": "error",
"@stylistic/type-annotation-spacing": "error",
"@typescript-eslint/array-type": [
"error",
{
Expand Down
Loading

0 comments on commit bf78bf2

Please sign in to comment.