Skip to content

Commit

Permalink
fix(webapp): eslint regression by #770
Browse files Browse the repository at this point in the history
Not all files are processed by `eslint`.
  • Loading branch information
Rotzbua committed Jul 22, 2023
1 parent 4644d36 commit d603d60
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion www/webapp/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ module.exports = {
env: {
browser: true,
node: true, // Can be removed after migration to vite.
es2022: true,
es2024: true,
},
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
extends: [
'plugin:vue/essential',
Expand Down
4 changes: 2 additions & 2 deletions www/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "eslint --ignore-path .gitignore --no-fix src/",
"lint:fix": "eslint --ignore-path .gitignore --fix src/"
"lint": "eslint --ignore-path .gitignore --no-fix src/**/*.{vue,js,json}",
"lint:fix": "eslint --ignore-path .gitignore --fix src/**/*.{vue,js,json}"
},
"dependencies": {
"@fontsource/roboto": "^5.0.3",
Expand Down

0 comments on commit d603d60

Please sign in to comment.