Skip to content

Commit

Permalink
chore: updating eslint configuration (nuxt#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
r9mp authored Nov 18, 2021
1 parent 803b024 commit f2894bc
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"env": {
"browser": true,
"node": true
},
"extends": [
"@nuxtjs/eslint-config-typescript"
"@nuxtjs/eslint-config-typescript",
"plugin:nuxt/recommended"
],
"rules": {
"no-console": "off",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@vue/runtime-dom": "^3.2.22",
"defu": "^5.0.0",
"eslint": "^8.2.0",
"eslint-plugin-nuxt": "^2.0.0",
"globby": "^12.0.2",
"hasha": "^5.2.2",
"jiti": "^1.12.9",
Expand Down
13 changes: 11 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5277,6 +5277,15 @@ eslint-plugin-node@^11.1.0:
resolve "^1.10.1"
semver "^6.1.0"

eslint-plugin-nuxt@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-nuxt/-/eslint-plugin-nuxt-2.0.0.tgz#62dce8b2f6aa205a93a328d22ce04c39f7ee79d7"
integrity sha512-0VaG4SlKeGwMKSmOug/gNjliKoDNM/XfgiPhJ4v6FnjYrM3zSwTQVMH6vPjI8Gs722NjgwOZTucvmYbHzYEp5A==
dependencies:
eslint-plugin-vue "^7.1.0"
semver "^7.3.2"
vue-eslint-parser "^7.1.1"

eslint-plugin-promise@^5.1.1:
version "5.1.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-5.1.1.tgz#9674d11c056d1bafac38e4a3a9060be740988d90"
Expand Down Expand Up @@ -5308,7 +5317,7 @@ eslint-plugin-unicorn@^37.0.1:
semver "^7.3.5"
strip-indent "^3.0.0"

eslint-plugin-vue@^7.20.0:
eslint-plugin-vue@^7.1.0, eslint-plugin-vue@^7.20.0:
version "7.20.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-7.20.0.tgz#98c21885a6bfdf0713c3a92957a5afeaaeed9253"
integrity sha512-oVNDqzBC9h3GO+NTgWeLMhhGigy6/bQaQbHS+0z7C4YEu/qK/yxHvca/2PTZtGNPsCrHwOTgKMrwu02A9iPBmw==
Expand Down Expand Up @@ -11841,7 +11850,7 @@ vue-demi@*:
resolved "https://registry.yarnpkg.com/vue-demi/-/vue-demi-0.12.1.tgz#f7e18efbecffd11ab069d1472d7a06e319b4174c"
integrity sha512-QL3ny+wX8c6Xm1/EZylbgzdoDolye+VpCXRhI2hug9dJTP3OUJ3lmiKN3CsVV3mOJKwFi0nsstbgob0vG7aoIw==

vue-eslint-parser@^7.10.0:
vue-eslint-parser@^7.1.1, vue-eslint-parser@^7.10.0:
version "7.11.0"
resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-7.11.0.tgz#214b5dea961007fcffb2ee65b8912307628d0daf"
integrity sha512-qh3VhDLeh773wjgNTl7ss0VejY9bMMa0GoDG2fQVyDzRFdiU3L7fw74tWZDHNQXdZqxO3EveQroa9ct39D2nqg==
Expand Down

0 comments on commit f2894bc

Please sign in to comment.