2
0
mirror of https://github.com/frappe/books.git synced 2024-12-22 19:09:01 +00:00
books/.eslintrc.js

23 lines
524 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/multi-word-component-names': 'off',
'vue/no-useless-template-attributes': 'off',
},
parserOptions: {
parser: '@typescript-eslint/parser',
},
extends: ['plugin:vue/vue3-essential', '@vue/typescript'],
};