Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
upgrade to eslint v9
  • Loading branch information
simonwep committed Oct 27, 2024
1 parent 9ef58d3 commit 275aea3
Show file tree
Hide file tree
Showing 95 changed files with 1,308 additions and 1,265 deletions.
58 changes: 0 additions & 58 deletions .eslintrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ dist-ssr
# Misc
.env
.data
.eslintcache
51 changes: 0 additions & 51 deletions assets/manifest.json

This file was deleted.

43 changes: 43 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import js from '@eslint/js';
import vueI18n from '@intlify/eslint-plugin-vue-i18n';
import vuePrettier from '@vue/eslint-config-prettier';
import prettier from 'eslint-plugin-prettier/recommended';
import vue from 'eslint-plugin-vue';
import ts from 'typescript-eslint';
import importX from 'eslint-plugin-import-x';
import tsParser from '@typescript-eslint/parser';

export default [
prettier,
js.configs.recommended,
...ts.configs.recommended,
...vue.configs['flat/recommended'],
...vueI18n.configs['flat/recommended'],
vuePrettier,
importX.flatConfigs.recommended,
importX.flatConfigs.typescript,
{
files: ['**/*.{vue,ts,js,mjs}'],
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
parserOptions: {
extraFileExtensions: ['.vue'],
parser: tsParser
}
},
settings: {
'vue-i18n': {
localeDir: 'src/i18n/locales/*.json'
}
},
rules: {
'vue/multi-word-component-names': 'off',
'vue/require-default-prop': 'off',
'vue/no-v-html': 'off',
'import-x/no-unresolved': 'off',
'prettier/prettier': 'error',
'no-console': 'error'
}
}
];
49 changes: 25 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,45 +13,46 @@
"dev": "vite --host",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"lint": "eslint '{scripts,src}/**/*.{js,ts,vue}' --no-error-on-unmatched-pattern",
"lint": "eslint 'src/**/*.{js,ts,vue}' --cache",
"lint:fix": "pnpm run lint --fix",
"test:ci": "pnpm run lint:fix && pnpm run build",
"genesis": "docker run --pull always -p 8080:8080 -v \"$(pwd)/.data:/app/.data\" --env-file .env.genesis ghcr.io/simonwep/genesis:latest start"
},
"dependencies": {
"@popperjs/core": "2.11.8",
"@remixicon/vue": "4.2.0",
"@remixicon/vue": "4.4.0",
"echarts": "5.5.1",
"papaparse": "5.4.1",
"vue": "3.4.31",
"vue-i18n": "9.13.1",
"vue-router": "4.4.0",
"vue": "3.5.12",
"vue-i18n": "10.0.4",
"vue-router": "4.4.5",
"yuppee": "0.3.0"
},
"devDependencies": {
"@eslint/js": "9.13.0",
"@intlify/eslint-plugin-vue-i18n": "^3.0.0",
"@types/ackee-tracker": "5.0.4",
"@types/node": "20.14.10",
"@types/papaparse": "5.3.14",
"@typescript-eslint/eslint-plugin": "7.15.0",
"@typescript-eslint/parser": "7.15.0",
"@vitejs/plugin-vue": "5.0.5",
"@vue/eslint-config-prettier": "9.0.0",
"@vue/eslint-config-typescript": "13.0.0",
"eslint": "8.57.0",
"@types/node": "22.8.1",
"@types/papaparse": "5.3.15",
"@typescript-eslint/parser": "8.11.0",
"@vitejs/plugin-vue": "5.1.4",
"@vue/eslint-config-prettier": "10.1.0",
"@vue/eslint-config-typescript": "14.1.3",
"eslint": "9.13.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-vue": "9.27.0",
"prettier": "3.3.2",
"sass": "1.77.6",
"typescript": "5.5.3",
"vite": "5.3.3",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-import-x": "4.3.1",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-vue": "9.29.1",
"prettier": "3.3.3",
"sass": "1.79.6",
"typescript": "5.6.3",
"typescript-eslint": "8.11.0",
"vite": "5.4.10",
"vite-plugin-optimize-css-modules": "1.1.0",
"vite-plugin-pwa": "0.20.0",
"vite-tsconfig-paths": "4.3.2",
"vue-tsc": "2.0.26",
"vite-plugin-pwa": "0.20.5",
"vite-tsconfig-paths": "5.0.1",
"vue-tsc": "2.1.8",
"workbox-build": "7.1.1",
"workbox-window": "7.1.0"
}
Expand Down
Loading

0 comments on commit 275aea3

Please sign in to comment.