Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Commit

Permalink
Update babel/eslint-babel config
Browse files Browse the repository at this point in the history
  • Loading branch information
Allypost committed Jan 25, 2021
1 parent 82ae4de commit bce4232
Show file tree
Hide file tree
Showing 4 changed files with 319 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-private-methods"
]
}
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
node: true,
},
parserOptions: {
parser: "babel-eslint",
parser: "@babel/eslint-parser",
},
extends: [
"@nuxtjs",
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,16 @@
"vuex": "^3.3.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.12.1",
"@babel/eslint-plugin": "^7.12.1",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-private-methods": "^7.12.1",
"@nuxt/types": "^2.14.12",
"@nuxtjs/eslint-config": "^3.0.0",
"@nuxtjs/eslint-module": "^1.0.0",
"@nuxtjs/google-analytics": "^2.3.0",
"@nuxtjs/stylelint-module": "^3.2.2",
"@nuxtjs/vuetify": "^1.11.2",
"babel-eslint": "^10.0.1",
"cssesc": "^3.0.0",
"eslint": "^6.1.0",
"eslint-plugin-nuxt": ">=0.4.2",
Expand Down
Loading

0 comments on commit bce4232

Please sign in to comment.