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

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