Skip to content

Commit

Permalink
ESLint file has been added to project with recommended eslint rules a…
Browse files Browse the repository at this point in the history
…nd custom rules
  • Loading branch information
ahmedy00 committed Oct 10, 2023
1 parent 4ea4b1e commit e2d9f43
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions frontend/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
extends: ["eslint:recommended", "plugin:vue/vue3-recommended"],
rules: {
"vue/component-tags-order": [
"error",
{
order: ["template", "script", "style"],
},
],
"vue/multi-word-component-names": "off",
"vue/no-empty-component-block": "error",
},
};
2 changes: 2 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"@types/node": "^18.11.18",
"@vueuse/core": "^9.12.0",
"@vueuse/nuxt": "^9.12.0",
"eslint": "^8.51.0",
"eslint-plugin-vue": "^9.17.0",
"nuxt": "npm:nuxt3@latest",
"nuxt-icon": "^0.2.6",
"typescript": "^5.1.3",
Expand Down

0 comments on commit e2d9f43

Please sign in to comment.