2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 03:29:00 +00:00
books/.eslintrc.js
2023-01-31 13:36:03 +05:30

24 lines
560 B
JavaScript

module.exports = {
root: true,
env: {
node: true,
},
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/no-mutating-props': 'off',
'vue/multi-word-component-names': 'off',
'vue/no-useless-template-attributes': 'off',
},
parserOptions: {
parser: '@typescript-eslint/parser',
},
extends: ['plugin:vue/vue3-essential', '@vue/typescript'],
};