2
0
mirror of https://github.com/frappe/books.git synced 2024-11-08 23:00:56 +00:00
books/.eslintrc.js
2022-01-24 12:49:27 +05:30

28 lines
568 B
JavaScript

module.exports = {
root: true,
env: {
node: true
},
extends: ["plugin:vue/essential"],
rules: {
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
"arrow-body-style": "off",
"prefer-arrow-callback": "off",
"vue/multi-word-component-names": "off",
"vue/no-useless-template-attributes": "off",
},
parserOptions: {
parser: '@typescript-eslint/parser'
},
'extends': [
'plugin:vue/essential',
'@vue/typescript'
]
};