This repository has been archived on 2024-09-12. You can view files and clone it, but cannot push or open issues or pull requests.
official-website/.eslintrc.js

15 lines
355 B
JavaScript
Raw Normal View History

2020-09-27 11:10:56 +08:00
module.exports = {
root: true,
env: {
node: true
},
extends: ["plugin:vue/essential", "eslint:recommended", "@vue/prettier"],
parserOptions: {
parser: "babel-eslint"
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off"
}
};