Skip to content

Commit

Permalink
Update webpack, components for eslint. Adjust effected settings and c…
Browse files Browse the repository at this point in the history
…ode.
  • Loading branch information
NI committed Jul 9, 2021
1 parent 52b33cc commit d66053a
Show file tree
Hide file tree
Showing 15 changed files with 412 additions and 704 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
parserOptions: {
parser: "babel-eslint",
parser: "@babel/eslint-parser",
},
root: true,
env: {
Expand All @@ -14,8 +14,9 @@ module.exports = {
],
rules: {
"vue/component-name-in-template-casing": ["error", "PascalCase"],
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"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",
},
globals: {
$nuxt: true,
Expand Down

0 comments on commit d66053a

Please sign in to comment.