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
2020-09-27 11:02:02 +08:00

15 lines
355 B
JavaScript

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"
}
};