Skip to content

Commit

Permalink
Apply eslint
Browse files Browse the repository at this point in the history
+ one attribute per line
+ removed unecessary props from return
+ attribute ordering
  • Loading branch information
Severino committed Oct 17, 2023
1 parent 5c6a31e commit 4965137
Show file tree
Hide file tree
Showing 137 changed files with 11,594 additions and 6,440 deletions.
30 changes: 30 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"extends": "plugin:vue/vue3-recommended",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": "latest"
},
"env": {
"browser": true,
"es6": true,
"node": true
},
"rules": {
"vue/multi-word-component-names": "off",
"vue/html-indent": [
"warn",
4
],
"no-console": "off",
"no-unused-vars": "off",
"no-extra-boolean-cast": "off",
"no-extra-semi": "warn",
"quotes": [
"warn",
"single",
{
"allowTemplateLiterals": true
}
]
}
}
5,513 changes: 3,723 additions & 1,790 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"development": "npx mix",
"watch": "npx mix watch",
"prod": "npm run production",
"production": "npx mix -p"
"production": "npx mix -p",
"lint": "npx eslint --ext .js,.vue resources/js",
"lint:fix": "npx eslint --ext .js,.vue resources/js --fix"
},
"devDependencies": {
"@fortawesome/fontawesome-svg-core": "^6.4.0",
Expand All @@ -31,6 +33,10 @@
"@vue/compiler-sfc": "^3.3.4",
"@websanova/vue-auth": "^4.2.1",
"axios": "^1.4.0",
"browser-sync": "^2.29.3",
"browser-sync-webpack-plugin": "^2.3.0",
"eslint": "^8.51.0",
"eslint-plugin-vue": "^9.17.0",
"laravel-mix": "^6.0.49",
"postcss": "^8.4.22",
"resolve-url-loader": "^5.0.0",
Expand Down
821 changes: 513 additions & 308 deletions resources/js/App.vue

Large diffs are not rendered by default.

Loading

0 comments on commit 4965137

Please sign in to comment.