2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +00:00
books/.eslintrc.js

28 lines
568 B
JavaScript
Raw Normal View History

2018-06-01 12:35:51 +00:00
module.exports = {
root: true,
2022-01-24 07:19:27 +00:00
2018-06-01 12:35:51 +00:00
env: {
node: true
2018-06-01 12:35:51 +00:00
},
2022-01-24 07:19:27 +00:00
extends: ["plugin:vue/essential"],
2022-01-24 07:19:27 +00:00
2018-06-01 12:35:51 +00:00
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",
2021-11-21 13:38:04 +00:00
"vue/multi-word-component-names": "off",
"vue/no-useless-template-attributes": "off",
},
2022-01-24 07:19:27 +00:00
parserOptions: {
2022-01-24 07:19:27 +00:00
parser: '@typescript-eslint/parser'
},
'extends': [
'plugin:vue/essential',
'@vue/typescript'
]
};