Skip to content

Commit

Permalink
whattheduck: Fix eslint, apply it, bump TS
Browse files Browse the repository at this point in the history
  • Loading branch information
bperel committed Jun 24, 2024
1 parent cfea169 commit 3195394
Show file tree
Hide file tree
Showing 20 changed files with 202 additions and 68 deletions.
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@
"apps/edgecreator/locales"
],
"eslint.format.enable": true,
"editor.formatOnSave": true
"editor.formatOnSave": true,
"typescript.tsserver.experimental.enableProjectDiagnostics": true

}
1 change: 1 addition & 0 deletions apps/edges/docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
restart: always
ports:
- 8080:80
working_dir: /usr/share/nginx/html
volumes:
- "./edges:/usr/share/nginx/html/edges"
- "./nginx.conf:/etc/nginx/conf.d/default.conf"
Expand Down
1 change: 1 addition & 0 deletions apps/edges/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
image: "nginx"
container_name: edges
restart: always
working_dir: /usr/share/nginx/html
volumes:
- "./edges:/usr/share/nginx/html/edges"
- "./nginx.conf:/etc/nginx/conf.d/default.conf"
Expand Down
12 changes: 7 additions & 5 deletions apps/whattheduck/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
{
"root": true,
"env": {
"browser": true
}, "extends": [
"plugin:import/typescript",
"./.eslintrc-auto-import.json",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier-vue/recommended",
"plugin:@typescript-eslint/stylistic",
"plugin:i18next/recommended",
"./.eslintrc-auto-import.json"
"plugin:import/typescript",
"plugin:prettier-vue/recommended",
"prettier"
],

"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"extraFileExtensions": [".vue"],
"project": "./tsconfig.json"
"project": true
},
"overrides": [
{
Expand Down
2 changes: 1 addition & 1 deletion apps/whattheduck/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"prettier": "^3.3.2",
"tslib": "^2.6.3",
"typescript": "^5.5.2",
"typescript-eslint": "^7.13.1",
"typescript-eslint": "^7.14.0",
"unplugin-auto-import": "^0.17.6",
"unplugin-vue-components": "^0.27.0",
"vite": "^5.3.1",
Expand Down
Loading

0 comments on commit 3195394

Please sign in to comment.