refac: linter 관련 설정 변경 및 적용, map_theme 변수 제거

- eslint에 prettier 조합
- prettierrc에 width 120, tabWidth 2
- gameStor->map_theme 제거
- map_theme, mapTheme를 GameConst::$mapName으로 대체
- eslint에서 vue/vue3-essential 대신 vue3-recommended 적용
  - vue/max-attributes-per-line 완화
  - vue/v-on-event-hyphenation 해제
  - vue/attribute-hyphenation 해제
- 일부 tsc import type warning 해결
- 일부 vue template type warning 해결
- 일부 vue SFC를 script setup으로 변경
  - TipTap
  - TopBackBar
  - BottomBackBar
  - BoardArticle
  - ProcessCity
This commit is contained in:
2022-03-29 02:06:47 +09:00
parent e569ffe8f4
commit 4f4533e533
79 changed files with 4541 additions and 3020 deletions
+4
View File
@@ -69,7 +69,9 @@
"downloadjs": "^1.4.7",
"esbuild-loader": "^2.18.0",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.5.0",
"file-loader": "^6.2.0",
"jquery": "^3.6.0",
@@ -83,6 +85,8 @@
"postcss-import": "^14.0.2",
"postcss-loader": "^6.2.1",
"pre-commit": "^1.2.2",
"prettier": "^2.6.1",
"prettier-eslint": "^8.2.2",
"query-string": "^7.1.1",
"sass": "^1.49.9",
"sass-loader": "^12.6.0",