Skip to content

Commit

Permalink
Treat no-unused-vars as warning instead of error
Browse files Browse the repository at this point in the history
  • Loading branch information
NI committed Jul 10, 2021
1 parent d66053a commit a9f7457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
"vue/component-name-in-template-casing": ["error", "PascalCase"],
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
"no-unused-vars": process.env.NODE_ENV === "production" ? "warn" : "error",
"no-unused-vars": process.env.NODE_ENV === "production" ? "off" : "warn",
},
globals: {
$nuxt: true,
Expand Down

0 comments on commit a9f7457

Please sign in to comment.