Add config for eslint

This commit is contained in:
Julie Lenaerts 2024-10-31 19:11:16 +01:00
parent 27ecae4486
commit 273f91fd00
2 changed files with 20 additions and 14 deletions

View File

@ -1,11 +1,16 @@
import pluginVue from 'eslint-plugin-vue'
export default [
...pluginVue.configs['flat/strongly-recommended'],
{
rules: {
// override/add rules settings here, such as:
// 'vue/no-unused-vars': 'error'
...pluginVue.configs['flat/essential'],
/* {
languageOptions: {
parser: '@typescript-eslint/parser',
},
},*/
{
rules: {
// override/add rules settings here, such as:
'vue/multi-word-component': 'off'
}
}
}
]

View File

@ -7,23 +7,26 @@
"@babel/core": "^7.20.5",
"@babel/preset-env": "^7.20.2",
"@ckeditor/ckeditor5-build-classic": "^41.4.2",
"@ckeditor/ckeditor5-dev-translations": "^40.2.0",
"@ckeditor/ckeditor5-dev-utils": "^40.2.0",
"@ckeditor/ckeditor5-dev-webpack-plugin": "^31.1.13",
"@ckeditor/ckeditor5-dev-translations": "^40.2.0",
"@ckeditor/ckeditor5-markdown-gfm": "^41.4.2",
"@ckeditor/ckeditor5-theme-lark": "^41.4.2",
"@ckeditor/ckeditor5-vue": "^5.1.0",
"@symfony/webpack-encore": "^4.1.0",
"@tsconfig/node14": "^1.0.1",
"@types/dompurify": "^3.0.5",
"@typescript-eslint/parser": "^8.12.2",
"bindings": "^1.5.0",
"bootstrap": "5.2.3",
"chokidar": "^3.5.1",
"dompurify": "^3.1.0",
"eslint": "^9.13.0",
"eslint-plugin-vue": "^9.30.0",
"fork-awesome": "^1.1.7",
"jquery": "^3.6.0",
"node-sass": "^8.0.0",
"marked": "^12.0.1",
"node-sass": "^8.0.0",
"popper.js": "^1.16.1",
"postcss-loader": "^7.0.2",
"raw-loader": "^4.0.2",
@ -35,9 +38,7 @@
"typescript": "^5.4.5",
"vue-loader": "^17.0.0",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1",
"eslint": "^9.13.0",
"eslint-plugin-vue": "^9.30.0"
"webpack-cli": "^5.0.1"
},
"dependencies": {
"@fullcalendar/core": "^6.1.4",
@ -47,8 +48,9 @@
"@fullcalendar/timegrid": "^6.1.4",
"@fullcalendar/vue3": "^6.1.4",
"@popperjs/core": "^2.9.2",
"@types/leaflet": "^1.9.3",
"@types/dompurify": "^3.0.5",
"@types/leaflet": "^1.9.3",
"bootstrap-icons": "^1.11.3",
"dropzone": "^5.7.6",
"es6-promise": "^4.2.8",
"leaflet": "^1.7.1",
@ -61,8 +63,7 @@
"vue-i18n": "^9.1.6",
"vue-multiselect": "3.0.0-alpha.2",
"vue-toast-notification": "^3.1.2",
"vuex": "^4.0.0",
"bootstrap-icons": "^1.11.3"
"vuex": "^4.0.0"
},
"browserslist": [
"Firefox ESR"