2
0
mirror of https://github.com/frappe/books.git synced 2024-12-24 11:55:46 +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'
]
};