2
0
mirror of https://github.com/tenrok/vue-cron-editor-bootstrap.git synced 2026-06-17 19:30:34 +03:00
Files
vue-cron-editor-bootstrap/.eslintrc.js
T
Alex Freitas cd320bb0ac Firts version
2020-05-21 15:42:12 -03:00

26 lines
637 B
JavaScript

module.exports = {
root: true,
env: {
node: true
},
extends: ["plugin:vue/essential", "@vue/prettier", "@vue/typescript"],
rules: {
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
},
parserOptions: {
parser: "@typescript-eslint/parser"
},
overrides: [
{
files: [
"**/__tests__/*.{j,t}s?(x)",
"**/tests/unit/**/*.spec.{j,t}s?(x)"
],
env: {
jest: true
}
}
]
};