2
0
mirror of https://github.com/frappe/books.git synced 2025-01-22 22:58:28 +00:00
books/.eslintrc.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
560 B
JavaScript
Raw Normal View History

2018-06-01 18:05:51 +05:30
module.exports = {
root: true,
2022-01-24 12:49:27 +05:30
2018-06-01 18:05:51 +05:30
env: {
node: true,
2018-06-01 18:05:51 +05:30
},
2022-01-24 12:49:27 +05:30
2018-06-01 18:05:51 +05:30
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',
},
2022-01-24 12:49:27 +05:30
parserOptions: {
parser: '@typescript-eslint/parser',
2022-01-24 12:49:27 +05:30
},
extends: ['plugin:vue/vue3-essential', '@vue/typescript'],
};