Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc Vite and Vue Changes #548

Merged
merged 23 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
1917148
Remove unused file.
oakdbca Dec 31, 2024
3be8b7e
Re-enable eslint vue plugin.
oakdbca Dec 31, 2024
69360cb
Remove unused datatable component.
oakdbca Dec 31, 2024
f38d094
Remove duplicate attribute.
oakdbca Dec 31, 2024
eccdd8a
Remove unused component.
oakdbca Dec 31, 2024
3a0aeaa
Add key to v-for.
oakdbca Dec 31, 2024
8756b20
Fix mutation of props issue.
oakdbca Dec 31, 2024
e8ec360
Fix customColor prop.
oakdbca Dec 31, 2024
fca6f8d
Fix linting errors.
oakdbca Dec 31, 2024
c85bf8e
Remove unused components.
oakdbca Dec 31, 2024
a0954a4
Resolve all essential vue linting issues (except vue/no-mutating-props).
oakdbca Dec 31, 2024
efb0f73
Turn off errors/warnings to vue/no-mutating-props.
oakdbca Dec 31, 2024
b4a3a20
Remove unused alias.
oakdbca Jan 2, 2025
33526f3
Make sure the dev_mode setting for django-vite is updated according t…
oakdbca Jan 2, 2025
ca8a7dd
Remove unused dependency: @rollup/plugin-inject
oakdbca Jan 2, 2025
4c85c5d
Make sure the dev_mode setting for django-vite is updated according t…
oakdbca Jan 3, 2025
d3af14d
Further changes to make sure non dev serving of vite application work…
oakdbca Jan 3, 2025
f367ca5
Reduce duplication of application name in config.
oakdbca Jan 3, 2025
466ceba
Remove more unused dependencies.
oakdbca Jan 3, 2025
f535cca
npm update.
oakdbca Jan 3, 2025
0640476
Fix incorrect STATIC_URL_PREFIX for dev environment.
oakdbca Jan 3, 2025
e398c48
Update vite version.
oakdbca Jan 3, 2025
775c66e
Remove pinned esbuild as vite has been updated and now works as expec…
oakdbca Jan 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions boranga/frontend/boranga/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import globals from 'globals';
import jsLint from '@eslint/js';
// import pluginVue from 'eslint-plugin-vue';
import pluginVue from 'eslint-plugin-vue';
import vueEslintParser from 'vue-eslint-parser';
import pluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import eslintConfigPrettier from 'eslint-config-prettier';
Expand All @@ -20,7 +20,7 @@ const projectGlobals = {
export default [
jsLint.configs.recommended,
pluginPrettierRecommended,
// ...pluginVue.configs['flat/essential'],
...pluginVue.configs['flat/essential'],
eslintConfigPrettier,
{
ignores: ['.venv/', '.env/', '.env', 'node_modules/'],
Expand All @@ -37,7 +37,7 @@ export default [
{
files: ['src/**/*.vue'],
plugins: {
// vue: pluginVue,
vue: pluginVue,
},
languageOptions: {
sourceType: 'module',
Expand All @@ -53,6 +53,7 @@ export default [
'prettier/prettier': 'error',
'no-redeclare': 'warn',
'no-unused-vars': 'warn',
'vue/no-mutating-props': 'off',
},
},
];
Loading
Loading