Skip to content

Commit

Permalink
unwanted packages removed. Updated recent updated and required dev mo…
Browse files Browse the repository at this point in the history
…dules
  • Loading branch information
titu committed Dec 25, 2022
1 parent d9f0f1d commit da48e20
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 14 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ module.exports = {
browser: true,
node: true
},
parser: 'vue-eslint-parser',
parserOptions: {
parser: 'babel-eslint'
parser: '@babel/eslint-parser',
sourceType: 'module'
},
extends: [
'@nuxtjs',
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,3 @@ yarn.lock
static

.env*

.vscode
26 changes: 26 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
// Theme
"workbench.colorTheme": "Dracula",

// config related to code formatting
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": false,
"vetur.validation.template": false,
"prettier.singleQuote": true,
"prettier.trailingComma": "none",
"[javascript]": {
"editor.formatOnSave": false,
"editor.defaultFormatter": null
},
"javascript.validate.enable": false, //disable all built-in syntax checking
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.tslint": true
// "source.organizeImports": true
},
"eslint.alwaysShowStatus": true,
"editor.tabSize": 2,
"editor.detectIndentation": false,
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"vetur.experimental.templateInterpolationService": false
}
20 changes: 9 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"start": "export NODE_OPTIONS=--openssl-legacy-provider && nuxt start",
"generate": "export NODE_OPTIONS=--openssl-legacy-provider && nuxt generate",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore . --fix",
"test": "jest",
"docker-build": "docker build -f devops/docker/node/Dockerfile -t indrz-frontend .",
"docker-run": "docker run -it -p 3000:3000 indrz-frontend"
},
Expand All @@ -31,15 +30,14 @@
"vue-qrcode-reader": "3.1.0"
},
"devDependencies": {
"@nuxtjs/eslint-config": "^1.0.1",
"@nuxtjs/eslint-module": "^1.0.0",
"@nuxtjs/vuetify": "^1.0.0",
"@vue/test-utils": "^1.0.0-beta.27",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.1.0",
"eslint": "6.1.0",
"eslint-plugin-nuxt": ">=0.4.2",
"jest": "29.3.1",
"vue-jest": "3.0.7"
"@babel/eslint-parser": "^7.19.1",
"@nuxtjs/eslint-config": "^12.0.0",
"@nuxtjs/eslint-module": "^3.1.0",
"@nuxtjs/vuetify": "^1.12.3",
"eslint": "^8.30.0",
"eslint-plugin-nuxt": "^4.0.0",
"eslint-plugin-vue": "^9.8.0",
"vue-eslint-parser": "^9.1.0",
"webpack": "^5.75.0"
}
}

0 comments on commit da48e20

Please sign in to comment.